当前位置:网站首页>测试优惠券要怎么写测试用例?
测试优惠券要怎么写测试用例?
2022-07-07 09:07:00 【测试界的飘柔】
1.优惠券类型
使用会员抵扣券跳转到购买会员界面,支付时抵扣相应金额。
使用方案抵扣券跳转到方案推荐的深度页面,选择方案支付时抵扣相应金额。
查看可用的优惠券,可选择使用优惠券。我的优惠券页面点击某商品抵扣券后的“去使用”能否跳转到对应类型的商品页面。
显示已失效的优惠券,显示优惠券类别,到期时间。失效优惠券按失效时间排序,显示前10的优惠券,剩下的优惠券不显示:
2.支付页面
优惠券选择页面:
不可选择的优惠券置灰;
支付页显示可用优惠券的数量,点击后跳转到选择优惠券页面,选择好优惠券后跳转到支付页。优惠券按照优惠额度排序。
3.测试要点
检测在我的页面优惠券点击查看是否显示当前所有可用优惠券。
检测在我的页面点击查看是否展示过期的优惠券。
检测我的页面展示的优惠券数量与我的优惠券页面显示的数量。
检测在我的优惠券页面点击“去使用”能否跳转到使用或支付页面。
检测在我的优惠券页面点击会员抵扣券后的“去使用”能否跳转到对应类型的商品页面。
检测点击去使用后在商品支付页面是否自动选择已选的优惠券。
检测使用优惠券支付的商品能否成功购买。
检测点击“确认支付”支付的金额是否是实际金额扣除优惠券抵用金额后的价格。
检测过期的优惠券能否使用。
检测在商品支付页面选择优惠券后实际应支付金额是否准确。
检测在支付页面是否提示当前购买商品可用的优惠券数量。
检测支付页面是否支持切换选择优惠券。
检测支付页面是否支持取消使用优惠券。
检测使用过的优惠券使用状态是否发生变化。
优惠券类型->>满减,检测是否满足满减的条件下才可以使用。
同时买多个商品满减资格后,去掉商品至满减价格以下。
优惠券类型->>免单,检测时候可以进行免单,支付金额隐藏或者 支付金额为0元。
优惠券支付操作 需要与后台订单模块相配合。
最后: 可以在公众号:伤心的辣条 ! 自行领取一份216页软件测试工程师面试宝典文档资料【免费的】。以及相对应的视频学习教程免费分享!,其中包括了有基础知识、Linux必备、Shell、互联网程序原理、Mysql数据库、抓包工具专题、接口测试工具、测试进阶-Python编程、Web自动化测试、APP自动化测试、接口自动化测试、测试高级持续集成、测试架构开发测试框架、性能测试、安全测试等。
我推荐一个【Python自动化测试交流群:746506216】,大家可以一起探讨交流软件测试,共同学习软件测试技术、面试等软件测试方方面面,助你快速进阶Python自动化测试/测试开发,走向高薪之路。
喜欢软件测试的小伙伴们,如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “点赞” “评论” “收藏” 一 键三连哦!
边栏推荐
- PR Lecture Notes
- 通过 Play Integrity API 的 nonce 字段提高应用安全性
- Go redis Middleware
- [untitled]
- Add a self incrementing sequence number to the antd table component
- Unity websocket client
- Une fois que l'uniapp a sauté de la page dans onlaunch, cliquez sur Event Failure resolution
- JS array delete the specified element
- 变量的解构赋值
- The use of list and Its Simulation Implementation
猜你喜欢
Ping tool ICMP message learning
JS add spaces to the string
The difference between monotonicity constraint and anti monotonicity constraint
Unity script visualization about layout code
Vscode 尝试在目标目录创建文件时发生一个错误:拒绝访问【已解决】
Qtcreator sets multiple qmake
verilog设计抢答器【附源码】
Still cannot find RPC dispatcher table failed to connect in virtual KD
Using ENSP to do MPLS pseudo wire test
Operation method of Orange Pie orangepi 4 lts development board connecting SATA hard disk through mini PCIe
随机推荐
Différences entre les contraintes monotones et anti - monotones
uniCloud
Graduation season | keep company with youth and look forward to the future together!
[untitled]
Transaction rolled back because it has been marked as rollback only
Seata 1.3.0 four modes to solve distributed transactions (at, TCC, Saga, XA)
【OneNote】无法连接到网络,无法同步问题
JS array delete the specified element
How to use cherry pick?
Basic knowledge of process (orphan, zombie process)
Force buckle 1002 Find common characters
Opencv installation and environment configuration - vs2017
[untitled]
Vuthink正确安装过程
Unity websocket client
The opacity value becomes 1%
Hash / (understanding, implementation and application)
Go redis Middleware
verilog设计抢答器【附源码】
2021 summary and 2022 outlook