CUCUMBER - AUTOMATION

Cucumber is a software tool used by computer programmers for testing other software. It runs automated acceptance tests written in a behavior-driven development (BDD) style Central to the Cucumber BDD approach is its plain language parser called Gherkin. It allows expected software behaviours to be specified in a logical language that customers can understand.


Gherkin is a plain English text language, which helps the tool - Cucumber to interpret and execute the test scripts.The purpose behind Gherkin's syntax is to promote behavior-driven development practices across an entire development team, including business analysts and managers. It seeks to enforce firm, unambiguous requirements starting in the initial phases of requirements definition by business management and in other stages of the development lifecycle.In addition to providing a script for automated testing, Gherkin's natural language syntax is designed to provide simple documentation of the code under test.


Installation Guide :

1.Install Java 8.

2.Install Jruby (Latest Version)

3.gem install bundler

4.Navigate automation script relative path

5.bundle install

6.To generate a Report :

Cmd : Cucumber features -t @automation -f html -o report_test_todaydate.html

7.If case of any failure in the cucumber report , then a manual testing should be done for failure scenarios.

8.For any new defect we have to do Manual testing.


Functionalities tested using Cucumber automation :

The functionalities tested (which includes automated and manual)

1)Login Screen functionality

2)Collection Screen functionalities

3)Request Screen functionalities

4)Search functionality

5)User-Roles Screen functionalities.




Source code:

The scripts can be downloaded from GitHub - Cucumber-automation. Few generated reports are also available in the GitHub.