Skip to content

tarif-qups/pinterest_test_automation_with_cucumber_java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test automation project using Cucumber and Java


This repository contains Cucumber-Java project to perform test automation on https://www.pinterest.com. I have used TestNg for performing assertions and Allure for generating reports.



Tested Website

Pinterest

Pre-requisites (Installations):

  • JDK 17.0.1+
  • Maven
  • IntelliJ IDE
  • Allure

Dependencies:

  • cucumber-java 7.2.3
  • cucumber-testng 7.2.3
  • cucumber-junit 7.2.3
  • selenium-java 4.1.3
  • allure-cucumber7-jvm 2.17.3
  • cucumber-compiler-plugin 3.10.1
  • maven-surefire-plugin 3.0.0.M6

##Running the Tests:

  • Open project in IntelliJ IDE.
  • Run TestNg.xml file.
  • Note: for testing signup process, change the email address on Signup.feature file located at src/test/java/features.
Examples:
      | Email                  | Password | Age |
      | fikkodoltu10@vusra.com | 1212121  | 25  |

Reports:

Allure reports are generated in xml, html and json formats which are saved in allure-reports folder.

After running the tests, open "Terminal" in IntelliJ IDE and write command allure serve allure-report to generate allure report using allure server.

allure serve allure-report

Sample Test Reports:






Author:

This project was developed by Tariful Islam Abir under supervission of Quality Up Services (QUPS).

Releases

No releases published

Packages

No packages published

Languages