#Cucumber BDD Test Automation Framework
##Selenium & Java based Frontend
and Backend
automation suite utilising the BDD methodologies of Cucumber and Gherkin
-
- Install JAVA SDK 12
-
- Install Maven
-
- Install Plugins (Cucumber,Gherkin)
Intellij IDEA -> Preferences -> Plugins -> Marketplace ->
Cucumber
for Java Intellij IDEA -> Preferences -> Plugins -> Marketplace ->Gherkin
Intellij IDEA -> Settings -> Plugins -> Marketplace ->
Cucumber
for Java Intellij IDEA -> Preferences -> Plugins -> Marketplace ->Gherkin
The cucumber BDD testing framework Using keywords such as Given, When, Then and And, acceptance criteria tests known as feature files can then be broken down into testable steps. Can be utilized both for UI and Backend Testing
Overall testframework leveraging the Cucumber framework with Selenium written in JAVA.
The feature file specifies the steps in BDD language style (Plain English Language
)
In order to keep common methods separate
Java class whereby the necessary HTML objects are captured as WebElements to be manipulated by the associated model class to be able to reach and maintain easly
Local chromedriver necessary in order
Cucumber has a built in report generation whereby Feature files tested are automatically written to cucumbers own reporting system.
To run Report
```$ mvn verify => the folders and files will be created as HTML format