当前位置:网站首页>How to write test cases for [e-commerce] test coupons in 2022?
How to write test cases for [e-commerce] test coupons in 2022?
2022-06-09 03:47:00 【Pengyuyan from the testing industry】

Today, let's take a look at the coupon test, which is very common in e-commerce projects . Let me know , If you want to interview an e-commerce company , This is a necessary knowledge , Because I am in an e-commerce company .
This article starts from the business rules , Analyzed the types of coupons 、 Payment page and coupon test points , Hopefully that helped .
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 :

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 .


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 .
Today, let's take a look at the coupon test, which is very common in e-commerce projects . Let me know , If you want to interview an e-commerce company , This is a necessary knowledge , Because I am in an e-commerce company .
This article starts from the business rules , Analyzed the types of coupons 、 Payment page and coupon test points , Hopefully that helped .
On the arrangement of study
Finally, thank everyone who reads my article carefully , Watching the rise and attention of fans all the way , Reciprocity is always necessary , Although it's not very valuable , If you can use it, you can take it

These materials , For doing 【 software test 】 For our friends, it should be the most comprehensive and complete war preparation warehouse , This warehouse also accompanied me through the most difficult journey , I hope it can help you ! Everything should be done as soon as possible , Especially in the technology industry , We must improve our technical skills . I hope that's helpful …….

边栏推荐
- [share] network packet loss fault handling scheme
- 并发操作之——ReentrantReadWriteLock
- 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
- Mongodb database document display exception
- Lead the team. Is your boss "dictatorial"? (deeply touched)
- 关于回调的一些思考
- mongodb数据库文档显示异常
- 网页设计期末大作业-景点旅游网站(含导航栏,轮播图,样式精美)
- Opencv learning notes 1
- 故障分析 | MySQL 数据库升级后,数据库怎么卡住了
猜你喜欢
![[reinforcement learning notes] V value and Q value in reinforcement learning](/img/8a/c6143a8d6c0bc2c42a608acb019d95.png)
[reinforcement learning notes] V value and Q value in reinforcement learning

Concurrent operation -- the difference between reentrantlock and synchronized

Affichage de barres de couleur, de caractères et d'images VGA basé sur FPGA

Five highlights of wwdc2022 lock screen, weather kit, swiftui, collaboration function, apple payment

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

JVM内存查看及设置思路

专家,如何快速转型管理者?

『C语言』面试管:说下各个字符串函数功能,我:不知道。面试官:小伙子学会了再来面试吧。

C#/VB. Net to set solid color / gradient / picture background in word

在线JSON转XML工具
随机推荐
TypeScript的泛型和装饰器
OnlineJudge instructions
Detailed explanation of HLS live broadcast protocol m3u8
[reinforcement learning notes] V value and Q value in reinforcement learning
Server registration use
Dapr 1.7 UNIX domain socket he's here
Data: Kube flannel and kubernetes dashboard creation commands and configuration file contents
Please ask about the SQL injection problem
Lead the team. Is your boss "dictatorial"? (deeply touched)
Final assignment of Web Design - scenic spot tourism website (including navigation bar, rotation map, exquisite style)
华为云服务器装数据库远程连接被拒绝
Is it safe to open an account in Hongye futures?
"Baget" takes you one minute to set up your own private nuget server
CPU surge problem location
不要提前交卷!!!曾有人在最后35秒,拿到了13分!!!(祝所有考生顺利)...
基于OpenCV的人脸检测、训练、识别
SQL Server counts the data volume difference between today and yesterday that is greater than 10
Getting started with Maui custom drawing
ES6之Symbol详解
After 15000 interns joined Amazon, what was life like in the big factory?