Skip to content

sadabnepal/selenium-automation-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeleniumAutomationFramework

This is a very handy reusable maven project that uses Selenium Webdriver and Java.

Key Features

- 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

Getting Started

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

View Framework Java Document

  • Documents are saved under {PROJECT_ROOT_FOLDER}/javadoc/index.html

View Report

  • Reports are saved under {PROJECT_ROOT_FOLDER}/extent-output/datetime_index.html

Reports used

  • Spark Report

Sample Report

SampleReport

Special Thanks

This complete framework is built by following Testing Mini Bytes Youtube channel. Do checkout his awesome vidoes.