Guru99 Live Selenium Webdriver Testing Project
📝 Project Summary:
This is a demo project provided by Guru99. It simulates Selenium WebDriver test cases for a demo eCommerce website every 24hs for 11 days. Uploading each test case to GitHub as part of my portfolio as a tester. While not required, I'm will be using a Page Object Model approach.
📆 Tasks:
Each daily task is uploaded in the tasks folder as a .png file
💼 Evidence:
While not required for the project, screenshot evidence is included in the evidence folder, sorted by day
🕒 Day 1:
Test Scenario:
- Verify item in Mobile list page can be sorted by 'Name'
Test Steps:
- Go to http://live.techpanda.org/
- Verify Title of the page
- Click on 'MOBILE' meny
- Verify Title of the page
- In the list of all mobile, select 'SORT BY' dropdown as 'name'
- Verify all products are sorted by name
Validation requirements:
- Text 'THIS IS DEMO SITE' shown in home page
- Tittle 'MOBILE' is shown on mobile list page
- All 3 products sorted by name
Additional info:
- The client has requested you to use WebDriver (Firefox Driver) for the project.
🕒 Day 2:
Test Scenario:
- Verify that cost of product in list page and details page are equal
Test Steps:
- Go to http://live.techpanda.org/
- Click on 'MOBILE' menu
- In the list of all mobile, read the cost of Sony Xperia mobile. Note this value
- Click on Sony Xperia mobile
- Read the Sony Xperia mobile from detail page
- Compare value in step 3 & 5
Validation requirements:
- Price on step 3 & 5 are the same
- Product value in list and tealis page should be equal ($100)
🕒 Day 3:
Test Scenario:
- Verify that you cannot add more product in cart than the product availeable in store
Test Steps:
- Go to http://live.techpanda.org/
- Click on 'MOBILE' menu
- In the list of all mobile, click on 'ADD TO CART' for Sony Xperia mobile
- Change 'QTY' value to 1000 and click 'UPDATE' button
- Verify error message
- Then click on 'EMPTY CART' link in the footer of list of all mobiles
- Verify cart is empty
Validation requirements:
- On clicking update button an error is shown: 'The requested quantity for "Sony Xperia" is not available'
- On clicking empty cart button, a message 'SHOPPING CART IS EMPTY' is shown
🕒 Day 4:
Test Scenario:
- Verify that you are able to compare two products
Test Steps:
- Go to http://live.techpanda.org/
- Click on 'MOBILE' menu
- In the mobile products list, click on 'Add to Compare' for 2 mobiles
- Click on 'COMPARE' button
- Verify the pop-up window and check that the products are reflected in it
- Close the pop-up window
Test data:
- Phone 1: Sony Xperia
- Phone 2: iPhone
Validation requirements:
- A pop-up window opens with heading as 'COMPARE PRODUCTS' and the selected products are present in it
- Pop-up window is closed