当前位置:网站首页>2022年【电商】测试优惠券如何编写测试用例?
2022年【电商】测试优惠券如何编写测试用例?
2022-06-09 03:38:00 【测试界的彭于晏】

今天我们来看下电商项目中非常常见的优惠券测试。透露下,如果要面试电商公司,这是必问知识点哦,因为我就在电商公司啦。
本文从业务规则出发,分析了优惠券类型、支付页面以及优惠券的测试要点,希望对大家有帮助。
优惠券类型

使用会员抵扣券跳转到购买会员界面,支付时抵扣相应金额。
使用方案抵扣券跳转到方案推荐的深度页面,选择方案支付时抵扣相应金额。
查看可用的优惠券,可选择使用优惠券。我的优惠券页面点击某商品抵扣券后的“去使用”能否跳转到对应类型的商品页面。
显示已失效的优惠券,显示优惠券类别,到期时间。失效优惠券按失效时间排序,显示前10的优惠券,剩下的优惠券不显示:

支付页面

优惠券选择页面:
不可选择的优惠券置灰;
支付页显示可用优惠券的数量,点击后跳转到选择优惠券页面,选择好优惠券后跳转到支付页。优惠券按照优惠额度排序。


测试要点
检测在我的页面优惠券点击查看是否显示当前所有可用优惠券。
检测在我的页面点击查看是否展示过期的优惠券。
检测我的页面展示的优惠券数量与我的优惠券页面显示的数量。
检测在我的优惠券页面点击“去使用”能否跳转到使用或支付页面。
检测在我的优惠券页面点击会员抵扣券后的“去使用”能否跳转到对应类型的商品页面。
检测点击去使用后在商品支付页面是否自动选择已选的优惠券。
检测使用优惠券支付的商品能否成功购买。
检测点击“确认支付”支付的金额是否是实际金额扣除优惠券抵用金额后的价格。
检测过期的优惠券能否使用。
检测在商品支付页面选择优惠券后实际应支付金额是否准确。
检测在支付页面是否提示当前购买商品可用的优惠券数量。
检测支付页面是否支持切换选择优惠券。
检测支付页面是否支持取消使用优惠券。
检测使用过的优惠券使用状态是否发生变化。
优惠券类型->>满减,检测是否满足满减的条件下才可以使用。
同时买多个商品满减资格后,去掉商品至满减价格以下。
优惠券类型->>免单,检测时候可以进行免单,支付金额隐藏或者 支付金额为0元。
优惠券支付操作 需要与后台订单模块相配合。
今天我们来看下电商项目中非常常见的优惠券测试。透露下,如果要面试电商公司,这是必问知识点哦,因为我就在电商公司啦。
本文从业务规则出发,分析了优惠券类型、支付页面以及优惠券的测试要点,希望对大家有帮助。
学习安排上
最后感谢每一个认真阅读我文章的人,看着粉丝一路的上涨和关注,礼尚往来总是要有的,虽然不是什么很值钱的东西,如果你用得到的话可以直接拿走

这些资料,对于做【软件测试】的朋友来说应该是最全面最完整的备战仓库,这个仓库也陪伴我走过了最艰难的路程,希望也能帮助到你!凡事要趁早,特别是技术行业,一定要提升技术功底。希望对大家有所帮助…….

边栏推荐
- 故障分析 | DDL 导致的 Xtrabackup 备份失败
- [machinetranslation] multilingual fairseq preprocess
- Android 程序常用功能《清除缓存》
- Implementing parallel computing framework with QT
- Two Merged Sequences(CF 1144 G)(将序列拆分成升序序列和降序序列两部分)-DP
- 关于回调的一些思考
- ERP从内部集成起步开篇
- 分布式 | dble 读写分离场景下为什么普通的读 sql 发送到了 master 实例上
- ArcGIS Runtime 离线gdb数据缺失问题处理
- Free video format converter
猜你喜欢

印尼Widya Robotics携手华为云,让建筑工地安全看得见

GC日志分析

Fault analysis | a special scenario in MySQL where a new user cannot log in

National Natural Science Foundation Project query website

Error 5 occurred in the console input command net start MySQL console output system. Access denied. MySQL service is starting MySQL service failed to start. The service did not report any errors. Plea

神经网络学习(五)----常见的网络结构对比

Definition and basic terms of tree

Zhongang Mining: fluorite resources listed in the strategic mineral catalogue
![[Beijing Normal University] information sharing of the first and second postgraduate entrance examinations](/img/ec/884e656a921e20a5679a2960c9ac4d.jpg)
[Beijing Normal University] information sharing of the first and second postgraduate entrance examinations

Fault analysis - a case of excessive CPU load caused by a large number of short-time processes
随机推荐
"Baget" takes you one minute to set up your own private nuget server
常量池相关问题解析
WebRTC介绍及简单应用
Opencv learning notes 1
[detailed explanation of kubernetes 12] - Security Certification
SIG live broadcast of system operation and maintenance: libbpf compilation platform LCC - ebpf from getting started to enjoying | issue 20
Which securities firm should be selected for stock account opening? Is it safe to open an account
Alook browser cookie acquisition tutorial
Fault analysis how the MySQL database gets stuck after upgrading
分布式 | dble 读写分离场景下为什么普通的读 sql 发送到了 master 实例上
Free video format converter
After 15000 interns joined Amazon, what was life like in the big factory?
Dapr 1.7 之 Unix Domain socket 他来了
Controversial Xu Beihong's paintings and the copyright dispute of Digital Collections
Neural network learning (V) -- comparison of common network structures
Six C language final assignments KTV song selection, personal revenue and expenditure management, staff resource management, class student file management, product information management, library mana
Neural network learning (IV) -- a simple summary of the knowledge of each layer of neural network
服务器注册使用
Definition and basic terms of tree
Octopus network louis:gamefi as an application chain has gradually become a consensus