Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am a newbie in Automation and trying to build my project using Maven. Now, I understand simple mvn phases like mvn install, mvn clean etc, however, I get confused with goals and plugins
Like when I ...
Problem statement: Build run test case twice in Jenkins Build. working fine in the local environment
Skills/Tools: Java, Maven, TestNG, Jenkins. I have tried removing testng.xml test classes. Don't ...
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 ...
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 ...
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 ...
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 ...
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 ...
this is my first time making a cloned repository in eclipse and using eclipse. i am having an error on my pom.xml file in this line:
<project xmlns=*"http://maven.apache.org/POM/4.0.0"* ...
I am trying to run a test using Maven by providing the testng.xml file. It is not running any test, although the build is successful.
POM.xml
<project xmlns="http://maven.apache.org/POM/4.0.0&...
I have created a Cucumber project, which has multiple feature files, Step definition classes and one TestRunner.java class. Now, that project has a Maven project structure and i want to run it as a "...
I have a Maven project and I'm using TestNG. My build completes in Jenkins, but the tests I want to run from my testng.xml file are not actually executed. I have my console output from Jenkins and ...
I’m getting the following error when trying to run a Selenium/TestNg test from Jenkins.
[ERROR] Suite file /development/apps/config/jenkins/jobs/teste-automatizado/workspace/Abc/testng.xml is not a ...
I am using cucumber and configure appium and seetest to run web application on mobile browser, i want to check otp that is sent via my application to mobile number (on seetest device number which is i ...
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
...
I'm learning to use selenium WebDriver with TestNG plugging for Eclipse and I ran into this issue where I can't execute the test case (it is unfinished but it has no compile errors nor warnings).
...
I am trying to run my Tests in the Jenkins using Microsoft Edge.
When I click on build now, I am getting the below error in the Console Output
------------------------------------------------------
...
When i execute my selenium java project using maven test its not executing. its showing me error.
Its execute properly when i execute through TestNG.xml file. But its showing error when execute it ...
I am trying to create a standalone selenium-TestNG tests Jar file that can be executed in any OS as part of CI/CD.
My POM.xml is as follows:
<project xmlns="http://maven.apache.org/POM/4.0.0&...
I've been trying to run selenium codes over Jenkins (server/openshift). There is chrome node in the jenkins machine for Test Automation - Selenium. I'm getting this error:
org.openqa.selenium....
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 ...
Maven dependencies are not getting updated automatically after taking the latest version from TFS. the Project has a red color mark and pom.xml file shows (x) mark. Please let me know how to resolve ...
In a maven/gradle project, can we keep source code of automation testing outside src/test/java or src/main/java folders, keeping that code creating a new folder inside project root? If yes, how can we ...
I am totally new to cucumber, I am using page object model approach.
Let's say I have 3 page and 3 test classes
Ex: login Page.java / loginTest.java
Registration Page.java/Registration Test.java
...
I have started learning Selenium recently, but i am stuck on the first step itself, in-spite of adding all the required webdriver dependencies, while initiating the webdriver instance in a function, ...
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 ...
While executing my pom.xml file through maven test my BUILD is getting SUCCESSFUL but my testng.xml is not executing.
I tried with executing 13 classes and with single class for both the time it ...
I have a Jmeter-Maven project and I'd like to put a modified jar file in "/lib/ext" folder.
I've added it to “/src/test/jmeter/lib/ext”, but seems it doesn't work.
Do I need to add dependencies to ...
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 ...
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 ...
Maybe this question was already posted here. If yes, please attach the link, I couldn't find out the same.
I would like to clean my old and not used dependencies from pom.xml, can someone advice me ...
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 ...
In my project, I create simple feature file in my maven project using cucumber syntax.
but IntelliJ IDEA, not highlight steps in feature file and also I cant use ALT+ENTER key to create step ...
Hi I have created some test cases in Robot framework and now I wat to run them in parallel. I know there is Pabot to run test suites in parallel but my requirement is to run them through Maven ...
I know this is the most common question but sorry I am posting this again as I tried all the solutions but couldn't solve the issue,
Problem: I am unable to run my cucumber tests through maven and ...
Cobertura is reporting that there are multiple SLF4J bindings in the classpath, actually both related to different versions of the logback-classic artifact:
[ERROR] SLF4J: Class path contains ...
I'm using the Robot Framework Maven plugin to execute my Robot Framework scripts. I'm using this plugin because some of my keywords are implemented in Java and packaged inside an external library.
I ...
I've been reading the book "Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation (Addison-Wesley Signature Series (Fowler))"
And these paragraphs ...
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 ...
If i run inside eclipse -> Run As -> Maven test, I have an allure-results directory created no problem in /target - Great!
If I call mvn from the command line and pass in some arguments.... I have no ...
Scenario: I am using a cucumberJVM setup using a parallel cucumberJVM plugin which creates separate runner files for every feature file. I want to handle my setup & teardown independently, since ...
I have a test package which is based on Selenium and the configuration is in a test.properties file. Now all the config values are hard coded there. I would like to hide some config values to hide ...
I have a challenge of using maven surfire plugin for SOAP webservices testing. What I need to check is whether this plugin can be used while running webservices tests in CI environment. I will ...
I've set up a Maven project that uses Selenium (as a dependency) and would like to add Robot. The thing is, according to http://robotframework.org/MavenPlugin/:
Third party libraries (e.g. Selenium ...
In my Soapui project I am connecting Db2 for validation Groovy step. This seems to be working. When I run pop.xml with required dependency, its giving the following error:
java.sql.SQLException: No ...
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 ...
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.