Okay guys,

It's my mistake. I used *when_present *for* <input id="fb-note-title" type="
text" />* .

It (*when_present*) is working fine for *browser.link(:id, "showlink").click
*.

But my script is producing the following error for * <input id="
fb-note-title" type="text" /> **

Error: Element is not currently visible and so may not be interacted with
*
Please let me know how to deal with this.

And I am really sorry, I wasted your valuable time, but I realize some
important things about Watir. Thank you all.

Thanks,
-Amit

On Sun, Sep 4, 2011 at 1:11 PM, Chuck van der Linden <[email protected]>wrote:

> On Sep 3, 3:00 am, Alister Scott <[email protected]> wrote:
> > are you using id = "showlink" or id = "fb-note-title"?
> > You may be waiting for the wrong thing
>
> That or his error has moved down the script and he has not realized
> it.
>
>  I'd bet that the click on 'showlink' is working fine now and we have
> a later error with another element (:id, 'fb-note-title') that is
> again being created or manipulated by clientside scripting, so is not
> present when the page finishes loading from the server and he needs to
> again wait until it is present before trying to interact with it.
>
> --
> 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]<http://groups.google.com/group/watir-general%[email protected]>
>



-- 
Thanks and Regards,
Amit

-- 
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