This is a very handy reusable maven project that uses Selenium Webdriver and Java.
- Java documentation
- Parallel Execution
- Customer Annotation
- Cross browser testing
- Page Object Model pattern
- Test Data Driven Framework
- ExtentLogger, Base64ImageScreenshot
- PropertyFileReader, ExcelReaderUtil, JsonReader, DataProviderUtil
- TestNGListners, MethodInterceptor, FailedTestRetry, AnnotationTransformer
1. git clone https://github.com/sadabnepal/SeleniumAutomationFramework.git
2. Navigate to SeleniumAutomationFramework
3. Open the project in any IDE
4. Open testdata.xlsx from src/test/resources/excel
5. In RUNNERMANAGER sheet Select yes for the test case you want to execute
6. In DATA sheet select test methods, test data, browser, execution count and save the file
7. Execute testng.xml as TestNG Suite
- Documents are saved under {PROJECT_ROOT_FOLDER}/javadoc/index.html
- Reports are saved under {PROJECT_ROOT_FOLDER}/extent-output/datetime_index.html
Spark Report
This complete framework is built by following Testing Mini Bytes Youtube channel. Do checkout his awesome vidoes.