当前位置:网站首页>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 .”
边栏推荐
- Network security - Trojan horse
- 网络安全-密码破解
- C language course information management system
- [leetcode] 797 and 1189 (basis of graph theory)
- [data mining] task 2: mimic-iii data processing of medical database
- 小程序开发的部分功能
- Reprint some Qt development experience written by great Xia 6.5
- 网络安全-NAT网络地址转换
- Common English Vocabulary
- STM32 - vibration sensor control relay on
猜你喜欢
海量数据冷热分离方案与实践
【數據挖掘】任務6:DBSCAN聚類
Performance test | script template sorting, tool sorting and result analysis
[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio
[data mining] task 3: decision tree classification
Telecom Customer Churn Prediction challenge
¢ growth path and experience sharing of getting an offer
LeetCode 987. Vertical order transverse of a binary tree - Binary Tree Series Question 7
View of MySQL
SSL flood attack of DDoS attack
随机推荐
"Jetpack - livedata parsing"
CF1617B Madoka and the Elegant Gift、CF1654C Alice and the Cake、 CF1696C Fishingprince Plays With Arr
Certaines fonctionnalités du développement d'applets
STM32 - introduction of external interrupts exti and NVIC
【Camera专题】手把手撸一份驱动 到 点亮Camera
Network security - virus
疫情当头,作为Leader如何进行团队的管理?| 社区征文
mysql
Sweet talk generator, regular greeting email machine... Open source programmers pay too much for this Valentine's day
QTableWidget懒加载剩内存,不卡!
High resolution network (Part 1): Principle Analysis
Wireshark data analysis and forensics a.pacapng
查询商品案例-页面渲染数据
Function definition and call, this, strict mode, higher-order function, closure, recursion
并发编程的三大核心问题 -《深入理解高并发编程》
[data mining] task 1: distance calculation
GDB 在嵌入式中的相关概念
Scheme and practice of cold and hot separation of massive data
Smart management of Green Cities: Digital twin underground integrated pipe gallery platform
7-25 read numbers (loop switch)