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
23 views

Sharing cucumber/selenium step definitions between projects [on hold]

For a first web project covered by cucumber-jvm & selenium features (mostly based on cucumber-java-skeleton), I wrote a few step definitions that are stored in this project repository. I would ...
0
votes
2answers
36 views

Cucumber: Multiple vs One step definitions file?

Im trying to figure out what the better way to do this is? On one hand separating your step definitions based on the different feature tests is nice for organization (or in case one breaks and you ...
3
votes
3answers
47 views

The Usage of “Given” in Cucumber?

So im trying to get better at writing Declarative style cucumber tests that make sense, I think the hardest "Keyword" for me to properly form into a feature file is the "Given" keyword. I know ...
0
votes
0answers
66 views

Debug cucumber js selenium webdriver

I am using cucumber js + selenium webdriver + Webstorm IDE. What is the most convenient way to debug my tests?
1
vote
3answers
107 views

Test Management Tool for Cucumber part 2

I saw there is already a question on this, as well as an answer in this link: Test Management Tool for Cucumber But I have a doubt, as is suggested I used Jenkins and created a job to execute my ...
1
vote
1answer
72 views

BDD Acceptance Tests feel…short?

So i'm newly adapted to BDD, and have been using Cucumber for Test Automation, but I also use the "Gherkin" style for writing acceptance tests (that I will hopefully be able to automate in the future, ...
1
vote
0answers
83 views

Loading large amount of data into cucumber / selenium via yaml files

I'm somewhat new to automated testing and this is a general testing design question based on my current project: A client has a question/answer tool in Excel that is being ported over to a ...
1
vote
1answer
108 views

Using tagged hooks to run tests with different browsers

I've looked at resources like here and here, but these solutions are not working for me. What I want to do: without involving much heavy machinery (unless I have to) and without using a third-party ...
1
vote
1answer
39 views

Selenium>Cucumber: How can I set default param for steps?

I'm new in Cucumber. I've concern that is there any way to strict default param in testcase.fearture. For example: And User click Delete on task action And in step definition, my params should ...
0
votes
0answers
34 views

Undefined Method when executing cucumber

I wrote a cucumber scenario with the following steps Scenario: Validate in orders list the order status "Order Creates" When I click on the orders button And the order "14103795" is visible Then I ...
0
votes
0answers
75 views

Things to consider when starting project with Cucumber and Page Object Pattern?

I'm trying to build a new framework based on Cucumber and Page Object Pattern. Could you please advice me what approach to take based on your experience before doing automation project like: What's ...
0
votes
1answer
139 views

Cucumber: Where do you store your Feature Files/cukes?

So i haven't used cucumber yet, but have been exploring it deeply. Right now I'm starting up a QA dept (just me right now) for a Small Web-Dev company. I've been researching the heck out of every QA ...
1
vote
2answers
162 views

Unable to handle iFrame in Selenium

I'm trying to access iFrame <iframe id="frame1" style="width: 100%; height: 100%; display: block;" tabindex="100"> <html> <head xmlns="http://www.w3.org/1999/xhtml"> ...
0
votes
0answers
1k views

Using Protractor Cucumber JS: When running a test, the test passes when it shouldn't

I'm writing a test where I should log in. It passed given the proper inputs but when I change its password/username to garbage, it still passes. I'm new to this and I really think I missed something ...
0
votes
0answers
178 views

Cucumber: Getting undefined steps in cucumber-jvm although step is definitely defined!

I'm having problem when executing the test-script which is designed with Cucumber framework with Java. My structure is as below: I have created following step: Feature: Try to login in Testsite ...
3
votes
2answers
509 views

Getting response headers with Selenium Webdriver / Chromedriver

I have a cucumber project in Ruby using Selenium Webdriver and Chromedriver and I would like to know if a page I access is up or in maintenance. To do this, I would like to access the response-headers ...
0
votes
1answer
98 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
786 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
68 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
251 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
250 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
183 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 ...
1
vote
3answers
858 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
269 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 ...
3
votes
3answers
228 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 ...
1
vote
1answer
128 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
131 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
158 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
2k 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
493 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
5k 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. ...