How ebrahimhossaincse/playwright-data-driven-testing-with-java-testng-and-extent-reports works
a. Primary Flow:
• TestNG Suite → Test Classes → Page Objects → BaseDriver → Browser
b. Secondary Flows:
• Test Classes ←→ Utilities (ExcelUtils, CommonMethods)
• Test Execution → ExtentFactory → Reports
Important Elements
a. Framework Components:
• Playwright Browser Instance (managed by BaseDriver)
• TestNG Test Suite Configuration
• Page Object Model Implementation
• Data-Driven Testing Framework
• Reporting Mechanism
b. Design Patterns Used:
• Page Object Model (POM)
• Factory Pattern (ExtentFactory)
• Singleton Pattern (for driver management)