Sign in to follow this  
Followers 0
alfa

how to wait for the popped up window to load

9 posts in this topic

Hello,

I need to click on the popped up page. But i cant make it wait for it to load the new page. IS there an other way than sleep ?

Thanks

Share this post


Link to post
Share on other sites



Moar details!

We need to know more about what you're doing. When you say page then I can assume that you're automating Firefox or IE?

Ah i am sorry about the lack of information. I am using IE. The page i am working on is a company program so i cant gice a location to check :unsure:

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

From help file : WinWaitActive with _IELoadWait might do the trick Posted Image Edited by Jayson

Share this post


Link to post
Share on other sites

Thank you Jason,

I will try WinWaitActive but _IELoadWait is not working on some situations.

Share this post


Link to post
Share on other sites

WinWaitActive wont help you - the window may become active before the new page has been completely loaded.

You need _IELoadWait. If it is not working - maybe you are not using it correctly - give more details.

Share this post


Link to post
Share on other sites

Actually it worked.

WinWaitActive ("Value Selection for Vendor (required entry) - Windows Internet Explorer")

_IELoadWait ($oIE, 1000)

i made the part that needed to wait like this and it worked.

Share this post


Link to post
Share on other sites

Are you saying that this works :

WinWaitActive ("Value Selection for Vendor (required entry) - Windows Internet Explorer")
_IELoadWait ($oIE, 1000)

and this doesnt work:

_IELoadWait ($oIE, 1000)

Seems quite strange to me - i have never had such issue with IE.

Share this post


Link to post
Share on other sites

Exactly. Can anyone help me click on a Java button ?

Share this post


Link to post
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
Sign in to follow this  
Followers 0