oops, had a typo in there....

labelText = label.to_s
$ie.label(:text, labelText).exists?

On Jan 8, 2:43 pm, Tiffany Fodor <tcfo...@comcast.net> wrote:
> I'm just curious....
>
> Does this work if you assign label.to_s to a variable first and try to
> locate the label?
>
> labelText = label.to_s
> $ie.label(:text, 'labelText').exists?
>
> -Tiffany
>
> On Jan 8, 11:29 am, Moochie <dduph...@redbrickhealth.com> wrote:
>
>
>
>
>
> > if $ie.label(:text,label.to_s).exists?
>
> > I'm getting assert_exists:  Unbale to locate element, using :text,
> > "Text Value"
>
> > Are you unable to check if a label exists using text attribute?
>
> > Thanks,
>
> > DD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to