Instead of:
  wait_until {ie.frame(:src,"./
app").text_field(:id,"c_nameFieldId").exist?}
Try:
  Watir::Waiter.wait_until {ie.frame(:src,"./
app").text_field(:id,"c_nameFieldId").exist?}

I guess you could include Watir::Waiter and then use the method as
Željko suggested, but I'm not sure of all the effects of doing that.

Chandu

On Sep 23, 7:57 am, Željko Filipin <[email protected]>
wrote:
> On Thu, Sep 23, 2010 at 1:53 PM, Hrishikesh Bose <[email protected]>
> wrote:
>
> > wait_until didn't worked. it throws the following error
> > ANS Automation.rb:6: undefined method `wait_until' for main:Object
> (NoMethodError)
> > Do i have to include any other library other than watir and rubygem
>
> I am not sure, maybe somebody will know. Which version of watir do you use?
>
> Ž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]

Reply via email to