https://github.com/rajit2002/xohaniassignmente2etesting
https://github.com/rajit2002/xohaniassignmente2etesting
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rajit2002/xohaniassignmente2etesting
- Owner: rajit2002
- Created: 2025-03-29T10:17:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-29T10:43:43.000Z (about 1 year ago)
- Last Synced: 2025-04-09T23:55:42.522Z (about 1 year ago)
- Language: HTML
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
End-to-End Testing of Tutorial Ninja
Overview
This project automates the end-to-end testing of the Tutorial Ninja demo website using Selenium WebDriver with TestNG. The script covers key functionalities like user registration, login, product search, add to cart, and checkout.
Technologies Used
1.Java (Programming Language)
2.Selenium WebDriver (Browser Automation)
3.TestNG (Test Framework)
4.WebDriverWait (Explicit Wait Handling)
5.Maven (Dependency Management)
6.ChromeDriver (WebDriver for Chrome)
Test Scenarios Covered
1. User Registration
i. Clicks on My Account > Register
ii. Fills out registration details (First Name, Last Name, Email, Phone,
Password, Subscribe)
iii. Accepts the Privacy Policy
iv. Submits the registration form
v. Verifies successful account creation
vi. Logs out
User Login
2. Clicks on My Account > Login
i.Enters registered email and password
ii.Submits the login form
iii.Product Search and Add to Cart
3.Searches for a product ("Phone")
i.Selects a product from the search results
ii.Views product images
iii.Adds the product to the cart
iv.Views the cart and verifies product details
Checkout Process
Proceeds to checkout