I'm not sure what link you are trying to click on since I don't have any html to try against but something like this might work @browser.link(:id => "breadcrumbTable" , :index => 1).click
On Tue, Aug 24, 2010 at 5:44 PM, Shlomit Gazit <[email protected]>wrote: > I have in the page a table with id: > > ie.table(:id,"breadcrumbTable") > > I also have two links with the same id unfortunately: > > ie.link(:id,"x").click > > I would like to be able to click on the link that is located *outside* of > the table above. > > Is that clearer? > > > > On Tue, Aug 24, 2010 at 1:44 PM, Basim Baassiri <[email protected]> wrote: > >> I would like to able to help you but you haven't provided any html code >> that illustrates your problem nor any code that shows me that you have tried >> >> assuming that you have read the examples >> http://wiki.openqa.org/display/WTR/Links >> >> you would see that >> <http://wiki.openqa.org/display/WTR/Links> >> @browser.link(:id, "breadcrumbTable").click >> >> might solve your problem but again I'm assuming >> >> >> On Tue, Aug 24, 2010 at 4:32 PM, Shlomit Gazit >> <[email protected]>wrote: >> >>> I would like to be able to click on a link in the page that is not >>> inside a table with id = "breadcrumbTable". >>> >>> How can I do that? >>> >>> -- >>> 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: [email protected] >>> To unsubscribe: >>> [email protected]<watir-general%[email protected]> >>> >> >> -- >> 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: [email protected] >> To unsubscribe: >> [email protected]<watir-general%[email protected]> >> > > -- > 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: [email protected] > To unsubscribe: > [email protected]<watir-general%[email protected]> > -- 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: [email protected] To unsubscribe: [email protected]
