Drupal Solution
Test cases against Checkout Page while purchasing a product in Drupal website
Suppose you have Drupal website where user can purchase product through online. The site allows two types of users such as Registered user and guest user.The site consist of Checkout Process so that customer can enter address details, card details in order to reach the product by hand. Some of the test case against Checkout Page is given below:-
- Ensure that user can access the Checkout Page only after adding the product into the cart
- Ensure that Checkout Address Page consist of all the details of product such as Name, Quantity, Amount, etc.
- Ensure that only registered users are allowed to access the Checkout Address Page.
- Ensure that Name, Street Address, City, State, Country, Postal code are mandatory field in the Checkout Address page.
- Ensure that error message is displayed when user enter invalid input in all the mandatory field in the checkout address page.
- Ensure that Back to cart link is available so that user can modify the cart content if needed.
- Ensure that user is redirected to Checkout payment page only after entering valid mandatory details in the checkout Address page.
- Ensure that error message is displayed when user leaves all the mandatory fields in the Checkout Address Page.
- Ensure that error message is displayed when user leaves any one of the mandatory fields in the checkout Address page.
- Ensure that Next Button and Cancel Button are available in the Checkout Address Page.
- Ensure that data's are cleared when user click cancel button after entering the mandatory field.
- Ensure that Name on Card, Card Number,Expiration date,CWW2 are mandatory fields in the Payment Page
- Ensure that error message is displayed when user enter invalid input in all the mandatory field in the Payment Page.
- Ensure that error message is displayed when user leaves any one of the mandatory fields in the Payment Page.
- Ensure that user is redirected to Drupal website once payment process is completed.
- Ensure that order number is displayed in the Thank you page of the Drupal site.
Hope this article helps you to test Checkout Page.