Drupal Technical
[Drupal] What are the cases to be checked while checking coupon code validation in our Drupal website?
Suppose your drupal projects contains products to sell. And you can use a coupon code while purchasing some products. For using coupon code in your Drupal site, Ubercart Coupon code module should be installed. Please check the below cases which contains the test cases of checking coupon code validation functionality in Drupal website.
- Ensure that error message will be displayed for invalid /expired dates.
- Ensure that error message will be displayed after the maximum redemptions per code.
- Ensure that error message will be displayed after the maximum redemptions per user.
- Ensure that error message will be displayed after the maximum redemptions per user.
- Ensure that error message will be displayed after the Minimum order quantity.
- Ensure that error message will be displayed for other than the Applicable product classes.
- Ensure that error message will be displayed for other than the Applicable products.
- Ensure that error message will be displayed for other than the Applicable SKUs.
- Ensure that error message will be displayed for coupon code that is used other than the Applicable taxonomy terms.
- Ensure that error message will be displayed for other than the specified users.
- Ensure that error message will be displayed for other than the specified user roles.
- Ensure that error message will be displayed for inactive coupon codes.
Thus we can ensure that all the cases should be checked by going through the above steps. Please be note that cases to be tested may vary depending on the requirement.