当前位置:网站首页>4 most common automated test challenges and Countermeasures
4 most common automated test challenges and Countermeasures
2022-04-23 05:16:00 【Fried broad beans eat bouncing beans】
Some people say :“ Chaotic automation will only lead to faster chaos .” Not only faster , And it's more serious 、 Greater chaos . If used properly , Automation can be an amazing productivity booster in the test team and a quality enhancer for the system . The key to automated testing is to use , This is the hardest part of the beginning . below , We'll learn about the most common automated testing challenges and how to deal with them .
Challenge 1: Get management approval
Like any corporate department , Employees should always know what is allowed and not allowed in the budget . Testers may already know the commercial and technical advantages of Automation ( Reduce time to market 、 Increase test coverage and accuracy 、 Reduce testing costs per hour 、 Faster detection of errors, etc ), But how do testers convince the finance department and the head of software development , Buy the necessary time and money for automated testing ?
“ Automated testing can improve productivity and accuracy , This is where a business case must be developed . The cost of a single defect …… Can offset the price of one or more tool licenses .” ——Randall Rice
We agree to Randall Rice Point of view , That is, automation can recover costs . In order to prove to management that the financial returns are considerable , You can show them a simple breakdown of the ROI of automated testing . To others 、 It is also important for other stakeholders to be honest and open , Don't hide the fact that the automation preliminary work and resource demand are large .
Challenge 2: Choose and use the right tools
For a variety of reasons , Many teams failed to pass this stage . They may not know the expertise of specific tools 、 Can't find the ideal tool 、 Toolset coverage is not wide enough, etc .
If you don't have enough basic knowledge about how to use tools , There are several options :
- Take an online course
- Let the tool manufacturer train
- Hire consultants to better master
- outsource
If the existing tools can't meet your needs , Then consider finding a multi tool solution . remember , It's impossible to test everything completely , But you can use tools to test the most important parts .
Last , If the tool cost exceeds the budget , Quickly conduct cost and benefit analysis and show it . This can measure the loss caused by previous errors , And show how much time and money can be saved if you use this tool .
Challenge 3: Determine the startup strategy
well , Now you have all the tools and support to start Automation , But what has been automated ? How did you do it ? The tools themselves don't tell you what to automate , It's just as frustrating as novice parents find out that their child was not born with a parenting manual . It will cultivate a generation of excellent automated testing , Will still be destroyed by it and can no longer be managed ? Yes, of course , We certainly hope it's the former ! But in fact, there is no way to automate everything , Therefore, we must have a strategic vision . There are two ways to help solve this problem : Risk based testing and automation .
Risk based automated testing
It gives priority to testing the components with the greatest risk of failure , If the failure occurs , These components also have the greatest negative consequences . Here we need to consider :
- The economic impact of potential mistakes
- The probability of failure
- Service level agreements (SLA)
- Whether there is property danger
This should provide you with a good way to prioritize automated test cases .
Automated test pyramid
Another highly recommended approach is to follow the automated pyramid . In a recent article , There was a broader discussion on the subject , Here is a brief overview .
The ice cream cone tastes sweet and attractive , But using the ice cream cone method may disrupt the automation process ! Following the ice cream cone method will lead to a high error rate , Because it emphasizes UI Level of Automation , and UI Level uses tests that are more vulnerable to destruction . But if you put your energy into automating unit testing , So in the process of software development , Mistakes can be found almost immediately 、 Eliminate mistakes .
Challenge 4: Set realistic expectations for Automation
No matter how good your tools and processes are , Remember that testing will never be completed . Automated testing is not a panacea for flawed systems , Should not replace non automated testing , Instead, it should be used in conjunction with non automated testing . There are some tests that cannot be automated at all , But there are also automated tests that can find errors that cannot be found by other methods .
Automated testing is actually just automatic checking of the system , However, non automated testing still needs to be done manually . Besides , please remember , The value of testing comes from the information it provides , Not the number or frequency of tests performed . What we care about most is getting the right information , In order to make the best decision when improving the quality of the system .
Ensure that the team and management agree and understand the expected results of the automation scheme , So that we can reach a consensus !
版权声明
本文为[Fried broad beans eat bouncing beans]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230510216114.html
边栏推荐
- Blender程序化地形制作
- Unity C e-learning (IV)
- Routing parameters
- MySQL views the SQL statement details executed by the optimizer
- JSP-----JSP简介
- TypeError: ‘Collection‘ object is not callable. If you meant to call the ......
- 数字化转型失败,有哪些原因?
- 源码剖析Redis中如何使用跳表的
- At pgconf Asia Chinese technology forum, listen to Tencent cloud experts' in-depth understanding of database technology
- Docker installation and mysql5 7 installation
猜你喜欢
Power consumption parameters of Jinbei household mute box series
Detailed explanation of concurrent topics
Simple application of parallel search set (red alarm)
[2021] Spatio-Temporal Graph Contrastive Learning
#define 定义常量和宏,指针和结构体
mariadb数据库的主从复制
5 minutes to understand MySQL row column conversion
工具在数字化转型中扮演了什么样的角色?
4 个最常见的自动化测试挑战及应对措施
Servlet3 0 + event driven for high performance long polling
随机推荐
静态流水线和动态流水线的区别认识
使用zerotier让异地设备组局域网
和谐宿舍(线性dp / 区间dp)
The concept of meta universe is popular. Is virtual real estate worth investing
数据安全问题已成隐患,看vivo如何让“用户数据”重新披甲
Detailed explanation of hregionserver
mysql5. 7. X data authorization leads to 1141
学习笔记:Unity CustomSRP-11-Post Processing---Bloom
Chapter II project scope management of information system project manager summary
Using MySQL with Oracle
MySQL memo (for your own query)
4 个最常见的自动化测试挑战及应对措施
数字化转型失败,有哪些原因?
Independent station operation | Facebook marketing artifact - chat robot manychat
Unity C e-learning (IV)
何时适合进行自动化测试?(下)
5 minutes to understand MySQL row column conversion
2021 年 25 大 DevOps 工具(下)
Day.js 常用方法
configmap