Execute File
Last updated
Last updated
Execute File action in the Avo Assure is found under the @Generic Element is used to fetch the given input file that will be executed automatically. This ensures that the system identifies and runs the correct file during the testing process, as the input value includes the exact file path and file format and save the result in the given output 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 testing if a new software update installs correctly. To do this automatically, they use a keyword that opens and runs the updated file. They just need to provide the exact location and file name, like C:\Users\Downloads\ChromeSetup.exe
. This makes sure the tool runs the right file without anyone having to open it manually, helping the team check that the update installs smoothly.
Input: Provide the input values as below:
C:\Users\Downloads\ChromeSetup.exe
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.