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
36 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
52 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
34 views

Cucumber: 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 as below: I have created step following: Feature: Try to login in Testsite ...
2
votes
2answers
61 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
24 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
83 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
31 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
69 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
70 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
94 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
130 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
77 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
52 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
46 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
50 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
78 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
784 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
401 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
4k 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. ...