Category "cucumber"

Converting Datatable to object with null values

Hi Everyone just wondering if I am following best practices here. I have step defintions like the following public class StepDefinitions { @DataTableType

Cucumber: Can't convert DataTable to List<java.lang.String>. There was a table cell converter but the table was too wide to use it

Feature file: Scenario: Login to application Given I open my application And I login with following credentials | admin | pass1234 | StepDefs: @When("^I lo

BeforeEach step is repeated with cy.session using cypress-cucumber-preprocessor

I have a Cypress project where I use the Cypress session API to maintain a session throughout features. Now I try switching from the deprecated Klaveness Cypres

protractor, on login form sendkeys() are not working. Browser don't displays my value for the form fields

(I'm not using jQuery) Hi! I'm starting with protractor and cucumber and i'm testing a login page. I'm trying to insert values on a form for the login, but when

Why wont my if statements work in cypress?

I'm trying to write a test that goes back in a calendar to look for a specific date to click. I have come up with an IF statement that should loop to the next m

Parallel tests in Android with cucumber, appium and testNG in java

I have 5 real devices in which I want to execute 20 tests, for example: 4 tests in each device in parallel, that is, in device 1 test 1 is executed, when the te

Cucumber: custom serializer instead GherkinSerializer

I using Cucumber and need to customize some methods of GherkinSerializer that is by default. Is there is way to set by default my custom Serializer instead of G

Why isn't Cucumber considered as a testing tool? [closed]

I'm new to Cucumber, and I'm trying to understand the tool. While reading the documentation, I found that it is defined shortly as "a tool tha

Does if else concept available in feature file (Gherkin language)?

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

BDD Cucumber test management tool

Is there an open source tool available to control the running of BDD cucumber tests? We are developing BDD cucumber tests and would like the option to control

How to config multiple env files to run for multiple user roles in WebDriver IO?

I am using Webdriver IO Framework with Cucumber and Page Object Model. I am able to setup multiple env files and run tests again each environment and it works.

Installing WebDriverIO with Typescrit and Cucumber gives me an error

When I finish configuring the project, the wdio.conf.ts and tsconfig.json files are saved in a folder called tests and the wdio.conf.ts file gives me the follow

Create Selenium Webdriver once and use in Cucumber's all steps

I've experience in Back-End automation testing, but I'm new to Front-End. I've created BDD format tests for a website and now I want to automate it. I decided t

Error: Error: Cannot find module 'cucumber'

I am trying to execute a small example of automated test using Webstorm, cucumber and protractor. I have already installed cucumber using this command within th

How to install and setup Cucumber jar files in Eclipse for WebDriver Testing

I am fairly new to Java, eclipse, Cucumber and Selenium. I am just beginning to learn these. Overall, I am fairly new to StackoverFlow. I got problem that I am

@CucumberOptions in cucumber-junit-platform-engine

I'm trying to migrate my cucumber tests from cucumber-junit to cucumber-junit-platform-engine to be able to use new platform features. How do I redefine my runn

My tests were running and then I clicked "Run as --> Maven clean" and now when I click "Run as --> Maven test" it doesn't work anymore

My project worked after right-clicking on the pom.xml file in Eclipse and selecting: "Run as --> Maven install" and then "Run as --> Maven test". I start

Cucumber cannot find StepDefinitions while running the code but manually using the option "Find Step" can find step definition

In the project Structure defined like below, src/main/java -- Config (RunCukesTest.java) -- StepDefinitions src/test/resources -- features/login When I run fro

Undefined steps in cucumber

After running my test, Cucumber says my step is undefined. Did I do something wrong? Feature: Then I should see Error message for "ORIGIN" zipcode with key &l

Unable to generate Cucumber HTML reports on failure

I have created a project framework using Typescript and Cucumber BDD approach. The executions within the project are working and the cucumber html reports are a