Skip to main content

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

Using the TargetPath property

Updated on October 19, 2022

The TargetPath property applies when the target application, the application that you want to interrogate, is launched by one or more other applications.

The target application is launched as the result of one or more other processes (applications) occurring first. In this case, the Path property defines the executable that starts the target application. The TargetPath identifies the executable that will be interrogated and automated by the project.

When you make entries in both the Path and TargetPath fields, set the StartMethod to StartAndWait. Note the application you enter in the Path property cannot be interrogated, nor can any other process that it starts. The only application you can interrogate is the application entered in the TargetPath.

Set the Path property to the name and full path of the application that launches the target application. Enter the name of the target application in the TargetPath property. You do not need to enter the full path in the TargetPath.

For projects to work properly with TargetPath applications, you must set the TargetEnvironment property of the Project to Driver. Users of the deployed project will need to have the driver installed on their workstations. The driver is installed during the Runtime installation by selecting the Install Pega.sys driver option.

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