Automation testing framework built using Selenium WebDriver and TestNG on DemoQA.
This project is designed to practice and showcase automation of different web elements like iFrames, Alerts, Screenshots, and JavaScript Execution.
The purpose of this repository is to demonstrate automation skills using Java + Selenium + TestNG.
Key areas covered in the project include:
- Handling iFrames
- Managing JavaScript Alerts
- Capturing Screenshots
- Executing JavaScript commands with Selenium
- Organizing tests with TestNG
- Language: Java ☕
- Automation Tool: Selenium WebDriver 🌐
- Test Framework: TestNG ✅
- Build Tool: Maven 📦
- IDE Used: Eclipse 🖥️
DemoQA-UI-Automation/
│── src/main/java/ # Main Java classes (if required)
│── src/main/resources/ # Config files (if any)
│
│── src/test/java/
│ ├── tests/
│ │ └── SeleniumSprintChallenge.java # Test scenarios
│
│── src/test/resources/ # Test resources (if any)
│
│── screenshots/ # Screenshots captured during execution
│ ├── fillFormAndRadioButtonTest.png
│ ├── handleDropdownsAndCalendar.png
│ ├── handleWindowsAlertsIframes.png
│ └── useJavaScriptExecutorTest.png
│
│── test-output/ # TestNG HTML reports
│── pom.xml # Maven dependencies
│── README.md # Project documentation
✔️ Fill Form & Select Radio Buttons
✔️ Handle Dropdowns and Calendar Widgets
✔️ Work with Windows, Alerts, and iFrames
✔️ Execute JavaScript commands using Selenium’s JavascriptExecutor
✔️ Capture Screenshots on test execution
- Clone the repository
git clone https://github.com/Shivshanker869/DemoQA_Automation.git cd DemoQA_Automation