Yes
You can access this links by index.
Please refer to ie.show_links()

> Hello All,
> 
> I have a form which has the following layout
> [u]Link1[/u]           Button
> [u]Link2[/u]           Button
> [u]Link3[/u]           Button
> 
> I want to be able to use WATIR to click the button beside [u]Link2[/u], my 
> thinking is that I want to get the index of the link containing text "Link2" 
> and then use this value to - Button(:index, linkIndex).click
> 
> Is it possible to return the index of the link?
> 
> Thanks,
> 
> PMF.
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.openqa.org/thread.jspa?threadID=5594&messageID=15602#15602
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to