Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.43 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.43 KB

Buggy Cars Rating

Test Automation Framework for Buggy Cars Rating (https://buggy.justtestit.org/)

OS Supported: Windows

Prerequisites:

  1. IntelliJ IDEA
  2. Java 8
  3. Maven
  4. Git

Clone using IntelliJ IDEA

  1. Open IntelliJ IDEA
  2. Select File > New > Project from Version Control > Git
  3. Enter "https://github.com/edwinjohnforonda/xero-production.git" in url
  4. Select directory where you want to save the project
  5. Click Clone button
  6. Click 'Import Changes' (if necessary)
  7. Checkout main branch if necessary (git checkout main)

Import Libraries

  1. Right click pom.xml
  2. Select Maven > Reimport (External Libraries should be populated)

Download chromedriver.exe and geckodiver.exe if necessary

  • Save chromedriver.exe and geckodiver.exe under src\main\resources

NOTE: Ideally chromedriver.exe and geckodiver.exe are added in .gitignore file , but have been added in this project for convenience of checking this exercise

Setup Configuration

  1. In the menu select Run > Edit Configurations...
  2. Click + (Add New Configuration)
  3. Select JUnit
  4. Edit name to Launcher
  5. Select class Launcher
  6. Click Apply then OK

How to run using IntelliJ IDEA

  1. In the menu select Run
  2. Then click Run 'Launcher'

To view report open /target/cucumber-html-report/index.html in browser