Test Automation Framework for Buggy Cars Rating (https://buggy.justtestit.org/)
OS Supported: Windows
Prerequisites:
- IntelliJ IDEA
- Java 8
- Maven
- Git
Clone using IntelliJ IDEA
- Open IntelliJ IDEA
- Select File > New > Project from Version Control > Git
- Enter "https://github.com/edwinjohnforonda/xero-production.git" in url
- Select directory where you want to save the project
- Click Clone button
- Click 'Import Changes' (if necessary)
- Checkout main branch if necessary (git checkout main)
Import Libraries
- Right click pom.xml
- 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
- In the menu select Run > Edit Configurations...
- Click + (Add New Configuration)
- Select JUnit
- Edit name to Launcher
- Select class Launcher
- Click Apply then OK
How to run using IntelliJ IDEA
- In the menu select Run
- Then click Run 'Launcher'
To view report open /target/cucumber-html-report/index.html in browser