Hi,

I have duplicate links in the webpage as I attached (ex. Building Address). 
When I looked at the html source/through developer tool bar, I found the 
below attributes for each "Building Address" link.

Please suggest, how to click on the Building Address under Location 1 and 
Building Address under Location 2 with the below attributes. How to write 
in the ruby page file ?

Please find the attachment for reference(duplicate_links.jpg)

*Below is the html source for Building Address link under Location 1:*
AnchorIndex: 4
title: Enter Building Address
text: Building Address
id: 
anchoridpyWorkPage.ProductData.Component(Location).OptionData(1).Component(BuildingInfo).OptionData(1).Component(BuildingAddress).OptionData(1)
onclick:
displayDetail("pyWorkPage.ProductData.Component(Location).OptionData(1).Component(BuildingInfo).OptionData(1).Component(BuildingAddress).OptionData(1)","LocationDetails","RIGHTPANEL","pyWorkPage.ProductData.Component(Location).OptionData(2)")


*Below is the html source for Building Address link under Location 2:*
AnchorIndex: 12
title: Enter Building Address
text: Building Address
id:
anchoridpyWorkPage.ProductData.Component(Location).OptionData(2).Component(BuildingInfo).OptionData(1).Component(BuildingAddress).OptionData(1)
onclick:
displayDetail("pyWorkPage.ProductData.Component(Location).OptionData(2).Component(BuildingInfo).OptionData(1).Component(BuildingAddress).OptionData(1)","LocationDetails","RIGHTPANEL","pyWorkPage.ProductData.Component(Location).OptionData(2)")


Thanks

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to