Hello Mark,
By default, Click Link -keyword waits for the page load, and uses the
library timeout (which by default happens to be 5 seconds). In order
to tell Click Link not wait, you can add a second argument to it like
this:
| Click Link | ${link1} | and don't wait |
This should allow all the waiting to happen with Wait Until Page Loaded.
hth,
__j
--
Janne Härkönen | http://reaktor.fi
http://twitter.com/#!/janneharkonen
An alternative solution is setting longer Selenium timeout (via import
argument or using Set Selenium Timeout keyword) and removing Wait
Until Page Loaded altogether in favor of automatic waiting.
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org
If you mean pages that are only partly loaded dynamically, then Wait
Until Page Loaded or the automatic waiting after certain keywords
doesn't work. This limitation is due to these mechanisms waiting for
page load event which never occurs because no new page is loaded. In
these cases you can use Wait Until Page Contains, Wait Until Page
Contains Element, or Wait For Condition keywords, or wrap any other
keyword with BuiltIn keyword Wait Until Keyword Succeeds.
2011/1/18 <Mark.P...@ft.com>:
> Thanks Janne and Pekka
>
> I'm doing this:
>
> | Click Link | ${link1} | dont_wait |
>
> It's working OK now.
Great! Notice that you don't need to have exactly `dont_wait` as the
second argument. Having any non-empty string there is enough, so you
can make the data a little more readable by writing it, for example,
like `| Click Link | ${link1} | and don't wait |`.
> I definitely Like the Robot Framework. It seems to be the best ATTD
> framework out there.
Thanks a lot! Always nice to hear positive feedback. =)
> A detailed tutorial would be an improvement though. Even without such a
> tutorial it is very easy to use.
Yeah, we definitely miss getting started material and simple examples.
The User Guide is pretty comprehensive, and I'm very proud we have
such good documentation, but it's more like a reference guide than a
tutorial.
Hopefully some day we have tutorials, examples, screencasts, dedicated
books, ... I'm also hoping the community can help with them.