Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Navigating Android device directories with Appium

I need to access my Android device's files through Appium. However, after the AndroidDriver is initialized and the application is launched in Android Studio, its current directory System.getProperty(&...
Ety's user avatar
  • 101
0 votes
0 answers
59 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 ...
kunaltester2304's user avatar
0 votes
2 answers
8k 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&...
javabeginer's user avatar
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 ...
Surbhi Agarwal's user avatar
-1 votes
1 answer
428 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....
Seeth's user avatar
  • 11
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 ...
Azeem Baloch's user avatar
1 vote
1 answer
858 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 ...
na2193's user avatar
  • 13
0 votes
2 answers
72 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 ...
Luke Pring's user avatar
-1 votes
1 answer
70 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 ...
Divya's user avatar
  • 1
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 ...
Hima's user avatar
  • 31
1 vote
1 answer
572 views

Automated testing of Google Pub/Sub

I'm new to test automation and Google Pub/Sub. I'm developing automation scripts for regression testing. My automation framework is built with Java, Maven, Cucumber and TestNG My application is a ...
Hima's user avatar
  • 31
1 vote
1 answer
1k views

Null Pointer Exception Error at Selenium TestNG

I'm trying to automate the search box but I'm getting null pointer exception. package LICT.Maven_ReCheck_Search; import java.util.concurrent.TimeUnit; import org.openqa.selenium.WebDriver; import ...
Sarowar Alam Saidi's user avatar
3 votes
1 answer
2k views

How to resolve NullPointerException error while implementing POM with cucumber framework

I am getting java.lang.NullPointerException while executing my test case, I am using Page Object Modle with cucumber framework in my maven project, following are the code snippets BoxJunitScript.java ...
Aman Kumar's user avatar
3 votes
1 answer
6k views

Can I create an executable TestNG Selenium jar with my tests using maven

##### My POM file pom.xml http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 company.myproj myproj 0.0.1 jar <properties> <project.build.sourceEncoding>UTF-8</project....
Eelke's user avatar
  • 33
3 votes
1 answer
4k views

Selenium UI Tests folder structure

I'm really new here and started writing some UI tests using selenium and testng and wanted to know how do you structure the folders, it is a maven project and using java. I'm putting all the test ...
user avatar
1 vote
3 answers
3k views

Set up proxy for selenide?

Is there any possibility to set up proxy for selenide library? I start autotests from command line with maven comman: mvn clean test [some params] site It was possible to change maven setting to ...
Ivan Gerasimenko's user avatar
1 vote
2 answers
975 views

JMeter + Maven: how to send test result data to InfluxDB?

I use have JMeter tests run by jmeter-maven-plugin. I’d like to send my test results data to InfluxDB (in order to visualize results in Grafana). How can I do that? Do I need to set that in my POM ...
Konstantin V's user avatar
0 votes
1 answer
3k views

Maven TestNG multiple suites in different folders

I'm working on a mobile automation task where I need to run test suites in parallel for 3 different iOS apps. Each test suite has its own testng.xml with a section configured to run on a device. I ...
Appium_ios_android's user avatar
0 votes
4 answers
9k views

Cucumber test suite: how to pass username and password without hardcoding

I'm building a test suite with Cucumber on Java + Maven + jUnit and I need to pass a username and a password to the test suite so it can log in to the application under test. I don't like the idea of ...
Floella's user avatar
  • 319
1 vote
0 answers
494 views

How to extend Selenium2Library by creating new RobotFramework keywords using Selenium WebDriver in Java?

I'm trying to extend the Selenium2Library python library (1.8.0) by implementing new Robot Framework keywords using Selenium WebDriver in Java. In order to do that, I need to be able to retrieve the ...
Fred's user avatar
  • 201
0 votes
1 answer
2k views

Run unix commands using Jsch maven

Execute Unix commands using Jsch maven I'm trying use this code for performing the following steps, but it's not working. String command1 = "ls -ltr" String command2 = "cd /test/user/" String ...
Techonboard's user avatar
2 votes
1 answer
4k views

Cucumber: Type Mismatch cannot covert from Class <Step Definition> to Class<?extends Runner> in eclipse

I have been playing around with Selenium Cucumber and came across this error message: Type mismatch: Cannot convert from Class StepDefinition to Class?extends Runner and here is my code: package ...
Guest1234's user avatar
0 votes
2 answers
3k views

Not able to install maven on windows [closed]

Getting error while trying to install maven on windows. What I have tried is, I have set the Environment variables as follows: System variable:: MAVEN_HOME :: C:\Users\hari\Downloads\apache-maven-3....
Hari's user avatar
  • 1
1 vote
0 answers
2k views

Specifying and running multiple goals in Maven

I have created a testing framework using Cucumber, Selenium and Maven. I am using the cucumber-jvm-parallel plugin to run my tests in parallel. Below is how my pom.xml looks: <?xml version="1.0" ...
BountyHunter's user avatar