On Wed, Sep 16, 2009 at 8:58 PM, dk dkora...@gmail.com wrote:
PS: i am new to this group - please let me know if i need to start a
different discussion thread.
If it is a new topic, please start a new thread.
Željko
--~--~-~--~~~---~--~~
You received this
Thanks a lot Zeljko ! worked just fine. Wonder why i didnt think of
trying link :)
One more question though:
After the click, since it is not a page refresh - but an ajax call, i
am waiting for some text to show up on page. How do i instruct Watir
to wait for it before executing the next step?
Place a while loop (i would suggest not infinite) and then use
$browser.text.include? 'llama' and code the sleep interval in the
loop along with it as well.
From
Karim Rayani
On Wed, Sep 16, 2009 at 8:18 AM, dk dkora...@gmail.com wrote:
Thanks a lot Zeljko ! worked just fine. Wonder why i
On Wed, Sep 16, 2009 at 5:18 PM, dk dkora...@gmail.com wrote:
How do i instruct Watir
to wait for it before executing the next step?
Everything you ever wanted to know, and even more. :)
http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir
Željko
Thanks a lot Karim and Zeljko !! I got my answers.
I guess im being lazy to not find answers and ask them here for a
direct solution.
Next time on, i'll try to be less lazy and a lil more mature member of
the group by doing a lil bit of reading and research before asking :)
Thanks guys !
On Wed, Sep 16, 2009 at 6:19 PM, dk dkora...@gmail.com wrote:
Next time on, i'll try to be less lazy and a lil more mature member of
the group by doing a lil bit of reading and research before asking :)
I am sure you did your best. :)
The next time you will know where to look.
Željko
On Tue, Sep 15, 2009 at 8:27 PM, dk dkora...@gmail.com wrote:
aFind/a
It may look like a button, but it is a link.
This might work:
browser.link(:text, Find).click
or
browser.link(:text, /Find/).click
http://wiki.openqa.org/display/WTR/Links
Željko
--
http://watirpodcast.com/