How ayub-223/test-automation-framework---java-selenium works
This repository is presented as a Selenium/TestNG web-UI automation framework. Its principal workflow is to initialize a browser, run test scenarios through page objects, handle OTP retrieval when required, and validate business workflows such as wallet, product, and transaction flows. The README also documents API validation and selected-run recording/highlighting. Source excerpts cover only a standalone Hello World entry point, so relationships below rely on README descriptions; implementation details and individual test-to-page calls remain unverified.
Main entry points: Test TestNG scenarios · EndToEndTest.java End-to-end flow · TransactionPageTest_demo.java Transaction tests · OTPUtils.java OTP retrieval
Components 17
Test execution
- TestNG scenarios
src/test/java/Test - End-to-end flow
src/test/java/Test/EndToEndTest.java - Transaction tests
src/test/java/Test/TransactionPageTest_demo.java - Export validation
src/test/java/Test/Transaction_30_90_days_export.java - Browser setup
src/test/java/base/BaseTest.java
Page interactions
- Login page
src/test/java/Pages/LoginPage.java - Wallet page
src/test/java/Pages/WalletPage.java - Product page
src/test/java/Pages/productpage.java - Transaction page
src/test/java/Pages/transaction_page.java
Automation support
- OTP retrieval
src/test/java/Utilities/OTPUtils.java - OTP helper
src/test/java/Utilities/otp_reader.py - UI highlighting
src/test/java/Utilities/HighlightUtility.java - Screen recording
src/test/java/Utilities/ScreenRecorderUtil.java - API validation
src/test/java
External systems
- Browser
- Web application
- Email environment
Connections 17
- TestNG scenarios → Browser setup: initializes
README.md - TestNG scenarios → End-to-end flow: runs
README.md - TestNG scenarios → Transaction tests: runs
README.md - TestNG scenarios → Export validation: runs
README.md - Browser setup → Browser: sets up
README.md - End-to-end flow → Login page: uses page objects
README.md - End-to-end flow → Wallet page: uses page objects
README.md - End-to-end flow → Product page: uses page objects
README.md - Transaction tests → Transaction page: uses page objects
README.md - Export validation → Transaction page: validates exports
README.md - Login page → Web application: interacts with
README.md - OTP retrieval → Email environment: retrieves OTP
README.md - OTP helper → OTP retrieval: supports
- End-to-end flow → OTP retrieval: uses OTP
README.md - Transaction tests → API validation: may validate API
- TestNG scenarios → UI highlighting: uses utility
README.md - TestNG scenarios → Screen recording: records selected flows
README.md