This repository contains:
- Test Scnario and Test Cases for testing automationpractice.com
- Bugs on automationpractice.com
- Ruby-Selenium-Cucumber-Gherkin test script
- Katalon Project files for testing automationpractice.com
Requirements:
- Ruby v2.5.1
- Selenium-webdriver, latest version
- Cucumber, latest version
Instructions if you want to run the script :
- Install ruby
- Install gem cucumber
- Install gem selenium-webdriver
- Execute test based on tags, since it was intended that way :) , eg: $ cucumber --tags @register
- Tags :@register, @valid-login, @invalid-login, @purchase-invalid, @purchase-valid
- Generate report using built in command, eg: cucumber --tags @purchase-valid --format html --out purchase-valid-report.html
For katalon project files, just clone and extract into your katalon project folder, and then run the script from inside katalon Studio, I have never tried it, hope it works :) .