当前位置:网站首页>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 :

 picture

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 .

 picture

 picture

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 !

原网站

版权声明
本文为[The elegance of testing]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207070907106248.html