Skip to content

A very handy reusable maven project that uses Selenium Webdriver and Java

Notifications You must be signed in to change notification settings

sadabnepal/selenium-java-testng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Java Test Automation Framework

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

Key Features

- Parallel Execution
- Customer Annotation
- Cross browser testing
- Page Object Model pattern
- Test Data Driven Framework
- ExtentLogger, Base64ImageScreenshot
- PropertyFileReader, ExcelReaderUtil, JsonReader, DataProviderUtil
- TestNGListeners, MethodInterceptor, FailedTestRetry, AnnotationTransformer

Getting Started

1. git clone https://github.com/sadabnepal/selenium-java-testng.git
2. Navigate to selenium-java-testng
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 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 videos.