当前位置:网站首页>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 .”
边栏推荐
- STM32 - Application of external interrupt induction lamp
- 7-25 read numbers (loop switch)
- Wireshark data analysis and forensics a.pacapng
- [QT] encapsulation of custom controls
- 网络安全-漏洞与木马
- 查询商品案例-页面渲染数据
- 【数据挖掘】任务6:DBSCAN聚类
- 小程序開發的部分功能
- String splicing function of MySQL
- [North Asia data recovery] data recovery case of raid crash caused by hard disk disconnection during data synchronization of hot spare disk of RAID5 disk array
猜你喜欢
[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio
[shutter] animation animation (animatedwidget animation use process | create animation controller | create animation | create animatedwidget animation component | animation operation)
Network security - vulnerabilities and Trojans
7-25 read numbers (loop switch)
Learn BeanShell before you dare to say you know JMeter
[camera topic] turn a drive to light up the camera
[North Asia data recovery] data recovery case of raid crash caused by hard disk disconnection during data synchronization of hot spare disk of RAID5 disk array
【Camera专题】手把手撸一份驱动 到 点亮Camera
LeetCode 987. Vertical order transverse of a binary tree - Binary Tree Series Question 7
ByteDance data Lake integration practice based on Hudi
随机推荐
Wireshark data analysis and forensics a.pacapng
[error record] the shutter component reports an error (no directionality widget found. | richtext widgets require a directionality)
Network security NAT network address translation
传输层 TCP主要特点和TCP连接
[untitled]
[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
Function definition and call, this, strict mode, higher-order function, closure, recursion
Virtual list
Network security - cracking system passwords
PS去除水印详解
Network security - talking about security threats
leetcode刷题_两数之和 II - 输入有序数组
[data mining] task 1: distance calculation
网络安全-openvas
String splicing function of MySQL
网络安全-动态路由协议RIP
【数据挖掘】任务2:医学数据库MIMIC-III数据处理
Everything file search tool
After reading this article, I will teach you to play with the penetration test target vulnhub - drivetingblues-9
网络安全-木马