当前位置:网站首页>Interface automation testing - how to improve the stability of interface automation scripts?
Interface automation testing - how to improve the stability of interface automation scripts?
2022-07-22 14:28:00 【The evening wind blows】
1、 How to improve the stability of interface automation script ?
Improve the stability of scripts , We should meet the requirements of stability , But also compatible with different environments 、 Platform, etc
stability , That is, automated scripts can be reused , And the script does not report errors , Except for system error
Compatibility , That is, it can be on different platforms 、 Operation in environment
2、 resolvent
1、 In order to run the script repeatedly , Before operation 、 And data cleaning after running , It is divided into pre cleaning 、 Post cleaning
2、 Join the failure rerun mechanism , In case of failure , Set number of retries
3、 Separate the test environment , Flexible configuration of operating environment
4、Windows、Linux File paths in the environment should be compatible , Because the two systems get file paths in different ways
5、 Exception capture processing , If there is an exception, skip 、 Or mark
6、 Ensure the integrity of use cases 、 independence , Couplable , Can operate independently
7、 Interfaces that rely on third-party services need to set a reasonable timeout
边栏推荐
- Ardunio開發——水泵操作過程
- Controllable text generation series-a survey of controllable text generation using transformer based pre trained
- Parker hydraulic oil pump pvp3336r2m
- When wechat is opened, it supports message notification banners to attract hot discussion; The cloud services of Google and Oracle were offline due to the high temperature weather in the UK; Google re
- Ardunio开发——舵机控制
- 5. ZABBIX create a custom key
- 08.Octave 语言的使用-控制语句、绘制图线和其他命令
- ABAP grammar foundation 4
- 使用win32 api读文件
- Which Hong Kong cloud server or physical server is more prone to downtime?
猜你喜欢
What is the "asynchronous request reply" mode? How to realize programming?
Conception d'un système de consommation de supermarchés sans pilote basé sur stm32
08.Octave 语言的使用-控制语句、绘制图线和其他命令
【大型电商项目开发】线程池-异步(CompletableFuture)-48
Concurrency opening -- take you from 0 to 1 to build the cornerstone of concurrency knowledge system
BERTopic
字节跳动测试岗,前面都过了,最后一面HR天坑...跟我说这话
DOM -- event chain (capture target and capture)
测试的分类
Grpc MagicOnion库 之 客户端和服务端 (案例版)
随机推荐
9. ZABBIX SNMP monitoring
【大型电商项目开发】线程池-异步(CompletableFuture)-48
飞行员兄弟
OA project introduction & Conference release
软件测试禅道是什么?如何使用?
ABAP grammar basics 3
Design of consumption system of unmanned Supermarket Based on stm32
使用 @FastNative 和 @CriticalNative 的区别
面试遇到的问题
Move forward in the summary of half a month's talk
找100以内的素数,求约数,求两个数的最大公约数
Redis分布式锁,没它真不行!
The way of practicing and fighting strange things: detailed explanation of sym in ES6
Classification de l'index MySQL et exemples d'utilisation
AttributeError: ‘str‘ object has no attribute ‘param_ group‘
【每日一题】814. 二叉树剪枝
Ardunio开发——舵机控制
Pilot brother
字节跳动测试岗,前面都过了,最后一面HR天坑...跟我说这话
实习打怪之路:ES6中的Sym详解