Questions tagged as 'cucumber'

0
answers

Automation of tests with selenium cucumber and capybara

I'm starting to learn how to use a means for automating testing in web applications. However, I came across a problem that I can not solve and found nowhere (questions or documentation) that would explain a method that would solve my problem....
asked by 18.09.2016 / 06:17
1
answer

Assertion with Rspec

I use the Cucumber + Capybara + Ruby framework and I'm not able to make an assertion using the "expect" method. I need to, for example, validate four messages returned in the body, but displays error: Expected: "sunt aut facere repellat pr...
asked by 19.09.2017 / 14:09
0
answers

Burn PC screen in Ruby [closed]

I need to create a Cucumber report with video and for this I need to know if there is any Ruby gem that grabs the screen of the PC.     
asked by 15.08.2018 / 15:18
0
answers

Selenium opening two browsers even I instantiating only one

Galera, I'm using Cucumber with Selenium in JAVA. I have the following problem: at each step I do: private WebDriver driver; @Before public void before(){ driver = new FirefoxDriver(); } @Given("^something$) public void someGivenMehtod(...
asked by 26.07.2016 / 15:43
1
answer

How to nest step definitions inside another using Cucumber

I would like you to help me resolve this, I am trying to reference a step definition within another in the same file to avoid repetition of code, of course if this is possible. Example Dado /^escolho a letra (.*) $/ do |letter| # al...
asked by 26.04.2016 / 02:59
0
answers

Protractor with Cucumber does not run tests

Hello. I'm a beginner in cucumber protractor testing and I'm following some tutorials and in my case it does not work. I run my test but it only generates the Gherkin-based code I wrote. protractor protractor.config.js Execution result:...
asked by 01.11.2018 / 14:39
1
answer

NullPointer when using Cucumber and Rest-Assured

I am performing an API test using Cucumber and Rest-Assured, but in the call I use Rest-Assured a NullPointer is being returned. My Feature: Scenario: Parâmetros não foram informados Given A API de teste When A requisição for realiza...
asked by 22.10.2018 / 05:12
0
answers

How to solve the NoUrlForPage problem?

I need to implement an automation in cucumber but the application that I need to test is an IP address so I can not get a valid URL, the strange thing is that in the test it can find the url but closes the browser and does not continue the code....
asked by 27.09.2018 / 19:54
0
answers

Cucumber failing to instantiate class, 'steps undefined'

I get these errors on the console every time I try to run my test using cucumber with selenium: cucumber.runtime.CucumberException: Failed to instantiate class br.gov.pb.receita.atfbdd.steps.arrecadacao.ConsultarLancamentoARR001 - this class d...
asked by 17.09.2018 / 22:24
0
answers

Problem with #language: pt in Gherkin - Eclipse Photon

Everyone, how are you? Next, I'm trying to write a .feature in Portuguese but the recommended #language: pt did not work, which I have done so far: 1 - I saw on the net that version 3.0 of Gherkin.jar resolved, I downloaded but gave an err...
asked by 04.08.2018 / 17:34