Skip to content

ExecuteEXE function

This function is used to execute any exe file using RUN command. This function takes in one parameter which is path of the exe file which user wants to execute.

Select RUN command from the action dropdown and provide a variable name in Element key where output will be stored, edit parameter section and click on Form, select functions from the dropdown and select EXECUTEEXE function. Provide file path and click on save icon.

Syntax: ${__exeexecute(file path)}

Example:
${__exeexecute(C:\FunctionsTest\EXE\chromedriver.exe)}

You can also parameterize the file path as shown in the above snapshot. A local variable is set with the file path and then variable name is used in exeexecute function.

Back To Top