Skip to content

devenbairat/HotelBookingEE

Repository files navigation

HotelBookingForm-EE

This repo consists of maven implementation of java selenium cucumber. It performs some happy path and some negative Frontend tests as mentioned in the Feature files.

Web Driver Setup

This project will use Selenium WebDriver to interact with the Chrome browser. The code can be easily changed to work with any other web browsers after installing the respective web drivers. The tests were implemented using latest version of Chrome (Version 88.0.4324.96) and latest Chrome driver which has been included in the project. In case of any tests failure please confirm Chrome browser and Chromedriver versions are compatible.

Java version

The tests were implemented with project on Intellij configured to use Java version - openjdk-11.0.2.jdk

Environment

The tests were implemented on a MAC and was not tested on a Windows machine.

Running Tests

This project uses Maven. On terminal inside the project folder, run the following maven command: "mvn clean install"

To run tests, run the following maven command: "mvn test".

To generate a pretty report as shown below run the following command: "mvn cluecumber-report:reporting"

The report will be generated in the following location: "../target/generated-report/index.html"

Other html report can be found in the following location: "../target/cucumber-report.html"

Individual tests can also be executed using Intellij's Run Configuration.

Sample Report

Alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published