Hi,
The first tip would be to run the tests on every browser from the very
start. Don't wait until you have 500 tests before starting the effort
as it'll only lead to a lot of pain.
Secondly, be aware that browsers work at different speeds. Your
IE-based tests are likely to be the slowest and to show the highest
flakiness, as they'll be the ones that highlight when an explicit wait
should be inserted (*sigh*) Also, be aware that different drivers
implement the native events thing differently. Opera and Chrome inject
straight into the event queue, whereas Firefox and IE fire OS-level
events. This means that actions such as "click" are "more async" on
some browsers than others: again, this typically shows up as flakiness
and can normally be addressed with an explicit wait.
Don't use xpath, but if you do, don't use complex xpath. Not all xpath
engines were created equal, and pushing the limits is the best way to
find out the quirks.
That should get you started, but good luck!
Simon
> --
> You received this message because you are subscribed to the Google Groups
> "webdriver" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/webdriver/-/bzwxfCTLUbAJ.
> To post to this group, send email to
webd...@googlegroups.com.
> To unsubscribe from this group, send email to
>
webdriver+...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/webdriver?hl=en.