[Wtr-general] How to use for loop in watir script?
Charley Baker
charley.baker at gmail.com
Thu Aug 10 11:02:40 EDT 2006
I'm not sure I understand your requirement or why you can't do a for loop,
here's a quick stab in the dark:
ie.text_field(:name, 'user name').set('name' * 5)
More information about your situation may get a different and possibly
better answer.
-Charley
On 8/10/06, Mayank <forum-watir-users at openqa.org> wrote:
>
> My requirement is that, I want to print some text in 5 times in one text
> box like "User name". I want to do with for loops but I'm not able do that.
> Give me suggestion if you have any sense about that
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.openqa.org/thread.jspa?threadID=3436&messageID=9610#9610
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060810/56300f74/attachment.html
More information about the Wtr-general
mailing list