Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Start methods for Windows applications

Updated on October 19, 2022

When you add a Windows application, you define a Start method. Start methods define how Pega Robot Studio behaves when opening the application.

The StartMethod property determines how the target application is started. The following table lists and describes the available options:

Start methods

StartWith this option, starting the adapter causes Robot Studio to launch and hook the application defined by the Path property.
StartAndWaitWith this option, which only applies to the Windows adapter, starting the adapter causes Robot Studio to launch the application identified in the Path property and then waits until the application in the TargetPath is launched. When the TargetPath application runs, Robot Studio then hooks the TargetPath application.

Robot Studio does not hook the Path application; therefore, you cannot interrogate or automate the Path application.


With this option, after the adapter starts, Robot Studio waits until the Path application or specified browser runs and then hooks the application. In this case, the Path application must be launched independently (for example, from an external application or manually) after the adapter starts. Once the application is launched, Robot Studio hooks the application and the interrogated controls are available to the project automations or event monitoring. The adapter must be started before the Path application is launched to hook the application.

When using this StartMethod, you can omit the full path when specifying the application executable in the Path property and simply enter the executable file name. You must set the project's TargetEnvironment to Driver with this StartMethod.

In cases where multiple instances of the Path application can be run, set the UseKeys property to True for the application. This allows Robot Studio to correctly identify and interact with the various instances of the application.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us