当前位置:网站首页>测试优惠券要怎么写测试用例?
测试优惠券要怎么写测试用例?
2022-07-07 09:07:00 【测试界的飘柔】
1.优惠券类型
使用会员抵扣券跳转到购买会员界面,支付时抵扣相应金额。
使用方案抵扣券跳转到方案推荐的深度页面,选择方案支付时抵扣相应金额。
查看可用的优惠券,可选择使用优惠券。我的优惠券页面点击某商品抵扣券后的“去使用”能否跳转到对应类型的商品页面。
显示已失效的优惠券,显示优惠券类别,到期时间。失效优惠券按失效时间排序,显示前10的优惠券,剩下的优惠券不显示:

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


3.测试要点
检测在我的页面优惠券点击查看是否显示当前所有可用优惠券。
检测在我的页面点击查看是否展示过期的优惠券。
检测我的页面展示的优惠券数量与我的优惠券页面显示的数量。
检测在我的优惠券页面点击“去使用”能否跳转到使用或支付页面。
检测在我的优惠券页面点击会员抵扣券后的“去使用”能否跳转到对应类型的商品页面。
检测点击去使用后在商品支付页面是否自动选择已选的优惠券。
检测使用优惠券支付的商品能否成功购买。
检测点击“确认支付”支付的金额是否是实际金额扣除优惠券抵用金额后的价格。
检测过期的优惠券能否使用。
检测在商品支付页面选择优惠券后实际应支付金额是否准确。
检测在支付页面是否提示当前购买商品可用的优惠券数量。
检测支付页面是否支持切换选择优惠券。
检测支付页面是否支持取消使用优惠券。
检测使用过的优惠券使用状态是否发生变化。
优惠券类型->>满减,检测是否满足满减的条件下才可以使用。
同时买多个商品满减资格后,去掉商品至满减价格以下。
优惠券类型->>免单,检测时候可以进行免单,支付金额隐藏或者 支付金额为0元。
优惠券支付操作 需要与后台订单模块相配合。
最后: 可以在公众号:伤心的辣条 ! 自行领取一份216页软件测试工程师面试宝典文档资料【免费的】。以及相对应的视频学习教程免费分享!,其中包括了有基础知识、Linux必备、Shell、互联网程序原理、Mysql数据库、抓包工具专题、接口测试工具、测试进阶-Python编程、Web自动化测试、APP自动化测试、接口自动化测试、测试高级持续集成、测试架构开发测试框架、性能测试、安全测试等。
我推荐一个【Python自动化测试交流群:746506216】,大家可以一起探讨交流软件测试,共同学习软件测试技术、面试等软件测试方方面面,助你快速进阶Python自动化测试/测试开发,走向高薪之路。
喜欢软件测试的小伙伴们,如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “点赞” “评论” “收藏” 一 键三连哦!
边栏推荐
- 软件设计之——“高内聚低耦合”
- Introduction to shell programming
- Add a self incrementing sequence number to the antd table component
- Unity determines whether the mouse clicks on the UI
- Unity websocket server
- Arduino receives and sends strings
- 2021 summary and 2022 outlook
- VIM命令模式与输入模式切换
- The seventh training assignment
- When initializing 'float', what is the difference between converting to 'float' and adding 'f' as a suffix?
猜你喜欢

IDEA快捷键大全

基于DE2 115开发板驱动HC_SR04超声波测距模块【附源码】

Simple and easy to modify spring frame components

【STM32】实战3.1—用STM32与TB6600驱动器驱动42步进电机(一)

【pyqt】tableWidget里的cellWidget使用信号与槽机制

BUUCTF---Reverse---reverse1

Force buckle 1002 Find common characters

单调性约束与反单调性约束的区别 monotonicity and anti-monotonicity constraint

Activity生命周期

從色情直播到直播電商
随机推荐
The seventh training assignment
Get pictures through opencv, change channels and save them
VR development optimization
【亲测可行】error while loading shared libraries的解决方案
How to play video on unityui
Galaxy Kirin desktop operating system installation postgresql13 (source code installation)
[machine learning 03] Lagrange multiplier method
基于Retrofit框架的金山API翻译功能案例
Deconstruction and assignment of variables
[untitled]
2021-04-23
From pornographic live broadcast to live broadcast E-commerce
在线硬核工具
Go-Redis 中间件
QT document
创意信息获2家机构调研:GreatDB 数据库已在9地部署
Debezium同步之Debezium架构详解
Hash / (understanding, implementation and application)
The sixth training assignment
Some online academic report websites and machine learning videos