View Code? Open in Web Editor
NEW
This project forked from writeonk/seleniumwebdrivergradledemo
Selenium Webdriver + Java + Gradle + Extent Report + Log4j2
seleniumwebdrivergradledemo's Introduction
Selenium Webdriver Gradle Demo
- Automation test suite for Web Application
- Java 8 as a language
- Gradle as a Build Tool
- ๐ฅ Selnium 4.0 Webdriver
- ๐ฅ Extent Spark Report
- ๐ฅ Log4j2
- Cross Browser Testing - Chrome, Firefox, Safari
- WebDriverManager
Setup Project on Machine for work
- Install IntelliJ IDEA
- Install java
- Install jdk & jre
- As it is a gradle project, no other dependencies need to download. All the dependencies that required for project is already added.
After setting up IntelliJ & Java on your machine
- Download the project from git and unzip it or take a git clone.
- Open IntelliJ
- Import projects pop up will open
- Browse the project from your local machine.
Run Project and Get a Report & logs
- Run TestNg Suite
- wait till project run completly. Once it finished.
- Expand Report folder and you will find latest report there with latest date and time.
- Click on Report and open with web-browser
- Find logs in log folder
Running test suites from the command line
- CD into the directory containing the test suite for the application you want.
cd com.novohq.app
Run $ gradle clean test
to run full suite
Run $ gradle clean smokeTests
to run smoke testcases
seleniumwebdrivergradledemo's People
Contributors