[wtr-general] Re: if $ie.label(:text,label.to_s).exists? - Assertion Error

2009-01-08 Thread Darin Duphorn
: 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

[wtr-general] Re: if $ie.label(:text,label.to_s).exists? - Assertion Error

2009-01-08 Thread Tiffany Fodor
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

[wtr-general] Re: if $ie.label(:text,label.to_s).exists? - Assertion Error

2009-01-08 Thread Darin Duphorn
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:

[wtr-general] Re: if $ie.label(:text,label.to_s).exists? - Assertion Error

2009-01-08 Thread Tiffany Fodor
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

[wtr-general] Re: if $ie.label(:text,label.to_s).exists? - Assertion Error

2009-01-08 Thread Tiffany Fodor
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