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,086
questions
0
votes
0
answers
5
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
21
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
26
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
21
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
12
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
31
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 ...
-3
votes
0
answers
14
views
whenever i run automation suite in salesforce application, i get error 404 communication error, please retry or reload a page
image
error
Whenever i run Automation suite which is developed for salesforce we are getting error "communication error, please retry or reload a page" which is blocking us to continue. But ...
0
votes
0
answers
10
views
Serenity BDD - Empty reports when large test scenarios executed
Some of the test scenarios were not captured in the serenity-bdd reporter.
If i run them independent, the report is empty - 0 Tests. However, log shows the test was run and passed.
I'm using serenity-...
0
votes
1
answer
33
views
In Playwright Cucumber typescript soft assertions doesn't works as expected and does't execute the further steps
Take and expmple of a sample code
When('I should see that heading {string} is visible on Screen', async function (headingText) {
await expect.soft(page.getByRole('heading', { name: headingText }))....
0
votes
0
answers
28
views
Why Cucumber/Maven/Junit Eclipse project frequently gets "orange" lines in .feature file and Maven-Update fixes it?
I am still kind of new to working with Cucumber/Maven/Junit in Eclipse, but I've noticed that once in a while (quite frequently) some of the lines in a .feature file suddenly has some "orange&...
0
votes
0
answers
15
views
Error Message - Cannot find module 'prop-types'
My Javascript code was running fine on Visual Studio Code, suddenly it has started giving the following error, what needs to be done and why this error occurring?
Error: Cannot find module 'prop-types'...
0
votes
0
answers
17
views
Facing issue while integrating firebase testlab in my local mobile-automation project developed in webdriverIO with cucumber framwork
I am developing a mobile-automation project using webdriverIO & cucumber framework with Appium server. On localhost when we are launching multiple emulator in that case cpu got stuck & apps ...
0
votes
1
answer
32
views
CMake Dependency Management With FetchContent and ExternalProject
I have a C++ project using CMake as a build system, and I'd like to use cucumber-cpp. In this project, I have a GTest/ GMock dependency which I resolve as per the instructions here (mixture of ...
0
votes
0
answers
32
views
puts method not working on cucumber test report
I want to print the text I copied from the web page on to the cucumber html test report step but I can only see it in the console does anyone know how to resolve this?
Then ('on step 5 should show ...
0
votes
1
answer
45
views
junit 5 runs specific cucumber feature twice
Running Cucumber with JUnit 5 works ok as long as all feature files are run.
@Suite
@IncludeEngines("cucumber")
@ConfigurationParameter(key = Constants.FEATURES_PROPERTY_NAME, value = "...