当前位置:网站首页>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 .”

边栏推荐
- Certaines fonctionnalités du développement d'applets
- STM32 - introduction of external interrupts exti and NVIC
- Vant implements a simple login registration module and a personal user center
- 网络安全-钓鱼
- 网络安全-NAT网络地址转换
- 【数据挖掘】任务3:决策树分类
- 【数据挖掘】任务2:医学数据库MIMIC-III数据处理
- leetcode刷题_两数之和 II - 输入有序数组
- 网络安全-浅谈安全威胁
- QTableWidget懒加载剩内存,不卡!
猜你喜欢

One of the C language practical projects is greedy snake
![[QT] encapsulation of custom controls](/img/33/aa2ef625d1e51e945571c116a1f1a9.png)
[QT] encapsulation of custom controls
![[data mining] task 1: distance calculation](/img/72/a63cdfe32a7c438acf48a069d9bba1.png)
[data mining] task 1: distance calculation
![[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio](/img/32/fa1263d9a2e5f77b0434fce1912cb2.gif)
[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio

树形结构数据的处理

【数据挖掘】任务1:距离计算

【數據挖掘】任務6:DBSCAN聚類

Three core issues of concurrent programming - "deep understanding of high concurrent programming"

【QT】自定义控件的封装

View of MySQL
随机推荐
[data mining] task 4:20newsgroups clustering
Sweet talk generator, regular greeting email machine... Open source programmers pay too much for this Valentine's day
疫情当头,作为Leader如何进行团队的管理?| 社区征文
[Appendix 6 Application of reflection] Application of reflection: dynamic agent
[camera special topic] Hal layer - brief analysis of addchannel and startchannel
Network security - cracking system passwords
简易分析fgui依赖关系工具
STM32 - vibration sensor control relay on
Network security - man in the middle attack
[shutter] animation animation (basic process of shutter animation | create animation controller | create animation | set value listener | set state listener | use animation values in layout | animatio
Network security - dynamic routing protocol rip
Steps to obtain SSL certificate private key private key file
【数据挖掘】任务3:决策树分类
网络安全-破解系统密码
网络安全-NAT网络地址转换
Network security ACL access control list
网络安全-扫描与密码爆破2
STM32 - GPIO input / output mode
The thread reuse problem of PageHelper using ThreadLocal, did you use it correctly?
[camera topic] how to save OTP data in user-defined nodes