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

learn more… | top users | synonyms

0
votes
2answers
63 views

Cucumber and TestNG integration

I have a simple question as I am just getting into Test Automation. I want to develop Cucumber smoke tests and acceptance tests as they would be easy to read and understand for my colleagues. ...
1
vote
1answer
48 views

What's the difference between using Python vs. Ruby for Browser Automation testing? [closed]

I want to automate test cases on web browsers and I love the concept of Python's Salad (mix of Lettuce (BDD) and Splinter (browser automation)). But I've heard that Salad might not be the most stable,...
1
vote
0answers
49 views

How to Allow Firefox Offline Storage using Selenium

I am in the process of creating some BDD tests using Java, Cucumber & Selenium. The problem I am having is the website I am attempting to test has been specifically designed to work with firefox ...
2
votes
1answer
71 views

Is Parallel Testing possible in Cucumber with TestNG?

I am trying to implement Cucumber-JVM with testNG and I need to execute the scripts in parallel with multiple browsers. Is Parallel Testing possible in Cucumber? If Yes, Can any one help me on this?
0
votes
1answer
59 views

Rubymine / Cucumber: Tests run fine, but are shown as “Failed to start” in Event Log

I have several Cucumber tests that are running fine (I closely watch them), all pass, and everything works good. But Event Log in Rubymine keeps showing all the tests that pass in this way: Failed to ...
1
vote
1answer
53 views

Automated integration testing spanning multiple services

I am working on a project in which we keep one wiki platform in sync with the content of other. The way we do this is a document edit on 'Wiki A' kicks of a data flow pipeline that transforms data ...
2
votes
1answer
46 views

How can I set up concurrent execution on multiple devices using different test users? - Calabash

I have an automation suite for our native apps on Android and iOS created using Cucumber, Calabash, and Ruby. I'm utilizing a Page Object Pattern to allow for our project to be cross-platform. At ...
0
votes
0answers
39 views

Native Automation with Geb/Cucumber?

Does anyone have any experience with using Geb and Cucumber in testing Native Apps? Trying to figure out why I cant use the Geb Page object in my tests. Seems to time out on me and throw the ...
0
votes
2answers
143 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
56 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 "Given"...
1
vote
1answer
187 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
4answers
274 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 ...
2
votes
1answer
99 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
146 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 jekyll/...
1
vote
1answer
244 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
51 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
39 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
89 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
249 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
255 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
2k 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 ...
3
votes
2answers
880 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
141 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
3answers
2k 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
96 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
354 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
433 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
220 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
1k 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: test=@...
1
vote
1answer
376 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 Selenium+...
4
votes
3answers
369 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 ...
2
votes
1answer
198 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
182 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
204 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
3k 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
523 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
6k 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. ...