When I set downloads to automatic I still get the File Download window and it will not take input from the program. I am thinking I may have something set wrong in the IE options. Automatic Promting for File downloads is enabled and Popup Blocker is disabled. Is there anything else I need to have set. After the user clicks on "Save" the file is saved atomatically but it never released the script to go to the next line. I have to stop it manually. Here is a test script that demonstrates my problem:
Code: Select all
// Generated by MacroScript WebRecorder 3.02
// Recorded on Wednesday, September 25, 2013, at 01:39 PM
//Move the mouse cursor out of harm's way
MouseMove>0,0
Let>delay=1
//Enable automatic downloads to script's folder
IEOnDownload>1,%SCRIPT_DIR%,IEres
//Set timeout for ClickTag and FormFill to 10 seconds
IESetTimeout>10,IEres
IECreate>0,IE[0]
IENavigate>%IE[0]%,https://secure.lccapital.net/,IEres
IEWaitDocumentComplete>%IE[0]%,IEres
// Log in to the site
IEClickTag>%IE[0]%,{""},{""},{"A"},{"TEXT"},{"Log In"},IEres
IEWaitDocumentComplete>%IE[0]%,IEres
IEClickTag>%IE[0]%,{""},{"ACTION:login.php"},{"INPUT"},{"INDEX"},{"0"},IEres
IEFormFill>%IE[0]%,{""},{"ACTION:login.php"},{"username"},{"lcctest"},0,IEres
IEFormFill>%IE[0]%,{""},{"ACTION:login.php"},{"password"},{"xyz123"},0,IEres
IEClickTag>%IE[0]%,{""},{"ACTION:login.php"},{"INPUT"},{"INDEX"},{"2"},IEres
IEFormSubmit>%IE[0]%,{""},{"ACTION:login.php"},IEres
IEWaitDocumentComplete>%IE[0]%,IEres
// select the document to download
IEClickTag>%IE[0]%,{""},{""},{"A"},{"TEXT"},{"Test"},IEres
Let>downloaded_filename=J:\PowerAdvisor\Files\Aviva\showfile.php
Let>downloaded_filesize=123
IEWaitFileDownload>showfile.php,IEres
// a file download window opens and the save button must be clicked by the user
// the program will not interact with it at this point
// the file is then downloaded but....
// the following message never displays - the progam is locked up at this point
// and will not time out.
MessageModal>File has been downloaded
IEOnDownload>0,J:\PowerAdvisor\Files\Aviva,IEres
IEClickTag>%IE[0]%,{""},{""},{"TD"},{"INDEX"},{"1"},ie_res
IEClickTag>%IE[0]%,{""},{""},{"A"},{"TEXT"},{"Log Out"},ie_res
IEWaitDocumentComplete>%IE[0]%,ie_res
Label>end_script
Thanks,