Save File
Last updated
Was this helpful?
Last updated
Was this helpful?
The pre-built action located at @Browser Element Name instructs the Avo Assure Client to save file opened in a new tab with the specified name. The Save File Action enables saving files to a designated directory or location on the system.
Input: <FilePath>;<FileName.extn>; <Wait (in Seconds)>(Optional)
Ensure to provide Input Value file path along with its extension and waiting period (optional) separated with semicolon.
If the wait time is given in seconds, the execution will pause for that duration to launch file explorer.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
In web application testing, it is often necessary to validate the process of downloading files, such as PDFs, images, reports, or documents. The Save File Action allows you to simulate the action of saving a file to a specific location during automated tests. This is particularly useful verifying that files are saved correctly after certain actions.
C:\Users\Documents;Sample.txt;2
The file should be saved to the ‘C:\Users\Documents’ this location on the system and save the status as True in the Output Variable.
The Save File Action is saving the file to C:\Users\Documents this file path and storing status in {result} Output Variable as True, which can be utilized for display or other purposes.