All Questions
Tagged with junit selenium-webdriver
1,140
questions
0
votes
0
answers
60
views
Migrate thousands of test cases from TestNG framework to Cucumber(BDD)
I have requirement to migrate thousands of test cases from TestNG framework to cucumber. I tried searching and found a way to generate feature file and step definition files. Now looking for the ways ...
0
votes
1
answer
16
views
Tests on a remote driver are not executed
Using selenium IDE I have created a series of tests that end successfully. Then I export as junit. After moving the file to its location in a maven project src/test/java I try to run the test ./mvnw ...
0
votes
0
answers
64
views
In my Selenium project I am getting ERR_HTTP2_PROTOCOL_ERROR
I'm working on a selenium project. I'm trying to log in to a site. I can log in easily using normal methods, but when I run the code and send a login request, I get ERR_HTTP2_PROTOCOL_ERROR. I couldn'...
0
votes
1
answer
49
views
After mvn test I see "Tests run: 0" for some reason
i'm trying to run my tests with 'maven test', but I always receive Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
Can't find the problem. I'm guessing that the problem is eather pom or runner
...
2
votes
1
answer
89
views
Problems running both JUnit tests and Selenium/Cucumber tests at the same time
I have a basic Maven/Spring test project with some simple JUnit tests and Selenium/Cucumber tests that I later want to run using Github Actions, but first I want to make sure they run locally.
This is ...
0
votes
0
answers
36
views
throwing a StaleElementReferenceException during dictionary iteration in a for loop
The following code is provided below:
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.openqa.selenium.chrome.ChromeDriver;
import java.util.concurrent....
-1
votes
1
answer
86
views
Allure Reports - Fail in middle steps scenario doesn't stop test
I'm using Java 11, Selenium, Junit, Allure Reports in my testing project.
I'd like in my allure report to failed steps doesn't stop test. Is it possible after fail "When" step test doesn't ...
0
votes
0
answers
29
views
The variables are null although initialized
This is an autotest:
public class BaseClass {
protected ChromeDriver chromeDriver;
@BeforeEach
public void before() {
System.setProperty("webdriver.chrome.driver", "...
0
votes
0
answers
183
views
org.junit.platform.launcher.PostDiscoveryFilter: Provider io.qameta.allure.junitplatform.AllurePostDiscoveryFilter could not be instantiated
After I added this dependency
</dependency>
<!-- https://mvnrepository.com/artifact/io.qase/qase-junit5 -->
<dependency>
<groupId>io.qase</groupId>
<artifactId&...
0
votes
1
answer
32
views
Selenium findElement-s not adhering to explicit wait but to implicit wait only
I want to make the following junit + selenium-jvm-test fail in 3s using the explicit wait instead of 20s (the implicit wait) without fiddling with the implicit wait setting. How can I achieve this?
...
0
votes
0
answers
65
views
Cannot find Chrome binary with Selenium Webdriver using Eclipse IDE, Maven and JUnit
I'm starting to learn Selenium Webdriver with Maven project with Eclipse IDE and Junit. Once I ran the test it says that couldn't start the session and find the Chrome Binary and other one saying
...
0
votes
0
answers
42
views
Selecting specific set of data while using @DataProvider in test
I wonder if it is possible to have two or more test using one @DataProvider class but with different data file used? I don't know how to specify in addannotation which file I am using. Sorry if my ...
0
votes
0
answers
48
views
maven selenium cucumber junit - test suite inexplicably started to hang
We're running a maven selenium junit cucumber test suite (approximately 250 test cases). We recently started getting "hangs" of 4+ hours for no obvious reason. Nothing has changed re ...
0
votes
0
answers
32
views
maven selenium cucumber junit - timeout received from renderer - why does it sometimes have a positive value and sometimes negative
We have test cases running and recently have been running into "timeout received from renderer" errors. What I'm trying to understand is what the values displayed actually mean. Running a ...
0
votes
0
answers
101
views
Getting Browserstack Idle Timeout in Automation
Before launching the URL, I'm getting a timeout error. In error message says enter image description here
Tried the resolution BrowserStack have provided. (https://www.browserstack.com/docs/automate/...