How To Open An Excel File For UiAutomation?

How to open an Excel file for UiAutomation?

For use cases where it is required to open an Excel for performing UiAutomation, either use the "Start Process" activity or the "Open Application" activity.

  • Open Application activity - Make sure the "selector" property of the activity is made dynamic so that it can handle any excel file.

  • Start Process activity - For the property "FileName", we need to provide the full exe path of the Target Excel application. One way to obtain this is from the property "FileName" of the "Open Application" activity.