Test cases for adding coupon code in a Drupal project
https://www.zyxware.com/sites/default/files/styles/user_image/public/default_images/index.png?itok=2YmREnrP
BY anju.r
5 years ago
Quality-Assurance
0 comments comment

Suppose your drupal projects contains products to sell. And you can use coupon code while purchasing products. For using coupon code in your druapl site, Ubercart Coupon code module may be installed. Please check the below cases which contains the test cases of checking coupon code functionality.

  1. Ensure that Admin is able to add coupon code.
  2. Ensure that users other than Admin doesnot have the permission to add coupon codes.
  3. Ensure that Admin can add coupon code through
    Store Administration-->Coupons--->Add new Coupon
  4. Ensure that Admin is able to add coupon code by directly open the node id
    eg: sitename/Admin/store/coupons/add
  5. Ensure that error message will be displayed if mandatory fields leaves empty.
  6. Ensure that Admin is able to add Coupon Name.
  7. Ensure that Admin is able to add Coupon Code.
  8. Ensure that Admin is able to select Payment information required field.
  9. Ensure that if Payment information required field is selected, error message will be displayed if we apply applying coupon code for products which doesn't contain payment information.
  10. Ensure that Admin is able to generate bulk coupon codes.
  11. Ensure that Admin is able to select number of coupon codes to be generated.
  12. Ensure that Admin is able to select the code length.
  13. Ensure that Admin is able to select coupon code as active/inactive.
  14. Ensure that Admin is able to add discount as Fixed price discount.
    eg: enter "15" for $15.00 off.
  15. Ensure that Admin is able to add discount as Percentage discount.
    Eg: enter "15%" for 15% off.
  16. Ensure that Admin is able to add discount as Set product price.
    For eg: enter "=15" to make all matching products $15.00 after discount.
  17. Ensure that Admin is able to add Apply discount to:
    Order subtotal
    Total of matching product(s)
    All matching product(s)
    The cheapest matching product(s)
    The most expensive matching product(s)
  18. Ensure that Admin is able to select 'Restrict coupon by date'.
  19. Ensure that error message will be displayed for invalid /expired dates.
  20. Ensure that Admin is able to select Maximum number of redemptions (per code).
  21. Ensure that error message will be displayed after the maximum redemptions per code.
  22. Ensure that Admin is able to select Maximum number of redemptions (per user).
  23. Ensure that error message will be displayed after the maximum redemptions per user.
  24. Ensure that Admin is able to select the Minimum Order limit [minimum amount for discount to apply].
  25. Ensure that error message will be displayed after the maximum redemptions per user.
  26. Ensure that Admin is able to select the Minimum order quantity [Minimum order quantity for discount to apply].
  27. Ensure that error message will be displayed after the Minimum order quantity.
  28. Ensure that Admin is able to select the Applicable product classes.
  29. Ensure that error message will be displayed for other than the Applicable product classes.
  30. Ensure that Admin is able to select the Applicable products.
  31. Ensure that error message will be displayed for other than the Applicable products.
  32. Ensure that Admin is able to select the Applicable SKUs.
  33. Ensure that error message will be displayed for other than the Applicable SKUs.
  34. Ensure that Admin is able to select the Applicable taxonomy terms.
  35. Ensure that error message will be displayed for other than the Applicable taxonomy terms.
  36. Ensure that Admin is able to apply User restrictions.
  37. Ensure that error message will be displayed for other than the specified users.
  38. Ensure that Admin is able to apply Role restrictions.
  39. Ensure that error message will be displayed for other than the specified user roles.
  40. Ensure that Admin is able to see active/inactive coupon codes.
  41. Ensure that Admin is able to delete copons.

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.


RELATED ARTICLE

/themes/custom/zyxpro_light/images/placeholder.png
close

on 31st August 2012 / by minu.podipara
Banking application packages are probably the most complex software suites which demand high secu Quality Assurance Testing Test Cases Data Field Leave a reply Your email address will not be published. Required fields are marked * Anonymous (not verified) access_time 28 Sep 2020 - 10:37 In User Acceptance Testing u said that End-users will done? How actually it goes? Add new comment
/themes/custom/zyxpro_light/images/placeholder.png
close

on 19th October 2012 / by lijo.abraham
As per the as per Kerala Municipal Act, 1994 (Section 254) it is mandatory for all employees who are drawing a half yearly salary of more than Rs. 12,000/- to pay profession tax. This tax is to be paid to the respective corporation/ municipality in which the company is situated. The tax slab is as mentioned in the below table. Quality Assurance Testing Checklist Test Case Search Field Leave a reply Your email address will not be published. Required fields are marked * Gopkumar (not verified) access_time 28 Sep 2020 - 10:37 I am starting a small firm in Panchayat / Municipal area of Trivandrum (Kerala). While keeping myself abreast of statutory regulations, I could see that Professional Tax of every employee as per their status of salary is to be collected from every employee and remitted to the concerned Panchayat or Municipality. Now I am told that in addition to the tax collected from every employee, my organization also has to pay Tax. Is it true ? I could not see this in the Rules. Can you please guide me ? Joby.P.K (not verified) access_time 28 Sep 2020 - 10:37 My friend is getting an amount of Rs. 12000/- as monthly honorarium continuously from a government office. Hence it may be clarified that whether he is liable to remit profession tax since he is receiving payment as honorarium. The matter may kindly be clarified along with a copy of Govt. Order if possible. JOSEPH (not verified) access_time 28 Sep 2020 - 10:37 We got a notice from thrikkakara municipality for institution tax for employment. please tell the provisions of kerala municipal act about institutions tax laibility for employment. Adarshmv86 (not verified) access_time 28 Sep 2020 - 10:37 Hi sir, am working in as HR execuite in a pvt firm regd under kerala shops ans commercial establishment. I want to know that if there is any process of registraion for payment of PT in to muncipality. sheelamichayel (not verified) access_time 28 Sep 2020 - 10:37 In reply to Professional tax by Adarshmv86 (not verified) I want to know in favour of whom the PT cheque shoule be made. Add new comment
/themes/custom/zyxpro_light/images/placeholder.png
close

on 02nd November 2012 / by renjith
While testing any website, be it Drupal / non-Drupal, one would often have to test Date fields. Following are the test cases to be considered / checked for, while testing a date field: Quality Assurance Testing Test Cases Data Field Leave a reply Your email address will not be published. Required fields are marked *
Leave a reply
Your email address will not be published. Required fields are marked *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.