当前位置:网站首页>Interface automated testing - what is the difference between single interface automated testing and business scenario automated testing?
Interface automated testing - what is the difference between single interface automated testing and business scenario automated testing?
2022-07-20 23:46:00 【The evening wind blows】
Tips : When the article is finished , Directories can be generated automatically , How to generate it, please refer to the help document on the right
Preface
as everyone knows , Over the past few years , Automated testing is becoming more and more popular , Whenever you go to an interview , Interviewers will ask whether they can automate the test , Not automatic, even half the interview opportunities , so , How important this is for testing . Common automated testing mainly consists of : Single interface 、 Scene automation composition
One 、 Single interface automated testing
What is single interface automated testing ?
The so-called single interface , That is, only one interface , According to the interface documentation , Design test cases for this interface , Then execute the interface test case , This is the single interface
What is the basis of single interface test cases ?
Interface testing is based on interface documents , Such as the description of an interface 、 Parameters 、 Parameter type 、 Field length 、 If required 、 Implemented function
When conducting single interface test , You need to write interface test cases first :
According to the interface description , Design test cases as required
Convert interface test cases into automated test scripts
When running scripts , Do not rely on any interface , Direct operation ( Except login interface )
Two 、 Scenario automated testing
Scenario automation focuses on business scenario processes , It is to realize the associated business process of the system , If an interface in the scenario is wrong , Then the whole scene will fail , Each interface is interdependent , Do not run independently , In order
As in the following scenario :
1、 Sign in
2、 Search for products
3、 Check product details
4、 Add to cart
5、 place order
6、 payment
Here is a complete scene , So when we realize automation , You need to call these interfaces in turn , Complete these business processes .
边栏推荐
- Rust Development -- the concept and application example of trait
- Envoy监听管理
- 脚手架cli3
- [swintransformer source code reading 1] build_ Loader part code
- 数字化还没走远,数智化时代已经来临
- 我的创作纪念日
- Analysis of QR code scanning and login in IM instant messaging development
- 数据库之sqlite3 常用操作
- 《PyTorch深度学习实践》第八课导入数据
- Is it safe to open an online stock account in different places?
猜你喜欢
软件研发效能度量的成功要素
ECCV 2022 | semantic novelty detection based on relational reasoning
浅析IM即时通讯开发之扫码登录二维码
【愚公系列】2022年7月 Go教学课程 013-常量、指针
Rust Development -- the concept and application example of trait
AIOps 还是 APM,企业用户应如何作出选择?
openvino模型学习-从模型转化流水线制作
RuntimeError: CUDA error: an illegal memory access was encountered
Shell的执行流控制
企业数字化转型之传统架构到中台微服务架构
随机推荐
NPM install reports an error NPM err! Four solutions for
JMeter single scenario usage example of performance test learning
系统架构设计师备考经验分享:如何有效备考
【ROS】手写消息发布器和订阅器
浅析IM即时通讯开发之扫码登录二维码
2022-07-19 第五小组 修身课 学习笔记(every day)
Traditional architecture of enterprise digital transformation to medium platform micro service architecture
MoveIt2——8.运动规划API
王者荣耀商城异地多活架构
MySQL十九:分库分表实践
深度学习从零构建一个模型的方法
开源工具 SAP UI5 Tools 介绍
力扣第三题
离线安装:如何搭建安全的企业级Harbor服务?内容太过详细。
力扣第五天
【Flink】规约算子 reduce
[dbeaver] a detailed tutorial on the installation and use of official software, easy to use and free open source tools
面试题 08.07. 无重复字符串的排列组合-dfs法
数据库之sqlite3 常用操作
301. 删除无效的括号