: 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
ny 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
e: 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 wrote:
oops, had a typo in there
labelText = label.to_s
$ie.label(:text, labelText).exists?
On Jan 8, 2:43 pm, Tiffany Fodor 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, 'l
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 wrote:
> if $ie.label(:text,label.to_s).exists?
>
> I'm getting assert_exists: Unbal