Interrogating a Windows or Web application
After adding a Windows or Web application to a project and setting the starting path or URL, you can interrogate the application. These steps outline how to interrogate a simple application in Pega Robot Studio.
- From the Project Explorer, double-click the application.
- From the Application Designer, click Start Interrogation.
- In the Interrogation form, click the Capture icon (the bullseye) and drag it to a target element you want to include in the solution. A rectangle outlines the control.
- Release the Capture icon to create a control that
corresponds to the selected target.
Result: The selected target is added to the Palette. If the target has parent elements, these controls are automatically matched and added. Robot Studio uses match rules to uniquely identify each target. - Using the Name property for the control, you can rename
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 application 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.
- Continue interrogating targets on the application until you have all the controls needed for your automation.
- Click Stop Interrogation.To begin building your automation with the newly interrogated controls, see Building automations on the Automation Surface
Previous topic Delayed interrogation feature Next topic Interrogation errors