Cucumber is a tool for running automated acceptance tests written in a BDD (behaviour-driven development) style.

learn more… | top users | synonyms

0
votes
1answer
14 views

Cucumber not finding @Findby annotations

Im trying to set up cucumber over my page object. I currently have as my login page object: @FindBy (id = cF.username) public WebElement username; @FindBy (id = cF.password) ...
0
votes
2answers
27 views

cucumber java.lang.IllegalArgumentException: Not a file or directory:

I'm new to cucumber. I have created a cucumber project but cannot seem to run the project. Every time I do, I get an error: java.lang.IllegalArgumentException: Not a file or directory: Here is how my ...
0
votes
1answer
25 views

@And annotation in Cucumber

I am going through some examples and some books in relation to Cucumber usage and it looks like @And annotation is never being caught by the regex. I mean it is a valid Gherkin keyword and it is being ...
1
vote
0answers
37 views

Cucucmber-Jvm (Using Maven Project) + Selenium WebDriver + PageObjects + Allure Report

I am working on "Cucucmber-Jvm (Using Maven Project) + Selenium WebDriver + PageObjects + Allure Report", I am able to run my script but enable to run my script and also unable generate "Allure" ...
0
votes
1answer
41 views

Test Management Tool for Cucumber

I am investigating the use of Cucumber in my company, but I will need a good test management tool to store test results, and do reporting. Can anyone recommend a test management tool that can work ...
2
votes
3answers
83 views

The best time to run acceptance-tests with Cucumber/selenium?

I want to know, which is the best way to run automated and acceptance tests? Because now I have two environments, which are develop and qa, but I don't know if the better way to run these tests is ...
0
votes
3answers
71 views

Finding grandparent of an element using xpath in selenium

I want to click the parent of an element if the text within the child matches a certain string. I am using contains to find the text and :xpath,"../../" to find the parent. Here is ruby code: ...
1
vote
1answer
47 views

How Can i build Data Driven framework with Watir Webdriver where test data will be excel files

I need help to build data driven framework for WATIR Webdriver. Here my concern is, can we build data driven framework by reading data from excel in Watir-webdriver as we have option in ...
1
vote
1answer
31 views

Storing data in txt files to be open Cucumber when running a login test?

I am looking to see if this is possible... I am writing UI tests for web and mobile in Cucumber (using Protractor for web and Appium for mobile) and would like to store login details (email and ...
0
votes
1answer
35 views

Appium (iOS) how to choose two UITableCells with the same name

I am using Appium and Cucumber with Ruby to carry out some UI tests on our application. I want to use the code below to select a button, with the same name but found in two different cells, for ...
0
votes
1answer
34 views

Running script at the end of cucumber test

I have a script I need to run after all my cucumber test. What's the best way to do this? It seems like the After hook only applies to scenarios.
0
votes
1answer
67 views

When to launch application server during a cucumber test

I am currently setting a testing environment and I want to for now run my automated tests locally (I'll run then on a CI server in the near future). I have written a script which goes into the ...
1
vote
1answer
549 views

Cucumber not finding chromedriver

I'm trying to get Chromedriver to work with my cucumber BDD/watir-webdriver setup. 1) Cucumber+ firefox: works fine 2) irb + chromedriver: works fine 3) cucumber + chromedriver : doesn't work Here's ...
1
vote
1answer
389 views

Best resources for learning Ruby/Cucumber/Rspec test suite organization and refactoring [closed]

I'm working with a Cucumber suite that needs refactoring and organization. The end goal is to have a maintainable suite of tests that matter enough that developers will stop if the cucumber tests are ...
2
votes
2answers
3k views

Getting Started Web service and RestFul API Testing with CUCUMBER - Looking for tutorials

I am looking to get started building a project and want to use CUCUMBER from day one. My Ruby background is Intermediate; however, I do have a good understanding of MVC and the structure within Ruby. ...