nadeem0035 Posted October 13, 2011 Share Posted October 13, 2011 Hey Guys, I'm new so go easy on me. I want open Some website in internet explorer Then i want first website complete load and then using send("{TAB 3}") i reach some text box put values and do some action(Press Enter ). I used sleep(some time) to load webpage then perform action it is correct. BUT my Problems is some time website cannot load complete sleep time reach to end and auto it program do action but due to not complete loaded website it done wrong work...... Please Please tell me solution........ Thanks in Advance... Link to comment Share on other sites More sharing options...
Ramzes Posted October 13, 2011 Share Posted October 13, 2011 Post your code. Sorry for my bad English but nobody is perfect. [font=arial, helvetica, sans-serif]Ramzes[/font] Link to comment Share on other sites More sharing options...
Zedna Posted October 14, 2011 Share Posted October 14, 2011 As Ramzes said, post your code. Here you have got some example: Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
nadeem0035 Posted October 20, 2011 Author Share Posted October 20, 2011 (edited) Friends first i tried it #include <IE.au3> $oIE = _IECreate ("http://www.google.com.pk") _IELoadWait ($oIE) Send("{F6 3}") Send("{TAB 8}") Send("{ENTER}") _IELoadWait ($oIE) Send("example@gmail.com") Send("{TAB}") Send("password") Send("{TAB}") Send("{ENTER}") Second i tried it #include <IE.au3> $oIE = _IECreate ("http://www.google.com.pk") _IELoadWait ($oIE) Sleep(500) Send("{F6 3}") Sleep(500) Send("{TAB 8}") Sleep(500) Send("{ENTER}") Sleep(500) _IELoadWait ($oIE) Sleep(500) Send("example@gmail.com") Sleep(500) Send("{TAB}") Sleep(500) Send("password") Sleep(500) Send("{TAB}") Sleep(500) Send("{ENTER}") Sleep(5000) ************************** using first code I got very bad result to login but only few time i login using second code i got best result but not correct login all time... Please help me I want when Google.com open and load complete and there should be written done in statues bar then send f6 and tab command and login page first load complete page then send user and password . I think then it is perfect program to login Google i also facing i also want i used do not sleep() function because some time google.com open very late. Edited October 20, 2011 by nadeem0035 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now