lzamora Posted January 19, 2010 Share Posted January 19, 2010 Guys, Im using a this sentence to wait for rensponse of my $oIE3, but my page used to take 30 sec until 3 minutes, thats why im not using Loadwait and LoadwaitTimeout. $Variable1= "Test1" $Variable2= "Test2" $oIE3 = _IENavigate($oIE,"javascript:go?("...$Variable1...$Variable2")'") While _IEProperGet($oIE3,"readystate")=4 sleep(2500) WEnd _IEAttach($oIE4) however this is not working as well, i need to wait my page load completly before continue my script. Can you guys help me out on that!? Peace! Link to comment Share on other sites More sharing options...
jvanegmond Posted January 19, 2010 Share Posted January 19, 2010 ... but my page used to take 30 sec until 3 minutes, thats why im not using Loadwait and LoadwaitTimeout.That makes no sense. The default wait time is 5 minutes, and you can set it to wait a year. github.com/jvanegmond Link to comment Share on other sites More sharing options...
lzamora Posted January 19, 2010 Author Share Posted January 19, 2010 That makes no sense. The default wait time is 5 minutes, and you can set it to wait a year.Ok, if my application take more than 5 minutes to load i cant continue my test using a pre-defined command in AutoIt?Are there any command to continue the tests only after page loads completly?...I dont wanna work with sleeps anymore, because my appl is very inconsistent.Im sorry for my limited knowleadge, but im quite new on this field.thank you Link to comment Share on other sites More sharing options...
JohnOne Posted January 19, 2010 Share Posted January 19, 2010 Hi mate, Have you tried 'Busy' ?Retrieves a Boolean value indicating whether the object is engaged in a navigation or downloading operation. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jvanegmond Posted January 20, 2010 Share Posted January 20, 2010 Ok, if my application take more than 5 minutes to load i cant continue my test using a pre-defined command in AutoIt?Are there any command to continue the tests only after page loads completly?...I dont wanna work with sleeps anymore, because my appl is very inconsistent.Im sorry for my limited knowleadge, but im quite new on this field.thank youRead the documentation of _IELoadWait a little better. github.com/jvanegmond 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