alfa 0 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 Share this post Link to post Share on other sites
jaberwacky 327 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? Share this post Link to post Share on other sites
alfa 0 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 Share this post Link to post Share on other sites
Jayson 0 Posted May 5, 2011 (edited) From help file : WinWaitActive with _IELoadWait might do the trick Edited May 5, 2011 by Jayson Share this post Link to post Share on other sites
alfa 0 Posted May 5, 2011 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
Juvigy 49 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. Share this post Link to post Share on other sites
alfa 0 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. Share this post Link to post Share on other sites
Juvigy 49 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. Share this post Link to post Share on other sites
alfa 0 Posted May 5, 2011 Exactly. Can anyone help me click on a Java button ? Share this post Link to post Share on other sites