This testing framework is designed to test various functionalities of the Sauce Demo site.
- Ensure access to the SauceDemo testing environment.
- valid login credentials are required for testing.
-
Login:-
- Open the SauceDemo login page.
- Enter valid credentials (username and password).
- click on the "Login" button.
- verify successful login.
- Passing the data through Excel, csv and json.
- Created the Valid or Invalid Test Cases.
- putting the assertion in each test cases.
- Applying the Logger on each test cases.
-
ProductPage:-
- click on the different sections of the productpage.
- Test each buttons related to the addToCart, OpenMenu, PurchaseBox etc.
- putting the assertion in each test cases.
- Applying the Logger on each test cases.
-
AddToCartPage:-
- click on the different sections of the addtocartpage.
- Test each buttons related to the addToCart, Continueshopping, Checkout etc.
- putting the assertion in each test cases.
- Applying the Logger on each test cases.
-
CheckOutPage:-
- click on the different sections of the checkoutpage.
- Test each buttons related to the addToCart, Continueshopping, Checkout etc.
- Passing the valid or invalid information of user in checkout information section.
- putting the assertion in each test cases.
- Applying the Logger on each test cases.