ONDOWNLOAD works not correct

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
PedaPan
Posts: 1
Joined: Wed Dec 27, 2017 8:56 pm

ONDOWNLOAD works not correct

Post by PedaPan » Wed Dec 27, 2017 9:52 pm

Hello Guys,

first pls sorry for some english mistakes, this is not my mother language.

Ok, first my user informations:

1: iMacros Browser (x86) Version 12.0.501.6698

2: Win 7, (x86)

3: for this Problem i use the internal iMacros Browser.

4: All demo macros works correct

What i try to do is, download a .csv file from a website. This is the iMacros code i use:

Code: Select all

VERSION BUILD=12.0.501.6698
TAB T=1
TAB CLOSEALLOTHERS
'SET !PLAYBACKDELAY 0.00
SET !TIMEOUT_DOWNLOAD 15
ONSECURITYDIALOG BUTTON=YES CONTINUE=YES
ONSECURITYDIALOG BUTTON=YES CONTINUE=YES
URL GOTO=https://52.58.164.53:8443/index.action
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:userName CONTENT=USERNAME
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD ATTR=NAME:password CONTENT=PASSWORD
TAG POS=1 TYPE=A ATTR=TXT:Anmelden
TAG POS=1 TYPE=A ATTR=TXT:Daten-Export
TAG POS=1 TYPE=INPUT:RADIO ATTR=NAME:powerValue
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:beginDate CONTENT=2017-12-27
TAG POS=1 TYPE=INPUT:RADIO ATTR=NAME:powerValue
ONDOWNLOAD FOLDER=* FILE=* WAIT=YES
TAG POS=2 TYPE=A ATTR=TXT:OK
The result is a file with the name "exportAction!exportFile.action" , 2KB size.

First i got the error -1410: No Download Detected. After that i read the wiki and tried to solve the problem with some WAIT commands. But the only thing that happend is, that i dont get the error anymore, but still dont get the .csv file.

Maybe somebode knows what to do here.

Thanks for reading and regards,

Chris
Post Reply