All Questions
Tagged with selenium-webdriver cucumber
2,209
questions
0
votes
0
answers
9
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 ...
0
votes
0
answers
27
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
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
1
answer
100
views
New to Cucumber - Problem trying to get simple setup working
I have worked with Cucumber previously, but in an environment that was already setup, at work.
I am now trying to get an Eclipse/Maven/Cucumber/Junit environment setup on my own computer.
So I created ...
0
votes
0
answers
30
views
Cannot invoke "org.openqa.selenium.WebDriver.navigate()" because the return value of "DI_constructor.pagecontext.getDriver()" is null
I have a DI constructor for myhooks, I think it's set up properly but I'm getting an error regardless:
Cannot invoke "org.openqa.selenium.WebDriver.navigate()" because the return value of &...
-1
votes
0
answers
37
views
Getting OutOfScopeException for GenericHook class when migrating from info.cukes to io.cucumber
I am currently working on migrating my existing cucumber framework from cucumber info:cukes to io.cucumber with selenium 4. But getting below error for my Generic Hook class, can someone please help ...
0
votes
0
answers
20
views
Can we run file upload and download scenarios on saucelabs?
I want to run file upload and download scenario while running the test suite on saucelabs.
As saucelabs creates a new env everytime when the suites triggeres. How will it locate the file path from git ...
0
votes
0
answers
11
views
target frame detached . Can not Run two feature file in one time
Failed scenarios:[0m
[31mUserRegistration.feature:3 [0m# Scenario: Verify user signup
2 Scenarios ([31m1 failed[0m, [32m1 passed[0m)
8 Steps ([31m1 failed[0m, [36m1 skipped[0m, [32m6 passed[0m)
0m27....
0
votes
0
answers
31
views
how to get data from excel file using qmetry framework
I have a cucumber project with selenium and java and am trying to run my tests without multiple data values and I came across framework called qmetry however the documentation didn't help me much. I ...
0
votes
1
answer
41
views
cucumber hook execution order in parallel is not working
I have written cucumber tests with selenium framework. When my test ran in sequential they all pass, but when I run in parallel they fail because the same user is used for all the tests and the test ...
0
votes
1
answer
52
views
Unable to initialise chrome browser in selenium
System.setProperty("webdriver.chrome.driver", "C:\\Users\\Dev\\webdrivers\\chromedriver.exe");
driver = new Chromedriver():
driver.manage().window().maximize();
exception:
org....