How getbhavin84/selenium_framework_extent works
This repository is a Java Selenium/TestNG browser-automation project. Its visible user-to-result flow is a login-page interaction that proceeds through profile/resume updates; browser lifecycle support and reporting utilities provide surrounding infrastructure. TestNG base setup, the login test, and the listener are present in the tree, but their source was not sampled, so their connections are shown only as unverified. The excerpts do confirm browser use by the page object and screenshot utility, plus Extent report construction; no README was provided.
Main entry points: BrowserFactory.java Browser lifecycle · LoginTest.java Login test · BaseTest.java Test setup · LoginPage.java Login and resume
Components 15
Test orchestration
- Login test
src/test/java/tests/LoginTest.java - Test setup
src/test/java/base/BaseTest.java - Test listener
src/test/java/utils/TestListener.java - Configuration reader
src/main/java/utils/ConfigReader.java - Configuration properties
src/main/resources/config.properties
Browser automation
- Login and resume
src/main/java/pages/LoginPage.java - Browser lifecycle
src/main/java/utils/BrowserFactory.java
Test diagnostics
- Screenshot capture
src/main/java/utils/ScreenshotUtil.java - Screenshot files
- Extent report setup
src/main/java/utils/ExtentManager.java - HTML test report
reports/ExtentReport.html
Other components
- Test initiator
- Chrome browser
- Naukri site
- ExtentReports library
Connections 15
- Test initiator → Login test: starts tests
- Login test → Test setup: uses setup
- Test setup → Browser lifecycle: initializes browser
- Login test → Login and resume: exercises page
- Login and resume → Browser lifecycle: gets driver
src/main/java/pages/LoginPage.java - Browser lifecycle → Chrome browser: creates and quits
src/main/java/utils/BrowserFactory.java - Login and resume → Naukri site: automates profile
src/main/java/pages/LoginPage.java - Configuration reader → Configuration properties: loads properties
src/main/java/utils/ConfigReader.java - Test setup → Configuration reader: reads settings
- Test listener → Screenshot capture: captures on failure
- Screenshot capture → Browser lifecycle: captures driver
src/main/java/utils/ScreenshotUtil.java - Screenshot capture → Screenshot files: writes image
src/main/java/utils/ScreenshotUtil.java - Test listener → Extent report setup: records results
- Extent report setup → ExtentReports library: configures reporter
src/main/java/utils/ExtentManager.java - Extent report setup → HTML test report: sets report path
src/main/java/utils/ExtentManager.java