当前位置:网站首页>Test automation and automated testing of test strategy practice

Test automation and automated testing of test strategy practice

2021-08-10 08:14:40 Test Mengmeng


“ test automation ” And “ automated testing ” It's a common sense , I don't want to be literal , But to illustrate the two automated testing strategies , I use these two names to distinguish them for the time being , Like in Agile Development ” Do the right thing ” and ” The right way to do things ” Same for distinguishing two ways .

The first one is : test automation , Automate test execution for testing

This strategy mainly means that the team has its own various types of manual tests , For example, manual acceptance testing , Manual end-to-end testing , Manual exploratory testing , Manual pressure test , Manual security testing, etc . And then when the team can no longer afford the time and labor costs of manual testing , Think about how to reduce the cost of time and manpower , And automate these existing tests , Can effectively reduce the cost of manual testing .

Due to the fast time requirement and the insufficient ability of the tester, etc , So the goal in this case is to run manual test automation quickly , Test automation for testing . Therefore, the general solution is to choose some easy-to-use automated testing tools or automated testing framework , The main work is to configure and manually operate automation tools , And write a few scripts , such as Selenium IDE, Browsersync, JMeter,SOAPUI/Postman etc. , It can be called Testing as Tool.

The second kind : automated testing , For efficient execution , Automated testing easy to reuse and maintain

This strategy means that the team is fully aware of the advantages of automated testing , And have enough will and technical ability , Willing to invest enough time and manpower , And consider the test strategy and test architecture of the whole system as a whole , Thus, more effective testing can be realized . Then select as powerful as possible , And support the automatic test framework of secondary development or develop its own automatic test framework . Mainly through the way of writing code to build automatic test system , The main work is to write code , such as Selenium WebDriver,APPIUM,Gatling,Rest-Assured etc. , It can be called Testing as Code.

Four quadrants of automated testing strategy :

 Insert picture description here

Automatic test strategy in reality : blend

Test automation and automated testing here are just two extreme test automation strategies , There is no one better , It's just who's better . In reality, many projects are often interwoven for use , It's just that different teams and different companies use different proportions , The proportion of general test automation with poor technical ability is larger , The proportion of general automatic test with strong technical ability is larger :

For example, a small innovation team , Products are just starting , Start due to time and cost constraints , Only test automation , As system complexity increases and teams grow , Gradually began to think about how to develop automatic test system according to the characteristics of their own system , Then according to their own resources, we can gradually realize the automatic testing at all levels , But it's still based on a mixture of tools and code .

For example, a large traditional software system team , The product is mature , Have a large number of manual or tool assisted test automation . But due to the increase of labor cost and test time cost , We have to automate some use cases that are relatively easy to automate by coding , Then through the output of automation, we can think about the whole automation test strategy , According to the importance of the subsystem and the priority of the test level , Push the test of the important subsystem with high priority to the automatic test of the whole code level when the time and labor cost allow .

For example, a large new Internet system team , Because the technical ability of the team is very strong , Strong sense of test strategy and test architecture , So when we think about automated testing, we first think about what kind of automated testing framework to choose to write automated testing , And select the appropriate test framework according to the architecture of your project , Develop by yourself if you don't have the right one . And then for some systems or test types that are not very important , Select testing tools to assist manual testing .

When you understand and realize that there are two limit classifications for automated testing strategies , According to the actual situation of the project , And effectively define the entire automated test strategy . For example, it can be based on tools , Code assisted ; Or code based , Take tools as auxiliary ; Or all tools ; Or full code . Whatever you choose is best to reduce costs and enhance test effectiveness , Automation testing for reusability and maintainability , Try to avoid test automation for testing .


Last : Welcome everyone to follow the official account :【 Sad spicy bar 】, Take one 300 page pdf Document Python Summary of the core knowledge of automation test engineer !

Most of the information in the official account is the knowledge point that the interviewer will ask when interviewed , It also includes a lot of common knowledge in the testing industry , It includes basic knowledge 、Linux necessary 、Shell、 The principles of the Internet 、Mysql database 、 Special topic of bag capturing tools 、 Interface testing tool 、 Test advanced -Python Programming 、Web automated testing 、APP automated testing 、 Interface automation testing 、 Testing advanced continuous integration 、 Test architecture development test framework 、 Performance testing 、 Safety test, etc. .

If you have a lot of confusion in the test , Then the software testing technology exchange group I created will be a useful community for you to contact good teachers and friends , Peers may bring you some practical help and breakthrough . Group :902061117 You also want to know how your peers are getting rich !

If it helps you a little , Everyone 「 give the thumbs-up 」 Is the biggest driving force of Xiaobian's creation , See you in the next article !

Good article recommends :

Package as 1 Years working experience as a test engineer , My advice to him before the interview is as follows

interviewer : Work for three years , And a preliminary test ? I'm afraid the title of your software test engineer should be enclosed in double quotation marks …

“ One year in the job , The automated software test hired by high salary was discouraged .”

The man who leaves work on time , Promoted before me …

Summary of automated testing
 Insert picture description here

版权声明
本文为[Test Mengmeng]所创,转载请带上原文链接,感谢
https://chowdera.com/2021/08/20210810081223799C.html

随机推荐