Interrogating a Windows Application

Interrogating Internet Explorer 8 under Windows 7 SP1: Applications running in Internet Explorer version 8 spawn multiple processes. In Windows 7 SP1, you must set the HookChildProcesses property to True for the web adapter when interrogating applications in Internet Explorer 8. To exclude a specific process or Factory, use the ExcludeProcesses property. For more information, see Using HookChildProcesses and Excluding Processes for Use in Projects.

After you add a Windows adapter to a project and identify the path of the application, the next step is to interrogate the application and select the objects in the application you want to use in the Studio project.

  1. Open the Windows Adapter for the application in the Designer by double-clicking on the adapter project item in Solution Explorer.

  2. Click the Start Interrogation button in the Designer. Studio launches the application and the Interrogation Form window is displayed.

  3. Using the Default interrogation option, click and drag the Interrogation icon from the Interrogation Form over a target that you want to include in the solution.

  4. Release the target icon when a black outline is displayed around the target.  Studio applies match rules to uniquely identify the target and creates a control representing the selected target. The matched control is added to the Object Explorer. If the target has parent objects that have not been interrogated, Studio creates controls corresponding to these objects.

  5. Using the Name property for the control, you can re-name the control for identification purposes. For example, if the control name is textbox1, you could rename it to identify the application and function within the project, such as txtCRMLogin.

When naming project items, components, and controls, use a unique name within the project. For example, if you have an adapter named Google and an automation named Google, you will receive an error. This also applies when naming components and controls. As a general rule, do not name components using property names. For example, if you rename a button on a Windows form Text, you will receive a build error as the form containing the button has a property named Text.

  1. Repeat the process of dragging the interrogation icon over the application targets until all of the application controls required for your project to appear in Object Explorer.

  2. Close the application or click the Stop Interrogation button to stop the interrogation.

 

Related information

Interrogator and Match Rules

Interrogation Form - Windows Application

Interrogation Errors

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 18 June 2020

© 2016 - 2020 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label