当前位置:网站首页>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
边栏推荐
- Talking about cookies of client storage technology
- How does the computer save web pages to the desktop for use
- 被奉为经典的「金字塔原理」,教给我们哪些PPT写作技巧?
- Win11U盘拒绝访问怎么办?Win11U盘拒绝访问的有效解决方法
- Win11共享文件打不开怎么办?Win11共享文件打不开的解决方法
- Win11无法将值写入注册表项如何解决?
- Flet tutorial 06 basic introduction to textbutton (tutorial includes source code)
- Managed service network: application architecture evolution in the cloud native Era
- 易周金融 | Q1保险行业活跃人数8688.67万人 19家支付机构牌照被注销
- 二叉树的四种遍历方式以及中序后序、前序中序、前序后序、层序创建二叉树【专为力扣刷题而打造】
猜你喜欢
idea配置标准注释
Dynamic memory management
二叉树的四种遍历方式以及中序后序、前序中序、前序后序、层序创建二叉树【专为力扣刷题而打造】
电脑怎么保存网页到桌面上使用
分析伦敦银走势图的技巧
Common verification rules of form components -1 (continuously updating ~)
Alibaba testers use UI automated testing to achieve element positioning
Flet tutorial 05 outlinedbutton basic introduction (tutorial includes source code)
Jiuqi ny8b062d MCU specification /datasheet
Flet教程之 06 TextButton基础入门(教程含源码)
随机推荐
The problem of the maximum difference between the left and right maxima
Ziguang zhanrui completed the first 5g R17 IOT NTN satellite on the Internet of things in the world
LeetCode 871. Minimum refueling times
什么是区块哈希竞猜游戏系统开发?哈希竞猜游戏系统开发(案例成熟)
Huawei cloud store homepage banner resource bit application
Qt五子棋人机对战画棋子之QPainter的使用误区总结
浏览器渲染页面过程
黄金k线图中的三角形有几种?
工厂从自动化到数字孪生,图扑能干什么?
Advantages of semantic tags and block level inline elements
What ppt writing skills does the classic "pyramid principle" teach us?
Idea plug-in
Record the online bug solving list (unfinished to be continued 7/4)
Idea case shortcut
Win11亮度被锁定怎么办?Win11亮度被锁定的解决方法
LeetCode 871. 最低加油次数
电脑页面不能全屏怎么办?Win11页面不能全屏的解决方法
奏响青春的乐章
Six stones programming: about code, there are six triumphs
Jekins initialization password not found or not found