Execute File
Last updated
Last updated
The "Execute File" action in Avo Assure, located under the @Generic Element, automatically fetches and executes the specified input file. This ensures accurate execution by utilizing the specified file path and format and stores the resulting output in variable.
Note: Supported formats are .exe, .vbs, .bat, Text and static variable/Dynamic variable
Input: <Filepath> Output :<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
Scenario
A team is automating the testing of a new software update installation. They use a keyword to open and run the updated file automatically. The team must provide the exact file path, such as C:\Users\Downloads\ChromeSetup.exe
. This ensures that the tool runs the correct file without manual intervention.
Input: Provide the input values as below:
· ChromeSetup.exe\Downloads\Users\C:
Expected Result: It should execute the given file.
Output: The result of the Execute File action is stored in the {result} output variable as “True” and file got executed, which can be utilized for display or other purposes.