Supported & Unsupported Commands
Since AlertFox runs the original iMacros software, it replays the test macros the same way that they run on your desktop. Therefore, all iMacros commands are supported, except a few that require user interaction.
For file upload tests, dummy test files (.jpg, .png, .pdf, .zip, .doc, and .txt) are available on the server. The path is c:\uploadtest\. The file names are 10k.ext, 100k.ext, and 1M.ext, where .ext is one of the aforementioned file types. The first part of the file name indicates the file size (10k = 10 kilobytes, 1M = 1 MB). If you need other file types or sizes, please contact AlertFox support.
Here is a test upload macro:
URL GOTO=http://depositfiles.com/ TAG POS=1 TYPE=INPUT:FILE FORM=ID:upload_form ATTR=NAME:files CONTENT=C:\uploadtest\1m.zip TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:upload_form ATTR=VALUE:* TAG POS=1 TYPE=DIV ATTR=ID:main TAG POS=1 TYPE=DIV ATTR=ID:upload_done_block TAG POS=2 TYPE=DIV ATTR=CLASS:upload_form_title
Download tests are supported, too. You can create macros that download any kind of data. The download directory is purged automatically every ten minutes.
Note that the maximum macro runtime is currently limited to 120 seconds, so the up- or download must be completed during this time. PRO3 customers can contact tech support for individual adjustments.
These commands require some manual configuration on the AlertFox servers, and are therefore only available for PRO3 subscribers. Simply contact our tech support if you need to use them and we set this up for you.
The following commands require user interaction and are therefore not supported for automated testing.
!CLIPBOARD variable PAUSE PRINT PROMPT SET !ENCRYPTION TMPKEY (use SET !ENCRYPTION NO instead and store the password in plain text in the macro) SET !ENCRYPTION STOREDKEY (use SET !ENCRYPTION NO instead and store the password in plain text in the macro) SET !SINGLESTEP YESOther unsupported commands:
CLEAR (not required, as AlertFox starts all browsers with an empty cache/no cookies set at every transaction.)
- Help Overview
- How It Works
- The AlertFox iDrone