cucumber-jvm Questions
5
Solved
I updated from Cucumber-JVM 2.4.0 to 3.0.2 in my pom.xml and DataTables started throwing this exception:
io.cucumber.datatable.UndefinedDataTableTypeException: Can't convert
DataTable to List&l...
Phallus asked 9/6, 2018 at 7:16
4
Solved
I have the following project structure:
MyProject
--src
--test
--acceptance
--step_definitions
--features
--unit
I would like to be able to run my cucumber tests (in test/acceptance) separ...
Barathea asked 10/8, 2013 at 17:34
9
Trying to implement cucumber to do some automated tests. jUnit tests. I've created 2 files and edited pom.xml that comes with maven project to add dependencies. Content is shown below. The first of...
Amphitropous asked 12/2, 2014 at 20:9
3
Solved
I am seeing below error and browser got disconnected between. Its happening only for chrome. Selenium version I am using is:
<groupId>org.seleniumhq.selenium</groupId>
<artifactId&g...
Dissuade asked 21/1, 2020 at 18:48
1
I'm encountering an issue with Pactum Cucumber where I'm getting an undefined error, despite receiving the expected output when testing the same request in the Postman application. Below, I've atta...
Elegit asked 11/2, 2024 at 16:26
7
I need to pass the List of strings from cucumber scenario which works fine as below
Scenario Outline: Verify some scenario
Given something
When user do something
Then user should have some "<...
Permanence asked 11/7, 2017 at 11:53
3
i have gone through many help, but all are about explaining on scenario level. Is there any Before and After hook at feature level for cucumber JVM.? This page cucumber Hook tells about ruby langua...
Escuage asked 13/10, 2017 at 16:21
5
Solved
I am currently using selenium with Java,And want to implement cucumber to make test script more readable.
Currently facing issue while passing argument to java method where Enum is expected as para...
Aphelion asked 11/1, 2016 at 9:33
11
In my cucumber -jvm, Maven, junit Setup I have my testRunner file as
package com.lebara.testrunner;
import cucumber.junit.Cucumber;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@Cu...
Ignazio asked 21/1, 2013 at 11:32
6
Is there an option to export recorded test script to Java/JUuit(similar to slenium IDE) in Katalon studio? Because the application I'm working on is compatible only with IE; so I couldn't use selen...
Barman asked 18/9, 2017 at 2:41
12
I have installed the cucumber-java and gherkin plugins in IntelliJ IDEA but when I create a .feature file it is not recognized as a feature file. I did restart IntelliJ and have checked to make sur...
Ogburn asked 24/8, 2016 at 19:32
5
Solved
I want to specify certain setup and tear down steps for each specific feature file. I've seen hooks that allows code to execute before every scenario, and hooks to execute code before each feature,...
Agrobiology asked 17/9, 2013 at 17:43
9
Solved
I try to build my first executable specifications with Java and Maven. I created a simple project with this structure:
specification
|-src
|-test
|-java
|-mypackage
|-MyFeatureTest.java
|-res...
Qadi asked 12/3, 2012 at 7:23
8
I want get current feature file name at runtime using Java. I have scenario info in hook but unable to get feature file
@Before
public void before(final Scenario scenario) {
this.scenario = scen...
Mortify asked 30/12, 2016 at 10:38
4
Apparently an instrumentation test run is stopped when on exception occurs in the instrumented application:
Test failed to run to completion. Reason: 'Instrumentation run failed due to 'Exceptio...
Unduly asked 26/4, 2016 at 9:51
4
I want to manually set up a Cucumber DataTable using Java (instead of Gherkin).
In Gherkin, my table would look like this:
| h1 | h2 |
| v1 | v2 |
My Java so far looks like this:
List<Strin...
Primrosa asked 11/2, 2014 at 14:24
2
Solved
I'm new to the UnitTesting and Cucumber, and today I tried to implement a simple example from a tutorial in Intelij and Eclipse and I got the same error when I try run the TestRunner.java.
My pom.x...
Minaret asked 11/4, 2021 at 22:26
5
Solved
The ruby version of cucumber supports a global before hook. An *.rb file placed in the features/support directory gets apparently called only once, before any and all scenarios run.
See https://git...
Alternant asked 4/11, 2013 at 14:38
6
Solved
I have below feature files (Separate feature files) in src/test/resources/feature/ and I would like to run them in parallel. Like: One feature file has to execute in chrome and another one has to e...
Swanherd asked 8/12, 2016 at 7:33
8
I am trying to find out if there is an option to figure out the cucumber step currently getting executed, I am trying to perform certain action depending on the step name.
I can see StepDefinition...
Renaissance asked 17/5, 2018 at 21:51
18
Solved
I am developing my Selenium-JVM framework with Cucumber and while running my first feature got below error.
Please help.
How did I launch the feature -
Right click on feature file
Select Run A...
Sandrocottus asked 18/9, 2014 at 22:26
5
I have searched all over the internet but a newbie on java I cant figure out how to simply install Cucumber-jvm on Eclipse.
What files do I need to download?
I already installed Eclipse. What do ...
Amateur asked 26/1, 2013 at 16:21
2
Solved
I am trying to scan rows in a HTML table using partial href xpath and perform further tests with that row's other column values.
<div id = "blah">
<table>
<tr>
<td><...
Spirochete asked 11/12, 2013 at 17:33
3
I am using cucumber-jvm to perform some functional tests in Kotlin.
I have the standard empty runner class:
@RunWith(Cucumber::class)
@CucumberOptions(features=[foo],
glue=[bar],
plugin=[baz],
s...
Trout asked 24/8, 2020 at 14:20
5
Is there anyway where we can use if/else concept in feature file? For example:
Scenario: User should be able to check login page
Given I am on login page
When I click on SignIn button
Then I...
Recuperative asked 14/5, 2015 at 9:8
1 Next >
© 2022 - 2025 — McMap. All rights reserved.