> Thanks for replying but these option is also not working.

What exactly is happening?  Is an error thrown?

It's possible that the javascript needs to be triggered via a
fire_event method (http://rdoc.info/gems/watir/1.8.1/Watir/
Element:fire_event):

browser.link(:text => "Update").fire_event("onclick")
browser.link(:text => "Cancel").fire_event("onclick")

Hope it helps.

orde



On May 16, 7:28 am, sandy <[email protected]> wrote:
> Thanks for replying but these option is also not working.
>
> Please let me know if there is an another solution of this problem.
>
> On May 13, 7:55 pm, Željko Filipin <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > On Fri, May 13, 2011 at 4:31 PM, sandy <[email protected]> wrote:
> > > i am not able to click the update or cancel link
>
> > Try this:
>
> > browser.link(:text => "Update").click
> > browser.link(:text => "Cancel").click
>
> > Željko
> > --
> > watir.com - community manager
> > watir.com/book - author
> > watirpodcast.com - host
> > viaqa.mobi conference on software testing - organizer

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