当前位置:网站首页>Ten years' experience of byte test engineer directly hits the pain point of UI automation test
Ten years' experience of byte test engineer directly hits the pain point of UI automation test
2022-07-04 20:47:00 【Xiaowu knock code】
When looking for a job, we need to have experience in automated testing , From this point of view, testers will not be embarrassed to say that they are doing software testing . Most testers also use automated testing tools 、 Recording and playback 、 The test script 、 Development of automated testing for gadgets , Then slowly contact UI automation 、 Interface automation 、 Continuous integration , Finally, build an automated testing framework system .
Most beginners of testing are probably most exposed to automated testing UI It's automated , Have also used mobile terminals Uiautomator、Appium UI Automation framework 、PC Internet interface related Selenium、Robot Framework UI Automation framework , Subconsciously, I think UI Automated testing is simple . But after using it for a period of time, there are mixed emotions , Especially when it is really used in work, it is immediately acclimatized , The time of developing and maintaining scripts is much longer than that of manual testing , Do more harm than good , Finally, from regression to manual testing .
If you want to UI Automation can be used in practical work , The following pain points must be solved , otherwise UI Automated testing still has a long way to go .
1、 Demand is unstable , Frequently changed items
UI The biggest challenge of automated testing is the change of requirements , If the interface changes frequently , The script needs to be rewritten , The frequent changes of interface requirements lead to the script writing speed can not catch up with the changes of requirements , that UI Automation exists in name only , therefore UI Automated testing is especially suitable for stable requirements 、 Projects that will not change frequently . The project requirements of agile development are unstable , Changes in requirements often lead to changes in the interface , At the same time, the project cycle of agile development is short , Therefore, agile development projects are not suitable for UI automation .
2、 Develop projects with short maintenance cycles
For one-time development 、 Short cycle projects , in consideration of UI Input output ratio of automation , Not suitable for UI automated testing .UI The benefits of automation are mainly reflected in multiple rounds of testing , Imagine that a project with a short maintenance cycle has fewer test rounds , Such as interface test 1 To 2 Just turn , In this way, manual testing can be used . At the same time, the development and debugging of automated scripts itself requires a certain amount of time , If the project cycle is short , There is not enough time to support script development , There is no need for automated testing .
3、 The development of the tested system is not standardized , Testability requirements are not clear
UI Automated testing is actually simulating manual clicking , Unlike the human eye can directly find the control that needs to be clicked , The program is different , We need to find the control to click in advance , Then let the program click to complete the simulated manual operation . This requires defining some columns of specifications for automated testing before project development , Development engineers follow the specifications when developing ,UI Automation can go on . For example, there is no unique... Defined for the button control id Or text description , The control cannot be found when the automation script is written . If the development often changes the definition of the control casually before different versions , The script that can be executed before will not run correctly later , Need real-time maintenance , Bring high labor costs and become inefficient . Similarly, there are interface parameters in the process of interface automation testing .
What kind of project is suitable for UI Automated testing ? The following list can be used for reference : Demand is stable and changes infrequently ; Frequent regression validation is required ;UI Interface stability 、 The interface control definition specification is testable ; Develop projects with long maintenance cycles ; The project schedule pressure is small ; Large companies and platforms ; Most testers in the testing department have script development ability .
At present ,UI Testing is the testing link that consumes the most manpower of the testing team , Most testers' daily work is UI test . therefore UI Automation is very suitable for solving simple 、 mechanical 、 Repetitive tasks , Increase test coverage .
UI Automated testing is more than just writing test scripts , Design is also required , It is not only necessary to consider the execution efficiency of hundreds of use cases , Maintenance costs also need to be considered , Correctness of execution results . We need to understand ,UI Automated testing cannot replace manual testing , It is also difficult to reduce the number of testers , We should not blindly advocate and pursue UI automated testing .
At the end :
No winter will pass , No spring will not come , In the past 2022 It's an extraordinary year for people all over the world , Everyone is fighting a strong and brave war against the epidemic , Let's clap our hands together here ,2023 Years have come as promised , Set goals and keep growing .
Finally, thank everyone who reads my article carefully , The following online link is also a very comprehensive one that I spent a few days sorting out , I hope it can also help you in need !
These materials , For those who want to change careers 【 software test 】 For our friends, it should be the most comprehensive and complete war preparation warehouse , This warehouse also accompanied me through the most difficult journey , I hope it can help you ! Everything should be done as soon as possible , Especially in the technology industry , We must improve our technical skills . I hope that's helpful ……
If you don't want to grow up alone , Unable to find the information of the system , The problem is not helped , If you insist on giving up after a few days , You can click the small card below to join our group , We can discuss and exchange , There will be various software testing materials and technical exchanges .
Click the small card at the end of the document to receive it |
Typing is not easy , If this article is helpful to you , Click a like, collect a hide and pay attention , Give the author an encouragement . It's also convenient for you to find it quickly next time .
Self study recommendation B Stop video :
Zero basis transition software testing :25 Days from zero basis to software testing post , I finished today , Employment tomorrow .【 Include features / Interface / automation /python automated testing / performance / Test Development 】
Advanced automation testing :2022B The first station is super detailed python Practical course of automated software testing , Prepare for the golden, silver and four job hopping season , After advanced learning, it soared 20K
边栏推荐
- After inserting a picture into word, there is a blank line above the picture, and the layout changes after deletion
- Flet tutorial 07 basic introduction to popupmenubutton (tutorial includes source code)
- 企业数字化转型最佳实践案例:基于云的数字化平台系统安全措施简介与参考
- Win11无法将值写入注册表项如何解决?
- Automatic insertion of captions in word
- Reinforcement learning - learning notes 2 | value learning
- 太方便了,钉钉上就可完成代码发布审批啦!
- Browser render page pass
- go语言笔记(4)go常用管理命令
- Six stones programming: about code, there are six triumphs
猜你喜欢
Win11怎么搜索无线显示器?Win11查找无线显示器设备的方法
What should I do if my computer sharing printer refuses access
同事的接口文档我每次看着就头大,毛病多多。。。
Practical examples of node strong cache and negotiation cache
看腾讯大老如何做接口自动化测试
Aiming at the "amnesia" of deep learning, scientists proposed that based on similarity weighted interleaved learning, they can board PNAS
C server log module
NLP, vision, chip What is the development direction of AI? Release of the outlook report of Qingyuan Association [download attached]
托管式服务网络:云原生时代的应用体系架构进化
Win11U盘拒绝访问怎么办?Win11U盘拒绝访问的有效解决方法
随机推荐
Talking about cookies of client storage technology
语义化标签的优势和块级行内元素
ICML 2022 | meta proposes a robust multi-objective Bayesian optimization method to effectively deal with input noise
工厂从自动化到数字孪生,图扑能干什么?
idea大小写快捷键
Ziguang zhanrui completed the first 5g R17 IOT NTN satellite on the Internet of things in the world
JS closure
Four traversal methods of binary tree, as well as the creation of binary tree from middle order to post order, pre order to middle order, pre order to post order, and sequence [specially created for t
B2B mall system development of electronic components: an example of enabling enterprises to build standardized purchase, sale and inventory processes
面对同样复杂的测试任务为什么大老很快能梳理解决方案,阿里十年测试工程师道出其中的技巧
idea插件
tcp为啥是三次握手和四次挥手
Jiuqi ny8b062d MCU specification /datasheet
[ismb2022 tutorial] the picture shows the precision medicine of learning. Marinka zitnik, Harvard University, keynote speaker, with 87 ppt
LeetCode 871. 最低加油次数
Fleet tutorial 08 introduction to AppBar toolbar Basics (tutorial includes source code)
Lingyun going to sea | 10 jump &huawei cloud: jointly help Africa's inclusive financial services
What if the brightness of win11 is locked? Solution to win11 brightness locking
Aiming at the "amnesia" of deep learning, scientists proposed that based on similarity weighted interleaved learning, they can board PNAS
Reinforcement learning - learning notes 2 | value learning