MarkusBernhardt / robotframework-selenium2library-java

Java port of the Selenium 2 (WebDriver) Python library for Robot Framework
Apache License 2.0
46 stars 51 forks source link

Update Selenium version to 2.45 #64

Closed mobichel closed 8 years ago

mobichel commented 9 years ago

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!

markfink commented 9 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

asitishere commented 9 years ago

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.

markfink commented 9 years ago

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.

asitishere commented 9 years ago

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

mobichel commented 9 years ago

Thank you Mark!

I will build it myself.

asitishere commented 9 years ago

Hello mobichel,

I managed to build with Latest version of selenium . Please let me know . I can pass the steps.

Regards Asit

mobichel commented 9 years ago

Hello Asit,

I have successfully built with Selenium version 2.45, just have to skip some unit tests.

Thanks!

MarkusBernhardt commented 8 years ago

Pushing out an updated version today