Skip to content

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

Notifications You must be signed in to change notification settings

AbirHossenMunna/DemoQA_TestNG_Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  gradle clean test 
  • Selenium will open the browser and start automating.
  • After automation to view allure report , give the following commands:
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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages