
Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Cucumber - Reuse the value of any variable
We have a scenario in which first we have to fill the form and then assert the values filled in the form. This can be achieved by two ways:
Call assertion step form submission step but both the steps should be under the same step def...
Rails Testing with Cucumber
Rails Testing with Cucumber
Hi Friends,
In my previous blog Testing In Rails: Introduction and Creating Test Data, I had given you a brief idea about testing and later we talked about how we can test rails models and controllers. Here ...
Parse big data in Cucumber using Doc Strings
There are many times when we have to handle a some large data(multiline text) in our Feature file. If we pass the data in data table then every line inside the data table will be considered as new argument. So, data table will not fulfill our req...
Capybara Optional capture Group and Optional noncapture Group
There are many times in our Feature file when there is a situation where we have to test the positive as well as the negative scenario. The steps are almost same with a little change. Let’s suppose the following scenarios:
Scen...
Reusability of Cucumber steps
Many times it has been noticed that some set of steps were required in another cucumber step. One way is to write previous steps again in the required cucumber step but this violates the “Reusability” feature of cucumber. So, the best...
Cucumber Feature file in different languages
There are many applications that run on different geographic locations and teams from locations also work on the same project. It may be possible the different team members are comfortable in writing feature files in different languages. So, cucu...
Step Definitions in Cucumber
Cucumber is a command-line tool that reads specifications from plain-language text files but cucumber itself does not have any idea as how to execute the scenario steps. Cucumber needs step definition to convert Gherkin step into some desired act...
How Cucumber Works ?
Cucumber a command-line tool has scenario inside the Feature file which contains a list of steps for the Cucumber to work through. Cucumber follow some basic rules or syntax called Gherkin to understand these feature files.
Since eac...
gherkin.parser.ParseError in cucumber feature file.
I created the below scenario in a cucumber feature file and when I executed the scenario then I got gherkin.parser.ParseError
Scenario : The user should be able to login for correct credentials
Given I am at the Home page
...