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

边栏推荐
- [error record] navigator operation requested with a context that does not include a naviga
- 技术大佬准备就绪,话题C位由你决定
- 网络安全-中间人攻击
- Problems encountered in small program development of dark horse shopping mall
- In the face of difficult SQL requirements, HQL is not afraid
- [机缘参悟-36]:鬼谷子-飞箝篇 - 面对捧杀与诱饵的防范之道
- 网络安全-信息收集
- [AUTOSAR cantp] -2.11-uds diagnostic response frame data segment data padding data filling and data optimization data optimization (Theory + configuration)
- Analysis, use and extension of open source API gateway apisex
- How to refresh the opening amount of Oracle ERP
猜你喜欢

LeetCode 987. Vertical order transverse of a binary tree - Binary Tree Series Question 7

自定义组件、使用npm包、全局数据共享、分包

【Camera专题】Camera dtsi 完全解析
![[camera topic] how to save OTP data in user-defined nodes](/img/3e/b76c4d6ef9ab5f5b4326a3a8aa1c4f.png)
[camera topic] how to save OTP data in user-defined nodes

并发编程的三大核心问题 -《深入理解高并发编程》

A simple tool for analyzing fgui dependencies

网络安全-漏洞与木马

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

Qtablewidget lazy load remaining memory, no card!

Leetcode skimming questions_ Sum of two numbers II - enter an ordered array
随机推荐
Technology sharing | Frida's powerful ability to realize hook functions
[Appendix 6 Application of reflection] Application of reflection: dynamic agent
[error record] an error is reported in the fluent interface (no mediaquery widget ancestor found. | scaffold widgets require a mediaquery)
Network security - DNS spoofing and phishing websites
Tâche 6: regroupement DBSCAN
Introduction to kotlin collaboration
Introduction to flask tutorial
Types of map key and object key
Niuniu's ball guessing game (dynamic planning + prefix influence)
网络安全-漏洞与木马
转载收录6.5大侠写的部分Qt开发经验
Cloud native topic sorting (to be updated)
[camera topic] turn a drive to light up the camera
Performance test | script template sorting, tool sorting and result analysis
Network security - the simplest virus
疫情当头,作为Leader如何进行团队的管理?| 社区征文
C language course information management system
[leetcode] 797 and 1189 (basis of graph theory)
网络安全-防火墙
openresty 缓存