> Recording and Playback of File Download Scripts
Being able to record and playback a script which involves
downloading files from a specific page is often a very important
requirement in a test.
The tester must be aware of the settings that need to be set from
the preferences section of eValid to get the proper recording of a
file download.
In most cases, the tester will have to use the ModalDialog
commands (available from the extrinsic commands list within the
eValid script window) to be able to handle these windows dialogs.
Since there are various different types of "File Download"
dialogs, you may have to apply a mix of application mode and/or
desktop mode recording along with the ModalDialog commands to get
the desired results.
For more information on the eValid Preferences, please refer to:
Record/Play User Preferences
For more information on ModalDialog Support, please refer to:
Support for Testing Modal Dialogs
To effectively run the recorded file download script as a LoadTest
in which multiple downloads occur, the user must use the
Lock/Unlock command from the Extrinsic commands list to bracket
specific commands in the script file which requires desktop focus
during execution.
This step makes sure that the "File Download" dialogs do not
interfere with each other during a LoadTest run by explicitly
locking each instance of eValid during the file save process.
For scripts that download the same file during a LoadTest, eValid
can pass a filename as a parameter in the LoadTest so each
identical file will have a unique filename when downloaded.
For more information on LoadTesting, please refer to:
LoadTest Detailed Summary
|