当前位置:网站首页>How to write test cases for test coupons?
How to write test cases for test coupons?
2022-07-07 11:31:00 【The elegance of testing】
1. Coupon type
Use the member deduction voucher to jump to the purchase member interface , The corresponding amount shall be deducted during payment .
Use the scheme deduction voucher to jump to the depth page of scheme recommendation , The corresponding amount will be deducted when the payment scheme is selected .
View available coupons , You can choose to use coupons . On my coupon page, click... After a commodity deduction coupon “ To use the ” Can I jump to the product page of the corresponding type .
Show expired coupons , Show coupon categories , Due time . Expired coupons are sorted by expiration time , Before display 10 Coupons , The remaining coupons do not show :

2. Payment page
Coupon selection page :
Non selectable coupons are grayed out ;
The payment page displays the number of coupons available , Click to jump to the select coupon page , Select the coupon and jump to the payment page . Coupons are sorted according to the preferential amount .


3. Test points
Check coupons on my page and click to see if all currently available coupons are displayed .
Check whether expired coupons are displayed by clicking on my page .
Check the number of coupons displayed on my page and the number displayed on my coupon page .
Check on my coupon page and click “ To use the ” Can I jump to the use or payment page .
Detect the after clicking on the member deduction voucher on my coupon page “ To use the ” Can I jump to the product page of the corresponding type .
Check whether the selected coupon is automatically selected on the commodity payment page after clicking to use .
Check whether goods paid with coupons can be successfully purchased .
Detect Click “ Confirm payment ” Whether the amount paid is the actual amount after deducting the amount of the coupon .
Check whether expired coupons can be used .
Check whether the actual payable amount is accurate after selecting coupons on the commodity payment page .
Check whether the payment page prompts the number of coupons available for the currently purchased goods .
Check whether the payment page supports switching and selecting coupons .
Check whether the payment page supports the cancellation of coupons .
Check whether the usage status of used coupons has changed .
Coupon type ->> Full reduction , It can only be used after checking whether it meets the conditions of full reduction .
Buy more than one product at the same time. After the qualification is reduced , Remove the goods to below the full reduced price .
Coupon type ->> Free of charge , The inspection can be free of charge , The payment amount is hidden or The payment amount is 0 element .
Coupon payment operation It needs to cooperate with the background order module .
Last : It can be in the official account : Sad spicy bar ! Get one by yourself 216 Page software testing engineer interview guide document information 【 Free of charge 】. And the corresponding video learning tutorial is free to share !, It includes basic knowledge 、Linux necessary 、Shell、 The principles of the Internet 、Mysql database 、 Special topic of bag capturing tools 、 Interface testing tool 、 Test advanced -Python Programming 、Web automated testing 、APP automated testing 、 Interface automation testing 、 Testing advanced continuous integration 、 Test architecture development test framework 、 Performance testing 、 Safety test, etc. .
I recommend one 【Python Automated test communication group :746506216】, We can discuss communication software testing together , Learn software testing together 、 Interview and other aspects of software testing , Help you advance quickly Python automated testing / Test Development , On the road to high pay .
Friends who like software testing , If my blog helps you 、 If you like my blog content , please “ give the thumbs-up ” “ Comment on ” “ Collection ” One Key triple connection !
边栏推荐
- [untitled]
- R language uses image of magick package_ Mosaic functions and images_ The flatten function stacks multiple pictures together to form a stack layers on top of each other
- 聊聊SOC启动(六)uboot启动流程二
- 0.96 inch IIC LCD driver based on stc8g1k08
- When initializing 'float', what is the difference between converting to 'float' and adding 'f' as a suffix?
- .NET MAUI 性能提升
- 技术分享 | 抓包分析 TCP 协议
- Vuthink正确安装过程
- What if copying is prohibited?
- oracle常见锁表处理方式
猜你喜欢
随机推荐
Go redis Middleware
Verilog realizes nixie tube display driver [with source code]
Talk about SOC startup (VI) uboot startup process II
[untitled]
QT implements the delete method of the container
毕业季|与青春作伴,一起向未来!
基于华为云IOT设计智能称重系统(STM32)
Two week selection of tdengine community issues | phase II
STM32 entry development uses IIC hardware timing to read and write AT24C08 (EEPROM)
Leetcode - interview question 17.24 maximum submatrix
正在運行的Kubernetes集群想要調整Pod的網段地址
简单介绍一下闭包及它的一些应用场景
自动化测试框架
[C #] the solution of WinForm operation zoom (blur)
聊聊SOC启动(十一) 内核初始化
Add a self incrementing sequence number to the antd table component
uniapp 在onLaunch中跳轉頁面後,點擊事件失效解决方法
禁锢自己的因素,原来有这么多
R语言可视化分面图、假设检验、多变量分组t检验、可视化多变量分组分面箱图(faceting boxplot)并添加显著性水平、添加抖动数据点(jitter points)
[encapsulation of time format tool functions]








