On Apr 9, 8:16 pm, Chuck van der Linden <sqa...@gmail.com> wrote:
> I think you are calling the wrong method for what it looks like you
> are trying to do.
>
> .value returns the current value in the text field..
>
> to set the text field to a particular string you want .set
No you don't want to use .set. It has been discussed before that .set
is much slower than .value= (maybe Bret can give some more details
about the reason) and it is not wrong method when dealing with
text_field objects. But the initial problem was that Watir::Link
object was returned instead.
Bret, is this bug already in Jira or should I report it?
Jarmo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---