no luck prahu...below error i am getting
unable to locate element, using {:id=>"customer-list-item",
:tag_name=>"div"} (Watir::Exception::UnknownObjectException)
On Wed, Jun 17, 2015 at 11:05 AM, Velraj Prabhu <[email protected]>
wrote:
> 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 a topic in the
> Google Groups "Watir General" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/watir-general/o9rIEX_CDJw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
--
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.