Questions tagged [cucumber]
Cucumber is a Behavior Driven Development (BDD) tool that executes functional descriptions written in plain text (structured in the simple Gherkin language) as automated tests.
cucumber
11,082
questions
0
votes
0
answers
16
views
NoSuchElementError: no such element: Unable to locate element: {"method":"xpath","selector":"//select[@id='InputPrefix']"}
when i created seperate stepdefinition classes like Given, When,Then the automation script usin findElement etc.. is not reading in when and then step.js but its reading in given.js file what mistake ...
0
votes
0
answers
22
views
how to integrate of MS teams with cucumber-testNG-extentsparkreports
I recently tried sending summary reports of testcases everytime i run in my local to ms teams channels but got blockers all my way
can anyone suggest me how to do it if you have experience with it
...
0
votes
0
answers
18
views
Playwright Cucumber with javascript- Unable to reuse the steps from another step definition file, getting Page not defined error
I am new to Playwright and I am trying to create a Cucumber Playwright POM framework. For this I have create 2 feature files userLogin.feature and bookHotel.feature. And I have 3 step definition files ...
0
votes
0
answers
15
views
Xray api/v2/import/feature endpoint flaky when input feature file has > 10 scenarios
Description
I'm currently using the Xray api/v2/import/feature endpoint with multiform data to import gherkin feature files into Jira. I've observed that when the number of scenarios in the feature ...
0
votes
0
answers
14
views
Android Cucumber tests are not invoked
I have written BDD tests for Android with Cucumber and Gherkin but when I run the test Class "CucumberTestRunner", it shows that tests 0/0 are done, i.e., it doesn't see the tests I have ...
-1
votes
0
answers
20
views
I am not able to build my Java Selenium project due to a few errors, which I am not able to resolve [closed]
I am getting errors like my steps do not have matching glue code. I am not able to resolve the error. Could some one please help me remove the errors and build the project successfully?
I tried ...
0
votes
0
answers
22
views
Cucumber json file generates false positive results for failed scripts when running tests in parallel TestCafe
I have set up Testcafe to test in parallel by setting the concurrency value to 3, meaning that 3 browser instances will be active simultaneously on which different tests will be running. That is all ...
0
votes
0
answers
53
views
Cucumber maven <rerunFailingTestsCount>1</rerunFailingTestsCount> does not rerun failed tests and does not create report file
could you tell me what are required dependencies to make cucumber reporting plugin working when I want to rerun failed tests ? I am using in my project the following dependencies. Could you tell me ...
0
votes
0
answers
11
views
.feature file is not being recognized when trying to execute .feature file with webdriverIO
enter image description here
enter image description here
Trying to execute
npx wdio --spec .\step_definitions\Loginfeature.feature
I am able to see the app open but as soon as it does, the app ...
0
votes
1
answer
21
views
Getting unwanted not secure web window on trying to perform any action on any web element on current webpage
Screenshot of my code output
I tried the below code to navigate to a browser enter url - https://www.opencart.com/index.php?route=cms/demo and perform click action on a web element. But on trying to ...
1
vote
1
answer
25
views
Cucumber DataTableType annotation transposes table?
I have a small repo with the following dependencies: cucumber-java 7.16.1, junit-jupiter 5.10.2, selenium-java 4.21.0
I have 3 simple tests to check the saucedemo website where I'm creating a simple ...
0
votes
0
answers
33
views
An internal error occurred during: "Building" org.eclipse.jdt.launching.JavaRuntime.getProvidedVMPackages
enter image description here - Image
Eclipse is showing internal error as below:
An internal error occurred during: "Building".
'java.util.Set org.eclipse.jdt.launching.JavaRuntime....
0
votes
0
answers
23
views
Cucumber Error to attach image using scenario.attach for Parallel Run
I use scenario.attach for image for some steps in StepDefinitions class, and it works perfectly in sequential run.
But when I started to run in Parallel, I started to get the error "java.lang....
0
votes
0
answers
14
views
Can we select specific scenarios to run in cucumber tests?
I want to choose which scenarios to run using testNG.xml file, like I need to add certain scenarios in specific suit and decide which suite to run; for example I need to make a regression suit that ...
0
votes
1
answer
33
views
weird selenium console output
Can someone please help me with the below selenium code-i am trying to validate whether a field or a radio box is enabled or not but instead of returning true or false . it is giving me a below ...