Jump to content

Using ReadyStatus


lzamora
 Share

Recommended Posts

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

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

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

Read the documentation of _IELoadWait a little better.
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...