Hi Roy,
multi-threading with Selenium is supported via the SauceWebDriverProvider.
You can open a free account on SauceLabs, for limited testing.
Cheers
On 03/12/2012 01:36, Roy de Kleijn wrote:
It almost works! Thanks to Alexander Lehmann, he helped me to sort this out!
Number of threads are set in the POM file.
But it seems like that all the webdriver commands are send to the last defined
thread. This results in a lot errors.
Please take a look at:
https://github.com/roydekleijn/Spring-Jbehave-WebDriver-Example/blob/master/src/main/java/org/google/web/common/SeleniumWebDriverProvider.java
Here we tried to introduce some thread safety.
I hope somebody can help on this. It works, when I run my tests on one thread.
Thanks in advance,
Roy
-----Original Message-----
From: Alexander Lehmann [mailto:[email protected]]
Sent: zondag 2 december 2012 18:13
To: [email protected]
Subject: [jbehave-user] Re: Can't run in threads
Looks like the project doesn't compile with java 6 (works with java 7)
On 02.12.2012 14:38, Mauro Talevi wrote:
Hi Roy,
your project does not compile:
Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project Spring-Jbehave-WebDriver-Example:
Compilation failure
[ERROR]
/Users/mauro/git/Spring-Jbehave-WebDriver-Example/src/main/java/org/go
ogle/web/test/SearchResultsPage.java:[48,2]
cannot find symbol
[ERROR] symbol : method
assertThat(java.util.List<java.lang.String>,org.hamcrest.Matcher<java.lang.Iterable<?
super java.lang.Object>>)
[ERROR] location: class org.google.web.test.SearchResultsPage
$ mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) Maven home:
/Users/mauro/applications/mvn Java version: 1.6.0_37, vendor: Apple
Inc.
Java home:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x",
version: "10.8.2", arch: "x86_64", family: "mac"
You do not specify what is the problem that you're facing.
I did notice that you have only one thread configured though.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email