I appreciate any help.

Do you have an application that uses Labels?  If so, could you please try this.

Thanks,

Darin


-----Original Message-----
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On 
Behalf Of Tiffany Fodor
Sent: Thursday, January 08, 2009 3:48 PM
To: Watir General
Subject: [wtr-general] Re: if $ie.label(:text,label.to_s).exists? - Assertion 
Error


Hey Darin!

I was just wondering if there's a problem modifying the variable with
the to_s in the object specifier or if maybe 'label' is some kind of
reserved keyword or variable.  That's why I suggested changing the
variable name and modifying it outside of the object identifier.

-Tiffany

On Jan 8, 2:44 pm, "Darin Duphorn" <dduph...@redbrickhealth.com>
wrote:
> That actually what I'm using
>
> $ie.label(:text,label.to_s).exists?  
>
> -----Original Message-----
> From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] 
> On Behalf Of Tiffany Fodor
> Sent: Thursday, January 08, 2009 3:43 PM
> To: Watir General
> Subject: [wtr-general] Re: if $ie.label(:text,label.to_s).exists? - Assertion 
> Error
>
> 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