Hi KArtheek, try out this code
assert(browser.link(:text, 'create link').exists?, 'Could not find the Link') regards, Mahesha Maiya On Tue, Sep 14, 2010 at 11:48 AM, chunchu kartheek < chunchukarth...@gmail.com> wrote: > Hi , > > Can anyone help me how to use verify method . I want to verify whether > a link exists or not in a page. Want to display error message if does > not exist. > > Thanks in advance > > Regards, > Kartheek > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: watir-general@googlegroups.com > To unsubscribe: > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com