alfa Posted May 5, 2011 Share Posted May 5, 2011 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 Link to comment Share on other sites More sharing options...
jaberwacky Posted May 5, 2011 Share Posted May 5, 2011 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? Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
alfa Posted May 5, 2011 Author Share Posted May 5, 2011 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 Link to comment Share on other sites More sharing options...
Jayson Posted May 5, 2011 Share Posted May 5, 2011 (edited) From help file : WinWaitActive with _IELoadWait might do the trick Edited May 5, 2011 by Jayson Link to comment Share on other sites More sharing options...
alfa Posted May 5, 2011 Author Share Posted May 5, 2011 Thank you Jason, I will try WinWaitActive but _IELoadWait is not working on some situations. Link to comment Share on other sites More sharing options...
Juvigy Posted May 5, 2011 Share Posted May 5, 2011 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. Link to comment Share on other sites More sharing options...
alfa Posted May 5, 2011 Author Share Posted May 5, 2011 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. Link to comment Share on other sites More sharing options...
Juvigy Posted May 5, 2011 Share Posted May 5, 2011 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. Link to comment Share on other sites More sharing options...
alfa Posted May 5, 2011 Author Share Posted May 5, 2011 Exactly. Can anyone help me click on a Java button ? 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