Simon--
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Fewer transient errors that go away on retry of the test. E.g. in
chrome, spurious 'your click would land on this other object' with
html of something adjacent to what I have specified.
I'm using webdriver API, so it sounds like Remote Webdriver is what I
> Also, if you use the Remote WebDriver I suspect your workflow wouldn't
> change; just the API calls you make.
want; it turns out to be what I thought RC is, e.g. to launch it I do
what I'm already doing:
$ java -jar selenium-server-standalone-{VERSION}.jar
Sorry, I thought that was RC.
Fewer transient errors that go away on retry of the test. E.g. in
chrome, spurious 'your click would land on this other object' with
html of something adjacent to what I have specified.
> Also, if you use the Remote WebDriver I suspect your workflow wouldn'tI'm using webdriver API, so it sounds like Remote Webdriver is what I
> change; just the API calls you make.
want; it turns out to be what I thought RC is, e.g. to launch it I do
what I'm already doing:
$ java -jar selenium-server-standalone-{VERSION}.jar
Sorry, I thought that was RC.
Inline. Adam beat me to it when he asked about stability :)On Wed, Jan 30, 2013 at 1:46 AM, Bill Ross <ro...@cgl.ucsf.edu> wrote:
Fewer transient errors that go away on retry of the test. E.g. in
chrome, spurious 'your click would land on this other object' with
html of something adjacent to what I have specified.In Selenium RC, this was because it did less assiduous checks on whether or not the thing being clicked was actually clickable. When using the WebDriver API, flakiness like this is often caused by race conditions, such as the element being present on the DOM, but the CSS not having finished loading yet when you call "findElement", but everything sometimes being done when you call "click": sometimes you win that race, and the element is ready, and sometimes you lose it.
If things improve as you introduce a network between the test and the browser, then my "it's a race" meter starts pinging wildly. The network has introduced additional latency, which means that the race is more often won in the direction that would take the most time.
Bill
> >>> email to selenium-developers+unsub...@googlegroups.com.
> >>> For more options, visit https://groups.google.com/groups/opt_out.
> >>>
> >>>
> >>>
> >> --
> >> You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
> >> For more options, visit https://groups.google.com/groups/opt_out.
> >>
> >>
>
> --
> You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsub...@googlegroups.com.
Agreed about unifying the products. A warning seems best for now.
Simon
Inline.
On Wednesday, January 30, 2013 1:12:00 AM UTC-8, Simon Stewart wrote:Inline. Adam beat me to it when he asked about stability :)On Wed, Jan 30, 2013 at 1:46 AM, Bill Ross <ro...@cgl.ucsf.edu> wrote:
Fewer transient errors that go away on retry of the test. E.g. in
chrome, spurious 'your click would land on this other object' with
html of something adjacent to what I have specified.In Selenium RC, this was because it did less assiduous checks on whether or not the thing being clicked was actually clickable. When using the WebDriver API, flakiness like this is often caused by race conditions, such as the element being present on the DOM, but the CSS not having finished loading yet when you call "findElement", but everything sometimes being done when you call "click": sometimes you win that race, and the element is ready, and sometimes you lose it.I don't think it's a loading issue, since it happens some time after page load.
If things improve as you introduce a network between the test and the browser, then my "it's a race" meter starts pinging wildly. The network has introduced additional latency, which means that the race is more often won in the direction that would take the most time.
Good thinking. The reason I was thinking of was that more threads in the test VM could lead to synchronization issues. E.g. a tightly controlled news distribution client/server system* I wrote for java 1.4 showed sync issues when threads got past 50. I am running up to 15 TestNG threads, and thread id's of the test runners go up into the 40's.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-develo...@googlegroups.com.