How anubandi/selenium-testng-frameworkoct2026 works
This repository is a Java Selenium/TestNG UI automation framework for SauceDemo. The documented workflow is TestNG running login tests, with BaseTest preparing the browser and page objects; tests exercise page objects using reusable Selenium actions, while configuration supplies browser and URL settings. Failure handling captures screenshots and connects them to an HTML report. The graph focuses on that runtime framework and excludes CI/build machinery. Source excerpts were unavailable, so relationships are limited to those documented in the README; unsampled implementation details are not inferred.
Main entry points: BaseTest.java Base test · testng.xml Suite and groups · ConfigReader.java Config reader · ExtentManager.java Report setup
Components 15
Test execution
- Suite and groups
testng.xml - Base test
src/test/java/BaseTest.java - Login tests
src/test/java/LoginTest_DataProvider.java - Practice login tests
src/test/java/practsise/LoginTest.java - No-POM login test
src/test/java/practsise/LoginTestWithNoPOM.java
Page interactions
- Login page object
src/test/java/LoginPage.java - Practice login page
src/test/java/practsise/Loginpage.java - Inventory page
src/test/java/practsise/InventoryPage.java
Test support
- Reusable actions
src/test/java/CommonActions.java - Config reader
src/test/java/ConfigReader.java - Runtime configuration
src/test/resources/config.properties - Report setup
src/test/java/ExtentManager.java - Failure screenshots
src/test/java/BaseTest.java - HTML report
src/test/java/ExtentManager.java
Other components
- TestNG runner
Connections 10
- TestNG runner → Suite and groups: runs suite
README.md - Suite and groups → Login tests: groups tests
README.md - Base test → Login page object: creates page object
README.md - Base test → Inventory page: creates page object
README.md - Config reader → Runtime configuration: reads settings
README.md - Base test → Config reader: uses configuration
README.md - Base test → Failure screenshots: captures on failure
README.md - Base test → Report setup: creates reporting
README.md - Report setup → HTML report: produces report
README.md - Failure screenshots → HTML report: attaches evidence
README.md