On Thu, Dec 6, 2012 at 1:57 PM, Kapil Rajak <[email protected]>wrote:
> But don't you get issues like I mentioned? Yes. From my experience, IEdriver has the most problems that are hard to fix. (I have a lot of experience with Firefox and Chrome drivers, both pretty stable. I do not have a lot of experience with Opera and Safari drivers.) Most of the problems that I have seen is caused by IEdriver not waiting enough before executing the next action. Example: enter username and password, click login button, then check if the page contains text "welcome". The script fails when checking for the text, the error message says it is not there. Problem fixed by waiting for an element to be on the page, then checking page text: http://watirwebdriver.com/waiting/ Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
