On Tue, Oct 27, 2009 at 5:10 AM, abhisheksreepal <[email protected]>
wrote:
> The only attribute which distinguish between them is  'onclick'

Then try :xpath or :html (code not tested):

browser.link(:xpath,"//a...@onclick='onclick_value']/").click

http://wiki.openqa.org/display/WTR/XPath

browser.link(:html,"onclick_value").click

Željko
--
watir.com - community manager
watirpodcast.com - host

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to