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 .
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 ：
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 ！
- P1091 合唱队形 (DP＆LIS)
- P1057 传球游戏 （DP）
- P1198 [JSOI2008]最大数 （逆ST）
- P1006 传纸条 (双状态DP）
- P1004 方格取数 (双状态DP＆四维DP）
- P1972 [SDOI2009]HH的项链(离线＆BIT)
- Competitive employment ppt - Park ppt
- P1162 filling color (DFS)
- P1028 calculation of number (recursive & recursive)
- P1017 M-ary conversion (negative M-ary & Number Theory)
- P1019 word Solitaire (DFS & string matching)
- P1007 single wooden bridge (simple greed)
- P1022 improvement of calculator (Analog & string)
- P1031 divide cards equally (greedy)
- P1042 table tennis (simulation)
- P1051 who won the most Scholarships (simple sort)
- The syntax of file name, directory name or volume label is incorrect. I don't know how to find it?
- P1067 polynomial output (string & details)
- P1079 Vigen è re password (simple analog & string)
- P1086 peanut picking (Greed & Simulation)
- P1087 FBI tree (DFS & binary tree)
- P1157 combined output (DFS)
- P1023 tax and subsidy problems (number theory & inequality)
- P1024 solution of univariate cubic equation (dichotomy & Violence & Newton iteration)
- P1025 division of number (DFS)
- P1033 free fall (number theory)
- P1037 production (high precision & DFS)
- P1045 Mason number (number theory & high precision)
- P1091 chorus formation (DP & LIS)
- P1056 row seats (greedy & sort)
- P1057 passing game (DP)
- P1198 [jsoi2008] maximum number (inverse st)
- P1006 paper transfer note (dual state DP)
- P1004 grid access (two-state DP & four-dimensional DP)
- P1972 [sdoi2009] HH's Necklace (offline & bit)