alfa Posted May 5, 2011 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
jaberwacky Posted May 5, 2011 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: AutoIt Wiki | Can't find what you're looking for on the Forum? My scripts: Guiscape | Baroque AU3 Code Formatter | MouseHoverCalltips | SciTe Customization GUI | ActiveWindowTrack Toy | Monitor Configuration UDF
alfa Posted May 5, 2011 Author 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
Jayson Posted May 5, 2011 Posted May 5, 2011 (edited) From help file : WinWaitActive with _IELoadWait might do the trick Edited May 5, 2011 by Jayson
alfa Posted May 5, 2011 Author Posted May 5, 2011 Thank you Jason, I will try WinWaitActive but _IELoadWait is not working on some situations.
Juvigy Posted May 5, 2011 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.
alfa Posted May 5, 2011 Author 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.
Juvigy Posted May 5, 2011 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.
alfa Posted May 5, 2011 Author Posted May 5, 2011 Exactly. Can anyone help me click on a Java button ?
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