当前位置:网站首页>Answers to ten questions about automated testing software testers must see
Answers to ten questions about automated testing software testers must see
2022-07-03 01:51:00 【Software testing Jun】

About the concept of automated testing , I will introduce it from the following ten points !
1. What is automated testing
2. Common test automation tools
3. The difference between automation tools and automation frameworks
4. Applicable objects of automated testing
5. Automated test methods
6.UI automation
7. Interface automation
8. How to implement automation
9. The advantages of automated testing
10. Why automation implementation failed
One 、 What is automated testing ?
Automated testing means , Automation of software testing , Run the application or system in the preset state , Preset conditions include normal and abnormal , Finally, evaluate the operation results . It is a process of transforming human driven test behavior into machine execution .
Two 、 What are the common test automation tools ?
- QTP: Functional automated testing tools , fit BC and CS frame
- selenium:WEB Automated test tool ,BC frame
- Ration Robot: Functional automated testing tools ,CS、BS frame
- jmeter: Performance based interface testing tool ,CS、BS frame
- appium:APP Automated test tool , Less commonly used
- soapu: Interface automation testing tools , It is also a functional automated testing tool
3、 ... and 、 The difference between automation tools and automation frameworks
- Automated testing framework can generally be divided into two levels :
- The upper layer is to manage the development of the whole automatic test 、 Perform... And maintenance , In a relatively large project , It can play an important role . It can manage the whole automated test , Including the number of times automated test cases are executed 、 Maintenance of test scripts 、 And centralized management of test cases 、 Test report and test task, etc .
- The lower layer is mainly the development of test scripts , Make full use of relevant testing tools , Build test driven , And complete the test business logic .
- From this we can see , Testing tools are only part of the testing framework
- The evolution of automated testing : Testing tools –> Data driven –> Keyword Driven –> The test framework –> Test platform
Four 、 Applicable objects of automated testing
- Prerequisites for implementing automated testing : Demand changes infrequently 、 Project cycle long enough 、 Automated test scripts are reusable , Suitable for automation projects
- Product type project : Product based projects , The new version is an improvement on the old version , Items with little function , The old project must be tested repeatedly, but the new function must be tested again . Regression testing is the strength of automated testing , It can be a good way to verify whether you have introduced new defects , Whether the old defects have been corrected . To some extent, automated testing tools can be called regression testing tools .
- Mechanical and frequent testing : You need to enter the same... Each time 、 A lot of data , And it takes a long time to run in a project .
- After the smoke test, you can start the automated test .
5、 ... and 、 Automated test methods
- Test object :UI、 Interface 、 Code
- Testing process : The system test 、 Integration testing 、 unit testing
- Executive : Testers 、 Developer
6、 ... and 、UI automation
- The maintenance of use cases is large
- Strong page relevance , Must intervene later
- UI The test is suitable for projects with small interface changes
7、 ... and 、 Interface automation
- Can intervene in the early stage of the product
- Use case maintenance is small
- Page relevance is small
- Suitable for small interface changes , Items with frequent interface changes
8、 ... and 、 How to implement automated testing
Automated testing is divided into seven processes , Focus on the first five :
- analysis : Overall grasp the system logic , Analyze the core architecture of the system .
- Design : Design test cases , Test cases should be clear enough , Wide coverage and excellent .
- Realization : Implementation script , There are two requirements : One is assertion , The second is the rational use of parameterization .
- perform : The reason for the exception during the execution of the script needs to be carefully analyzed .
- summary : Analysis of test results , And the summary of testing process is the key to automatic testing .
- maintain : The maintenance of automated test scripts is a difficult but necessary problem .
- analysis : In the process of automated testing, deeply analyze the coverage risk of automated use cases and the maintenance cost of scripts .
Nine 、 The advantages of automated testing
- Reduce the time to repeat tests , Achieve rapid regression testing
- Create a good and reliable test process , Reduce human error
- You can run more and more complicated tests
- You can perform some tests that are difficult or impossible to perform manually
- Better use of resources
- The test has consistency and repeatability
Ten 、 Why automation implementation failed
- Expect too much .
- Have no clear understanding of the benefits and costs
- cost = Realize the cost + Operation and maintenance costs
Friends who like software testing , If my blog helps you 、 If you like my blog content , please “ give the thumbs-up ” “ Comment on ” “ Collection ” One button, three links !
Good article recommends
Interview : First tier cities move bricks ! Another software testing post ,5000 That's enough …
What kind of person is suitable for software testing ?
The man who leaves work on time , Promoted before me …
The test post changes jobs repeatedly , Jump, jump and disappear …
“ One year in the job , The automated software test hired by high salary was discouraged .”

边栏推荐
- Caused by: com. fasterxml. jackson. databind. exc.MismatchedInputException: Cannot construct instance o
- 网络安全-扫描
- NCTF 2018 part Title WP (1)
- One of the C language practical projects is greedy snake
- [技术发展-23]:DSP在未来融合网络中的应用
- Introduction to kotlin collaboration
- mysql
- Network security - dynamic routing protocol rip
- Technology sharing | Frida's powerful ability to realize hook functions
- [data mining] task 5: k-means/dbscan clustering: double square
猜你喜欢
![[data mining] task 6: DBSCAN clustering](/img/af/ad7aa523b09884eee967c6773a613f.png)
[data mining] task 6: DBSCAN clustering

Introduction to kotlin collaboration

Three core issues of concurrent programming - "deep understanding of high concurrent programming"
![[data mining] task 5: k-means/dbscan clustering: double square](/img/e7/678197e703d1a28b765a0e3afd5580.png)
[data mining] task 5: k-means/dbscan clustering: double square
![[understanding of opportunity -36]: Guiguzi - flying clamp chapter - prevention against killing and bait](/img/c6/9aee30cb935b203c7c62b12c822085.jpg)
[understanding of opportunity -36]: Guiguzi - flying clamp chapter - prevention against killing and bait

Performance test | script template sorting, tool sorting and result analysis

【Camera专题】OTP数据如何保存在自定义节点中

His experience in choosing a startup company or a big Internet company may give you some inspiration

树形结构数据的处理

Everything文件搜索工具
随机推荐
Learn BeanShell before you dare to say you know JMeter
LeetCode 987. Vertical order transverse of a binary tree - Binary Tree Series Question 7
Vant 实现简单的登录注册模块以及个人用户中心
[data mining] task 6: DBSCAN clustering
Qtablewidget lazy load remaining memory, no card!
Network security - the simplest virus
Wireshark data analysis and forensics a.pacapng
并发编程的三大核心问题 -《深入理解高并发编程》
Network security - cracking system passwords
Huakaiyun | virtual host: IP, subnet mask, gateway, default gateway
[Appendix 6 Application of reflection] Application of reflection: dynamic agent
【Camera专题】Camera dtsi 完全解析
7-25 read numbers (loop switch)
Processing of tree structure data
[data mining] task 4:20newsgroups clustering
Some functions of applet development
NCTF 2018 part Title WP (1)
[keil5 debugging] debug is stuck in reset_ Handler solution
Network security - firewall
High resolution network (Part 1): Principle Analysis