In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about what is automation test. Many people may not know much about it. In order to let you know more, Xiaobian summarizes the following contents for you. I hope you can gain something according to this article.
So what automation?
Automation is difficult to define, but it exists in the corners of our lives. In fact, understanding automation is not difficult, I think as long as you are not mentally retarded can understand. For example:
Traditional farming VS automated farming
2. Traditional seeding VS automatic seeding
The picture above fully illustrates the difference between manual farming and automatic farming, so let's try to summarize the characteristics of traditional farming from the picture above: repetition, inefficiency and fallibility.
First, plowing, sowing, and harvesting are repetitive tasks that do not change at all, and this repetition fits perfectly into the script of automated farming.
Secondly, traditional farming practices are inefficient. In the face of today's large-scale and fast-paced farming needs, the productivity of manual farming obviously cannot keep up with the increasing dietary needs. It is impossible to complete the task manually.
Finally, although humans are primates of all things, they are prone to mistakes in the face of repetitive, boring, large-scale agricultural work, and automation and its operations can be both professional and standard.
From the above example we can basically get, machine + settings = automation
As the name suggests, I think applying automation techniques to web testing is automated testing.
So question 1 comes, what are the characteristics of test work suitable for automation?
Application of Automation in Testing
We all know that not all tests are suitable for automated testing, so what tests are suitable for automated testing in our overall test flow?
The answer to this question is simple: only tests that conform to automated characteristics are suitable for automated testing.
Chronologically, the testing flow for most of our projects should be as follows: smoke testing → new requirements testing → compatibility testing → regression testing.
Smoke testing: an important starting point for the testing process
New requirements testing: learning and exploring the most concentrated tests during testing
Compatibility testing: Compatibility testing of products on different browsers
Regression testing: testing whether stable functionality is affected by new functionality
Combined with the characteristics of repeated, inefficient and error-prone automation, we can know that smoke testing and new requirements testing are not suitable for automated testing because of unstable requirements and changes. Regression testing and compatibility testing, the former needs to execute a large number of regression test cases, the latter needs to repeat these cases in different browsers, fully in line with the characteristics of automated application scenarios, we can fully use automated testing tools, these repeated, inefficient, error-prone work done more efficiently and professionally.
Here's an example of how automated testing makes regression testing more efficient:
1. Open Netease Cloud Classroom Home Page
2. Completion of landing
3. Navigation bar enters programming language
4, select [with learning] → [with Java learning programming]
5. Browse chapters
6. Select the section [Priority of Calculation]
7. Verify that the chapter title is the selected chapter
From this, we can see that automated testing can really improve our efficiency in testing work, saving a lot of manpower and time.
How to choose automated testing tools?
Through the above example, we have a preliminary understanding of the power of automated testing, just like programming languages and other Internet technologies bloom, WEB automated testing tools are also a variety of, so how to choose automated testing tools as a beginner of automated testing?
Of course, inside things do not know ask Baidu, foreign affairs do not know ask Google, with the help of search engine power we can find the answer we want, but I suggest you use the following keywords search: Web+Automation+Test+Tools, as for why in English, we can try to compare the differences in search results, after all Baidu... Right...
To be honest, when you search, there will be a lot of tools recommended. In the end, there must be a strict standard to select which tools to use. My own selection criteria are as follows:
1. The development trend should rise steadily
2. Have an active community to discuss
3, if open source software
Support mainstream programming languages (Java, Python)
5. Support mainstream browsers (Google, IE, Firefox, etc.)
In summary, Selenium is the best choice.
After reading the above, do you have any further understanding of what is an automation test? If you still want to know more knowledge or related content, please pay attention to the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.