Thanks Wesley, I got it now. No pop up and the call blocks!!.

On Jan 12, 1:12 pm, "wesley chen" <cjq....@gmail.com> wrote:
> If you write the code as above, you can never print out the text.The
> click_no_wait method is waiting for a pop up, if no pop up, it will wait all
> the time.
>
> Thanks.
> Wesley Chen.
>
> On Mon, Jan 12, 2009 at 3:30 PM, mbaruah <oss.mand...@gmail.com> wrote:
>
> > In my ruby(1.8.6)/watir code I am currently making use of
> > "click_no_wait"
>
> > When I execute the following code
> > --------------------------------------------------------------------------
> > puts "before click"
> > ie.link(:text, /#{pattern}/).click_no_wait
> > puts "after click"
> > --------------------------------------------------------------------------
>
> > "before click" gets printed, the text link is clicked BUT after that
> > the script just hangs.
> > "after click" never gets printed out.
>
> > Earlier when I wrote the script, it worked just fine. But suddenly now
> > the script just hangs
> > because of this "click_no_wait". Did anyone come across this problem
> > earlier.
> > Please help!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to