Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sadabnepal/selenium-java-testng

A very handy reusable maven project that uses Selenium Webdriver and Java
https://github.com/sadabnepal/selenium-java-testng

base64image cross-browser-testing dataprovider exceldatareader exception-handling extent-report-4 selenium selenium-webdriver test-automation-framework test-driven-development testing-framework testng webdriver

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://user-images.githubusercontent.com/65847528/105609364-d437b980-5dce-11eb-94be-ab5192791150.PNG)

### Special Thanks
This complete framework is built by following [Testing Mini Bytes](https://www.youtube.com/playlist?list=PL9ok7C7Yn9A_JZFMrhrgEwfqQGiuyvSkB) Youtube channel. Do checkout his awesome videos.