当前位置:网站首页>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
边栏推荐
- 字节测试工程师十年经验直击UI 自动化测试痛点
- Form组件常用校验规则-1(持续更新中~)
- Write it down once Net analysis of thread burst height of an industrial control data acquisition platform
- Why is TCP three handshakes and four waves
- Flet教程之 07 PopupMenuButton基础入门(教程含源码)
- How to solve the problem that win11 cannot write the value to the registry key?
- 记一次 .NET 某工控数据采集平台 线程数 爆高分析
- 电脑共享打印机拒绝访问要怎么办
- idea插件
- Is it safe for Great Wall Securities to open an account? Stock account opening process online account opening
猜你喜欢

精选综述 | 用于白内障分级/分类的机器学习技术

Understand Alibaba cloud's secret weapon "dragon architecture" in the article "science popularization talent"

工厂从自动化到数字孪生,图扑能干什么?

托管式服务网络:云原生时代的应用体系架构进化

Win11共享文件打不开怎么办?Win11共享文件打不开的解决方法

Jiuqi ny8b062d MCU specification /datasheet

Qt编写物联网管理平台38-多种数据库支持

idea恢复默认快捷键

看腾讯大老如何做接口自动化测试

Ziguang zhanrui completed the first 5g R17 IOT NTN satellite on the Internet of things in the world
随机推荐
[ismb2022 tutorial] the picture shows the precision medicine of learning. Marinka zitnik, Harvard University, keynote speaker, with 87 ppt
What ppt writing skills does the classic "pyramid principle" teach us?
Six stones programming: about code, there are six triumphs
Installation and use of VMware Tools and open VM tools: solve the problems of incomplete screen and unable to transfer files of virtual machines
go语言笔记(2)go一些简单运用
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
What financial products can you buy with a deposit of 100000 yuan?
BFC面试简述
So this is the BGP agreement
浏览器渲染页面过程
idea恢复默认快捷键
Flet教程之 05 OutlinedButton基础入门(教程含源码)
SSRS筛选器的IN运算(即包含于)用法
The problem of the maximum difference between the left and right maxima
二叉树的四种遍历方式以及中序后序、前序中序、前序后序、层序创建二叉树【专为力扣刷题而打造】
奏响青春的乐章
哈希(Hash)竞猜游戏系统开发功能分析及源码
LeetCode 871. 最低加油次数
idea配置标准注释
Related concepts of federal learning and motivation (1)