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

  1. Check coupons on my page and click to see if all currently available coupons are displayed .

  2. Check whether expired coupons are displayed by clicking on my page .

  3. Check the number of coupons displayed on my page and the number displayed on my coupon page .

  4. Check on my coupon page and click “ To use the ” Can I jump to the use or payment page .

  5. 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 .

  6. Check whether the selected coupon is automatically selected on the commodity payment page after clicking to use .

  7. Check whether goods paid with coupons can be successfully purchased .

  8. Detect Click “ Confirm payment ” Whether the amount paid is the actual amount after deducting the amount of the coupon .

  9. Check whether expired coupons can be used .

  10. Check whether the actual payable amount is accurate after selecting coupons on the commodity payment page .

  11. Check whether the payment page prompts the number of coupons available for the currently purchased goods .

  12. Check whether the payment page supports switching and selecting coupons .

  13. Check whether the payment page supports the cancellation of coupons .

  14. Check whether the usage status of used coupons has changed .

  15. Coupon type ->> Full reduction , It can only be used after checking whether it meets the conditions of full reduction .

  16. Buy more than one product at the same time. After the qualification is reduced , Remove the goods to below the full reduced price .

  17. Coupon type ->> Free of charge , The inspection can be free of charge , The payment amount is hidden or The payment amount is 0 element .

  18. 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 …….

原网站

版权声明
本文为[Pengyuyan from the testing industry]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206090338303996.html