oops, had a typo in there.... labelText = label.to_s $ie.label(:text, labelText).exists?
On Jan 8, 2:43 pm, Tiffany Fodor <[email protected]> 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 <[email protected]> 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 [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
