Wednesday, April 6, 2016

Cucumber Feature Files Configuring for automation Testing

Cucumber is a tool based on Behavior Driven Development (BDD) framework which is used to write acceptance tests for web application. It allows automation of functional validation in easily readable and understandable format to Business Analysts, Developers, Testers, etc.Cucumber can be used along with Selenium, Watir, and Capybara etc. Cucumber supports many other languages like Perl, PHP, Python, .Net etc.

When configuring cucumber in to Eclipse there should be kept some downloaded files from maven repository.
After importing these prerequisites to the project, should download cucumber plugin for Eclipse for having cucumber features in to Eclipse. Download cucumber eclipse plugin to install in the feature file in eclipse by using the following link by moving to the help tab in eclipse and then selects install new software and download the plugin and save it in eclipse.
After you creating your project and feature files, you should remove one external jar file before run the feature file. If you forget to remove that jar file, the feature file will not be successfully executed and there will be an unexceptional error. For avoiding this error message, you should remove the imported cucumber jar file which displayed from the below.

 

No comments :

Post a Comment