Questions tagged [maven]

Maven is an open source build management tool that is part of the Apache project - https://maven.apache.org/.

Filter by
Sorted by
Tagged with
1 vote
1 answer
263 views

Junit Setup & Teardown when using parallel cucumberJVM with auto generated test runner files

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 ...
symon's user avatar
  • 934
1 vote
2 answers
7k views

Use enviornment variables in selenium properties file

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 ...
Happy Coder's user avatar
2 votes
2 answers
89 views

Possibility of using maven surfire plugin for SOAP webservice tests

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 ...
Monika Łyżwa's user avatar
1 vote
0 answers
129 views

Robot framework: how to point to libraries folder other than default?

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 ...
Floella's user avatar
  • 319
0 votes
2 answers
2k views

java.sql.SQLException: No suitable driver found for jdbc:db2://URL/Database - pom.xml

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 ...
Babusr01's user avatar
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
0 votes
2 answers
4k views

Execute SoapUI project with Maven and Jenkins

I am new to Maven and Jenkins. I have automated my web service project with SoapUI (the free version). I need to include my project with DEV builds for continuous integration build. I searched in ...
Babusr01'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
2k 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
2 votes
2 answers
184 views

CI for Selenium Project

I am not fully sure how to fully build Continuous Integration for Selenium project, so I would like to ask the following: Is it true that the only difference between a Maven project and a Java ...
Richardson's user avatar
0 votes
2 answers
2k views

Windows task scheduler is invoking headless firefox driver instead of normal friefox driver

My below present simple batch file, on double clicking triggers the simple execution of my maven testng selenium webdriver script with NO issues cd C:\Users\xxxxxxx\Documents\SelTestsWorkspace\...
irahulsingh's user avatar
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
3 votes
1 answer
2k views

Version Control for Selenium Itself

My question is about best practice. We are moving to Selenium and will be using Selenium, Maven, TestNG and GitHub, with a Windows environment. We will have about ten users, with more in the future. ...
Zaxxon's user avatar
  • 51
1 vote
3 answers
6k views

ExpectedConditions cannot be resolved to a variable

I am waiting for WebElement is clickable using below code: WebDriverWait wait = new WebDriverWait(driver,9); WebElement element = wait.until(ExpectedConditions.visibilityOf(CancelListingButton)); ...
seema's user avatar
  • 11
1 vote
3 answers
3k views

Cucumber and Maven setup

I am trying to integrate my Cucumber project and Maven, while adding cucumber-junit dependency in POM, I'm getting the below error : Failed to read artifact descriptor for info.cukes:cucumber-...
JustARandomGuy's user avatar
1 vote
2 answers
602 views

Plugin of Maven - Automated test

I need to run automated test on Bamboo (Atlassian) but I don't know what plugin of maven use. The automated test are written in Selenium and Java.
aleja20.06's user avatar
5 votes
1 answer
13k views

Error in Maven project build-"Could not initialize class org.apache.maven.index.ArtifactInfo"

Hi All when I am trying to build or clean the Maven project I got below error can any help me ? Errors occurred during the build. Errors running builder 'Maven Project Builder' on project 'POM-...
Mahesh's user avatar
  • 143
3 votes
3 answers
6k views

How to execute parallel junit tests with maven surefire

I'm using Selenium WebDriver, Junit 4.9, maven for testing. Now I need to parallel tests. I added the plugin below, then tried to run it from IntelliJ IDEA 11, but it was still running sequentially. ...
Peijie's user avatar
  • 41

1
2