A scalable web automation framework built using Java, Selenium WebDriver, TestNG, Maven, and the Page Object Model (POM) design pattern.
- Java 21
- Selenium WebDriver
- TestNG
- Maven
- Page Object Model (POM)
- Git & GitHub
src
├── main
│ ├── java
│ │ └── com.automation.pages
│ └── resources
│ └── config.properties
│
├── test
│ └── java
│ ├── com.automation.base
│ └── com.automation.test
│
TestNG
└── testNg.xml
- Login Automation
- Base Test Setup
- Browser Initialization
- Configuration Management
- Page Object Model (POM)
- TestNG Test Execution
- File Upload Automation
- Database Validation
- API Testing
- AI/RAG Workflow Automation
- Screenshot Capture
- Reporting
- Parallel Execution
- Cross Browser Testing
- Jenkins CI/CD Integration
- Docker Support
- Java 21+
- Maven
- IntelliJ IDEA
- Chrome Browser
- Git
Clone the repository:
git clone https://github.com/<your-username>/<repository-name>.gitGo to the project folder:
cd <repository-name>Install dependencies:
mvn clean installRun the tests:
mvn testOr execute the TestNG suite:
mvn test -DsuiteXmlFile=TestNG/testNg.xmlCreate a config.properties file inside:
src/main/resources/
Example:
appUrl=https://example.com
browser=chrome
username=your_username
password=your_password
`
> **Note:** `config.properties` is ignored by Git to protect sensitive credentials.
## 📌 Design Pattern
- Page Object Model (POM)
## 🤝 Contributing
Contributions, suggestions, and improvements are welcome.
## 📄 License
This project is for learning and demonstration purposes.
## 👨💻 Author
**Alok Bharati**:-
QA Automation Engineer