Hi guys, I've been trying to find examples and tutorials on how to
fill out web forms and submit them but couldn't seem to find any. So,
I decided to try it out myself and see how far I can go. I tried the
beginner forum but can't seem to get a reply there either.
Here is what I want to do:
1) Open IE and go to a specific website (ie. gmail.com)
2) Make sure IE has loaded, AND the website has loaded fully
3) Send username and password, then submit the form
Here is what I got so far:
; Run Internet Explorer and go to the Gmail website
Do("C:/program files/internet
explorer/iexplore.exe","http://www.gmail.com/")
; Wait until IE is up (this doesn't seem to work!!)
Wait.For(ActiveWindow("*Gmail* - Microsoft Internet Explorer"))
; Log into Gmail with my username and password
Win.Keys("{to *Gmail* - Microsoft Internet Explorer}myusername{tab}
mypassword{tab}")
For some reason however, the keys do not get sent to the browser. IE
opens and goes to gmail.com, but no keys get sent. What am I doing
wrong here?
Also, how can I make sure the web page has loaded fully before
sending the keys?
Finally, does anybody know if you can address specific form elements
with a html page? Like, for example in JavaScript, you can write a
value in a specific textbox in a specific form by doing:
document.formname.textboxname.value = "hi!"; Is this any way possible
with PowerPro?
Thanks guys!
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/power-pro/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/