Okay, its late and maybe I'm just thinking this through wrong, but I seem to be having a problem getting IEWaitForText to work correctly, if at all.
Simple test program:
Code: Select all
IECreate>IE[0]
IENavigate>%IE[0]%,http://www.mjtnet.com/,ie_res
IEWaitDocumentComplete>%IE[0]%,ie_res
IEWaitForText>IE[0],,{"Automate business processes"},0,30,res
If>res=1
MessageModal>Text Found
else
MessageModal>Text Not Found
**BREAKPOINT**
IEQuit>%IE[0]%,ie_res
Also, I would expect the program to pause for up to 30 seconds while waiting for the text, since it doesn't appear to find it, but it doesn't, it just runs right through it. Text is there, it should be found, and if it is, then it doesn't appear to be setting the result correctly.
I have tried adding additional delay after the IEWaitDocumentComplete, but that didn't seem to help either.
Time for me to go back to my code and fix it a different way

Dan