Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wkjuniordiaz/cucumber-web-automation

Personal portfolio to showcase my automation skills. Build with Java and Cucumber
https://github.com/wkjuniordiaz/cucumber-web-automation

cucumber java selenium

Last synced: 27 days ago
JSON representation

Personal portfolio to showcase my automation skills. Build with Java and Cucumber

Awesome Lists containing this project

README

        

# Cucumber-Web-Automation

## Installation
* Download [IntelliJ IDEA](https://www.jetbrains.com/idea/)
* Download [Github Desktop](https://desktop.github.com/)

## How to clone the project
* Open Github desktop.
* Select **Add-Clone Repository** from Left Menu.
* Enter the repository URL (SSH)
* Select the **Clone** button.
* Select **Open in Intellij**, in case Intellij is not by default: Select "Options on the section Open the repository in your external editor".
* Wait for the dependencies to finish downloading.

## IntelliJ Project Setup
* Select "File" from top menu bar
* Select "Settings" option
* Select "Plugins" option from Settings modal
* Search for “Gherkin” plugin and install
* Search for “Cucumber for Java” plugin and install

## Running the project:
To run the project we need to use the following steps:
1. Open the pom.xml
2. On the left side of the IDEA you will find a section "Maven", click on "Maven"
3. Click on the download icon and select "Download Sources" and wait for the dependencies to download
4. On the right side of the IDEA, under Project tree search for the class **TestRunner** on the package of **runner**.
5. Right click on the class "TestRunner" and select "Run TestRunner"

## Report
To visualize the report after the execution of the TestRunner we need to use the following steps:
1. Under the project tree, on the package "test-output", search for the cucumberReports directory.
2. Right click on the file AutomationReport.html
3. Select "Open in"
4. Select "Browser" choose the browser you prefer.