Questions tagged [cucumber-java]

Cucumber-JVM is a pure Java implementation of Cucumber that supports the most popular programming languages for the JVM. Cucumber-JVM supports the following JVM languages: - Java - Groovy - Scala - Clojure - Jython - JRuby - Rhino JavaScript - Gosu

Cucumber is basically Ruby based. But Java can be used by using Cucumber JVM.

Running You can run it with the tool of your choice. There are several ways to run scenarios with Cucumber-JVM:

  • JUnit Runner
  • CLI Runner
  • Android Runner
  • Third party runners

Cucumber-JVM also integrates with all the popular Dependency Injection containers. For details Dependency Injection

1140 questions
-1
votes
1 answer

BrowserDriver never restarts for each SERENITY CUCUMBER scenario

I want to have restarted my BrowserDriver for each serenity scenario runs. So every time new Driver will open for each scenario and closes the previous. But it never happens. In my framework, the browser keeps open and i don't want that. Here is my…
ASM
  • 709
  • 2
  • 8
  • 27
-1
votes
3 answers

How to find an element which has dynamic generating id

I need to click this element and upload a document, but here the id of the button is generating dynamically. Element:
-1
votes
1 answer

when to use Scenario scenario parameter in cucumber jvm

I searched for exact reason & significance of using Scenario scenario parameter ( import cucumber.api.Scenario; ) but didn't clear answer. https://github.com/cucumber/cucumber/wiki/Hooks > Scenario Hooks section doesn't explain in detail. Please…
vikramvi
  • 3,312
  • 10
  • 45
  • 68
-1
votes
1 answer

Sharing object between cucumber scenarios

for workflow orchestra application where i say product is created and goes through continuous approval/workflow in which i would be creating product id which will be used across all the scenarios inside feature. The product id created in first…
Rajar R
  • 127
  • 1
  • 1
  • 10
-1
votes
1 answer

As of today 03/24/2017 what versions of Cucumber Java are out there

The information on the net is a little misleading but here is what I was able to find out. A stable implementation of Cucumber is the 1.3.15. The stable Java implementation is 1.2.5. Is there is already a 2.4 version of Cucumber or just the version…
anon
-2
votes
1 answer

Selenium 4.0(Java) + Cucumber + Browserstack + Applitools

I want to create test automation framework which has Cucumber, Selenium Webdriver 4.0 version with Cross browser capabilities, which will get executed on Browserstack and visual validation through applitools. Any suggestions will be far helpful
-2
votes
2 answers

unable to fine AbstractTestNGCucumberTests class

I have added dependencies in my pom file and still not able to extend AbstractTestNGCucumberTests
sakura
  • 1
  • 1
  • 1
-2
votes
2 answers

Writing step definition in cucumber for a feature file with multiple scenarios

How to write a step definition for a single feature file with multiple scenarios in cucumber?
-2
votes
2 answers

How to get the text from textarea of Anjular an JS element, When i tried using getText() it is returning empty text and if i used ng-model

Html code of Element I want to get text: