Closed mobichel closed 8 years ago
as a workaround you can build it yourself. I did that using selenium 2.46.
In the pom.xml I changed to version to 2.46.0 for the following artifacts:
To make it work I had to add another dependency:
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
<version>1.3</version>
</dependency>
To initiate the build: $ mvn package
Thanks Mark.
Please suggest how can I run my test .robot file or complete test suite using the .jar file with all dependencies after mvn package.
java -jar depPackage.jar no main manifest attribute
I want to run test cases with the dependency package created.
Please help.
this is a little off-topic in relation to the OP but why not... In an enterprise setup (which I assume is your case) you would put the package into your local nexus. Just ask your tech lead how to do that. Alternatively add it as an external jar. The following thread discusses the options: http://stackoverflow.com/questions/5692256/maven-best-way-of-linking-custom-external-jar-to-my-project
Personally I do not use maven to run my robotframework tests. I just add the jar to my classpath. As I said this is a workaround. Of course the clean solution would be that the package maintainer provides an update.
Thanks a lot Mark.
I managed to get it done now I build the dependency package and run with selenium jar ( From Command mode) for Test Suite or Specific Test cases . In other case I use maven run.
Regards Asit
Thank you Mark!
I will build it myself.
Hello mobichel,
I managed to build with Latest version of selenium . Please let me know . I can pass the steps.
Regards Asit
Hello Asit,
I have successfully built with Selenium version 2.45, just have to skip some unit tests.
Thanks!
Pushing out an updated version today
Selenium 2.45 has been released with important fixes for FF36, could you please upgrade selenium version.
https://raw.githubusercontent.com/SeleniumHQ/selenium/master/java/CHANGELOG
Thanks!