Store Framework Selenium A Selenium WebDriver test automation framework built with Java, TestNG, and Maven.
Overview Page Object Model (POM) based framework for automated web testing with TestNG, data-driven approach, and detailed reporting.
Features • Page Object Model (POM) design pattern • Data-Driven Testing with Excel/CSV • TestNG for test configuration and execution • Extent Reports with screenshots • Cross-Browser Testing support • Centralized configuration management
Technology Stack • Java | Selenium WebDriver | TestNG | Maven • Extent Reports | Apache POI | Log4j
Project Structure Store_Framework_selenium/ ├── configuration/ # Config files ├── logs/ # Log files ├── Reports/ # Test reports ├── screenshot/ # Screenshots ├── src/main/java/ # Page Objects, Utilities ├── src/test/java/ # Test classes ├── TestData/ # Test data (Excel/CSV) ├── pom.xml # Maven config └── testng.xml # TestNG suite
Prerequisites • Java JDK 8+ • Maven 3.6+ • IDE (Eclipse/IntelliJ) • Chrome/Firefox browser
Installation git clone https://github.com/mdraza7544/Store_Framework_selenium.git cd Store_Framework_selenium mvn clean install
Running Tests
mvn clean test
mvn clean test -Dtest=YourTestClassName
mvn clean test -Dbrowser=firefox Or right-click testng.xml → Run As → TestNG Suite
Reporting • Extent Reports: Reports/ExtentReport.html • TestNG Reports: test-output/index.html • Logs: logs/ directory • Screenshots: Automatically captured on failures in screenshot/
Contributing
- Fork the repository
- Create feature branch (git checkout -b feature/NewFeature)
- Commit changes (git commit -m 'Add NewFeature')
- Push to branch (git push origin feature/NewFeature)
- Open Pull Request
Author Md Ashif Raza