当前位置:网站首页>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 !
边栏推荐
- PostgreSQL中的表复制
- verilog设计抢答器【附源码】
- There are ways to improve self-discipline and self-control
- 'module 'object is not callable error
- Network foundation (1)
- How to remove addition and subtraction from inputnumber input box
- uniapp 在onLaunch中跳轉頁面後,點擊事件失效解决方法
- Distributed database master-slave configuration (MySQL)
- Multithreaded application (thread pool, singleton mode)
- MPX plug-in
猜你喜欢

對比學習之 Unsupervised Learning of Visual Features by Contrasting Cluster Assignments

Use metersphere to keep your testing work efficient

Basic knowledge of process (orphan, zombie process)

自动化测试框架

Table replication in PostgreSQL

JS add spaces to the string

Avoid mutating a prop directly since the value will be overwritten whenever the parent component

The post-90s resigned and started a business, saying they would kill cloud database

Distributed database master-slave configuration (MySQL)
![Drive HC based on de2115 development board_ SR04 ultrasonic ranging module [source code attached]](/img/ed/29d6bf21f857ec925bf425ad594e36.png)
Drive HC based on de2115 development board_ SR04 ultrasonic ranging module [source code attached]
随机推荐
Use metersphere to keep your testing work efficient
Learning notes | data Xiaobai uses dataease to make a large data screen
Add a self incrementing sequence number to the antd table component
Two week selection of tdengine community issues | phase II
Unsupervised learning of visual features by contracting cluster assignments
Blog moved to Zhihu
Neural approvals to conversational AI (1)
oracle常见锁表处理方式
自律,提升自制力原来也有方法
Avoid mutating a prop directly since the value will be overwritten whenever the parent component
Activity lifecycle
如何在博客中添加Aplayer音乐播放器
The opacity value becomes 1%
网络协议 概念
自动化测试框架
'module 'object is not callable error
Interprocess communication (IPC)
After the uniapp jumps to the page in onlaunch, click the event failure solution
STM32入门开发 NEC红外线协议解码(超低成本无线传输方案)
electron 添加 SQLite 数据库