Here we shared possible Test Cases for Category and Sub category. Usually this category and sub category pages we use in Online shopping sites, or any product which has different types. When we create a new Sub Category, the new Sub Category is connected automatically for all the Category / Sub Categories at the same.

You can also assign a test to multiple categories. These examples tie the GetAllTest test to both the Data and the Customers categories. Great ideas to A/B test on your ecommerce site’s category pages. You use Category attribute for all tests now:

Test Cases for Category and Sub category

  • category
Serial No. Condition To be Tested Test Data Expected Output Remarks
1 If any field in the form is empty. Value of form fields. Alert the user to enter all the fields and then proceed. SUCCESSFUL
2 If category name fIeld is empty . Cat_name Alert the user to enter the fields by displaying “Category Name should not be empty”   SUCCESSFUL
3 If category description fIeld is empty . Cat_des Alert the user to enter the fields by displaying “Category description should not be empty” SUCCESSFUL

Add  Sub category

Serial No. Condition To be Tested Test Data Expected Output Remarks
1 If any field in the form is empty. Value of form fields. Alert the user to enter all the fields and then proceed. SUCCESSFUL
2 If main category is empty Cat_name Alert the user to enter the fields by displaying “Category Name should not be empty”   SUCCESSFUL
3 If sub category is empty subcategory Alert the user to enter the fields by displaying “Sub Category Name should not be empty” SUCCESSFUL
4 If sub category description is empty Description Alert the user to enter the fields by displaying “Sub Category description should not be empty” SUCCESSFUL

DOWNLOAD COMPLETE Test Cases for Category and Sub category

🔥300 Views

Do you have anything to Ask?

This site uses Akismet to reduce spam. Learn how your comment data is processed.