Hi Siddhu,
Try the below mentioned code
customer_list =
browser.div(:id,"customer-list-item").divs(:class,"customer")
customer_list.each do |list_name|
if list_name.div(:class,"customer-info").link(:text,"M K").a.exists?
list_name.div(:class,"customer-info").link(:text,"M K").a.click
end
end
--
Regards,
Velurajprabhu.B
--
--
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.