Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/abirhossenmunna/demoqa_testng_automation

This is an automation testing project of a DemoQA site built using Selenium Web driver and TestNG as testing framework.
https://github.com/abirhossenmunna/demoqa_testng_automation

allure-report gradle intellij-idea java selenium-webdriver testing

Last synced: 22 days ago
JSON representation

This is an automation testing project of a DemoQA site built using Selenium Web driver and TestNG as testing framework.

Awesome Lists containing this project

README

        

# DemoQA_TestNG_Automation

### This is a complete project where a DemoQA site is automated by writing test suites using selenium-webdriver and TestNg as testing framework.
The following key modules/pages are automated:

* Practice_Form
* TextBox_Elements

For failed test cases it will take a screenshot aswell at the point of failure.

### Technology:

* Tool: Selenium Webdriver
* IDE: Intellij
* Build tool: Gradle
* Language: Java
* Test_Runner: TestNG

### Prerequisite:
* Need to install jdk 11, gradle and allure
* Configure Environment variable for jdk 11, gradle and allure
* Clone this project and unzip it
* Open the project folder
* Double click on "build.gradle" and open it through IntellIJ IDEA
* Let the project build successfully
* Click on "Terminal" and run the automation scripts

### Run the Automation Script by the following command:

```bash
gradle clean test
```
* Selenium will open the browser and start automating.
* After automation to view allure report , give the following commands:

```bash
allure generate allure-results --clean -o allure-report
allure serve allure-results
```
#### Here is the Normal report overview:
DemoQA_report

#### Here is the Allure report overview:
Allure_Summary_report

#### Here are the suites of this project:
Allure_Suits