Hello everyone !
Sorry my bad english ..., I have a problem with the [IEWaitDocumentComplete] command when I use [IEGetFromURL] to capture the IE instance of any Internet Explorer window.
The problem occurs when I open any Internet Explorer window manually and I use [IEGetFromURL] command to capture the IE instance, then I use [IENavigate] to navigate and finally I use the [IEWaitDocumentComplete] command for If the load process isn't OK. In this case the [IEWaitDocumentComplete] command DOESN'T WORK and PAUSE the script ! Why ???
However, If you create the IE instance with [IECreate] command, then you use [IENavigate] to navigate and finally you use the [IEWaitDocumentComplete] to wait the load process this last command works correctly !
Is it not the same ? I don't understand ... ... ...
Problem with [IEGetFromURL] & [IEWaitDocumentComplete]
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Problem with [IEGetFromURL] & [IEWaitDocumentComplete]
This is because for IEWaitDocumentComplete to work it depends on some "event listeners" which are only created when IECreate is called. When you create the instance manually there is no event listener for that instance.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: Problem with [IEGetFromURL] & [IEWaitDocumentComplete]
Thank you so much for your answer Marcus !
Torkas
Torkas