Hi
Iam divya from bangalore
My watir code is like this:
ie = IE.new
ie.focus
ie.goto(record['url'])
ie.maximize
ie.wait()
ie.textField(:name, 'phone').set("9123456789")
And view source is like this:
Mobile Number:
<br/>
<input type="text" name="phone" maxlength="11"
size="11" value=""
AUTOCOMPLETE="OFF" style="-wap-input-format:'*N'" />
<br/>
PIN:
<br/>
<!-- Either 4 or 6 digits -->
<input type="password" name="pin" maxlength="6"
size="6" style="-
wap-input-format:'*N'" />
<br/>
I was not able to identify the object based on name phone and pin in
my script.
Message displayed as "Unable to lovate element using name"
Please help me in this regard
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---