Questions tagged [maven]
Maven is an open source build management tool that is part of the Apache project - https://maven.apache.org/.
69
questions
0
votes
0
answers
21
views
Unable to run feature files parallel with JUnit 4 and "mvn test" command?
I want to run my 5 Cucumber feature files with "Mvn test" Command parallely. Now, the "mvn test" or 'mvn build" runs fine and maven builds the project, but feature file dont ...
0
votes
0
answers
38
views
How to run multiple Feature files parallelly in Cucumber with TestNG Runner?
I am facing one issue: I need to run 5 feature files that are totally independent of each other, Each feature files logs into a different site. I want 5 different ChromeDriver Browser sessions to open ...
0
votes
1
answer
49
views
Test Automation framework built using Java, Selenium, Cucumber and Maven. How to execute the tests based on env.properties file?
I have qa.properties and uat.properties file in the project. I have added profiles tag, env tag in properties tag and environment in configuration tag of the maven surefire plugin in the pom.xml file. ...
0
votes
2
answers
7k
views
Java maven - IllegalArgumentException: Input must be set
I get the following errror when I use git bash command - however when I run the test in Intellij everything works fine and test starts. Could you help ?
mvn test -Dcucumber.filter.tags="@desktop&...
0
votes
1
answer
138
views
How to include automation framework jar file dependency in my maven pom.xml?
I want to include one .jar file which has classes of my core automation framework. I created a "lib" folder in my selenium project and then gave its path in the pom.xml dependency. This Jar ...
1
vote
1
answer
903
views
Error while testing android device using appium and selenium
I get this error and cannot start the device:
java.lang.reflect.InvocationTargetException
Unable to create a new remote session. Please check the server log for more details.
Original error: An ...
0
votes
1
answer
8k
views
Run as testng is not found in eclipse
I have switched to a new branch and created new TestNG XML to run different test suite. But when I tried to run it as a TestNG suite eclipse only suggests run as configurations. I have set the suite ...
0
votes
3
answers
7k
views
I am not able to ctrl + click on feature file in Cucumber step definition, definition not found error
Help Me
I have installed Cucumber and Natural but my feature file is not getting highlighted after clicking ctrl + click.
Also, it has highlighted with yellow color
While running Test Runner, it says ...
-1
votes
1
answer
426
views
Custom Framework for Writing a Test that Reads a CSV File into a HashMap
I am trying to complete a lab where we are asked to write a unit test that can read a csv file into a hashmap.
So far I have this:
import java.io.BufferedReader;
import java.io.FileReader;
import java....
0
votes
0
answers
2k
views
Chrome Driver Maven Error "org.openqa.selenium.SessionNotCreatedException: Could not start a new session."
I am trying to run a selenium-based java test application on Intellij using maven. The problem is that if I run the test in IntelliJ the chrome driver starts and run successfully whereas if I Exeecute ...
1
vote
1
answer
847
views
Unable to run test on gitlab pipeline due to DevToolsActivePort file doesn't exist
I created a sample Selenium Webdriver test using java and maven and pushed it out to my gitlab repository. Then I created a new pipeline to run the automated tests. This is my first time running a ...
1
vote
1
answer
1k
views
How to get the count of all the test cases in my Maven Selenium test project
At the moment I'm working on a legacy Maven Selenium test project.
It will take around 10 hours to run the entire test suite.
After 10 hours from the IntelliJ I can get the total number of test cases ...
0
votes
2
answers
66
views
GUI / report for Selenium / Maven test failures
I've got testers starting to work with Selenium / Maven / Java / IntelliJ Idea. Does anyone know if a way I can generate a GUI report of a test's results after it has been complete? Only need to ...
-1
votes
1
answer
65
views
Getting Nullpointer exception when using click method using Page object model
In Helpers class I have this below method
public void click(By locator){
driver.findElement(locator).click();
}
In one of the pages used that method to click on an element as follows
public class ...
2
votes
2
answers
3k
views
java.lang.UnsupportedClassVersionError -CucumberJvm4SMFormatter -Java runtime Version error
My testing framework is built with Cucumber, TestNG, Java 1.8 and Maven
I recently updated my IntelliJ IDE
Details: IDE : IntelliJ IDEA Ultimate 2020.3 - Runtime version : 11.0.9
Cucumber is ...