The Upload Files functionality enables you to upload arbitrary files (with the exception of executable files such as .exe, .vbs, .bat, .cmd, etc.) to your AlertFox account for use with iMacros Image Recognition technology, for sensors that monitor/test uploading a file to your website, and as a data source for data-driven testing.
The maximum file size and space limit for uploads to an AlertFox account are:
• Single file: 1 MB
• Total upload space: 20 MB
If you need to upload a file bigger than 1 MB or to extend the upload space, you can contact our AlertFox support team.
The use of Image Recognition is recommended if you need to test web sites with non-html based functions, such as Macromedia Flash (Shockwave) or Java applets. The computer vision commands for this are the IMAGESEARCH and IMAGECLICK commands. They do not rely on the coordinates of an element but only on its visual appearance. Thus buttons and input boxes can be found even if they move around on the screen.
To check the upload functionality of your website, upload the file (e.g. *.pdf) you want to use for the tests to your AlertFox account. Now you can create an iMacros sensor that uploads the same file to your web page. The following macro uses the iMacros upload demo page:
If you have two or more iMacros sensors that use some of the same data, e.g. for filling out an online web form, rather than hard coding this data into each macro you can put it into a data source file (any text-only file such as .txt or .csv) and upload it your AlertFox account so that it can be shared by multiple sensors. This way when you need to make a change to the data, you only have to edit and re-upload the file instead of editing the macro code for each sensor.
The following example macro code shows how to reference the Address.csv file (included with iMacros) after it has been uploaded to your AlertFox account, and uses it on the iMacros Form Filling demo page:
Another good use for a data source file is if you want to use randomized data in your sensor. For example, instead of always referencing the same row/record in the file, you can use the iMacros EVAL command to generate a random row number.
- Help Overview
- How It Works
- The AlertFox iDrone