Skip to main content
This content is now archived and is no longer updated. Progress is not calculated. Pega Cloud instances are disabled, and badges are no longer awarded. Click here to continue your progress in the latest version.

Other interrogation techniques

Other interrogation techniques

Because application development is inconsistent, you can interrogate an application in three other ways if the standard method does not work. You can:

  • Use Create Control
  • Add Menu Items
  • Use Web Controls

Using the Create Control for Windows applications

You may encounter a target that is visible but positioned so the Target icon cannot focus on the object. Follow these steps to use the Create Control interrogation method.

  1. Start the Interrogation process.
  2. On the Adapter Designer window, click the Windows tab.
  3. Click the List Windows button to show all available processes within the selected adapter.
    C05p3e4 01
  4. From the list of processes, click the Plus to expand the objects.
  5. Continue expanding the different levels as needed.
  6. Right-click on an object and select Highlight. The application appears with the selected object outlined and flashing.
    Note: Using the Highlight feature is helpful when you are trying to determine the location of a control within the application interface.
    c05p3e4 03
  7. Return to the Windows tab on the designer window.
  8. Right-click on the desired object and select Create Control. The control appears in the Object Explorer along with associated parents with the matching green checkmark.
    c05p3e4 05

Repeat these steps for each object required for the solution and business case.

Using Add Menu Items

There are times that the business case requires a menu option for the solution. Using the interrogation target disables the menu options on the application window.

Follow these steps to use the Add Menu Items.

  1. Start the Interrogation process.
  2. Navigate to the main windows form that contains the menu.
  3. In the Object Hierarchy, highlight the windows form.
  4. Right-click the windows form object in the Object Hierarchy. The object must show as matched to display the Add Menu Items option.
    C05o3e5 01
  5. On the context menu, select Add Menu Items. The Add Menu Items window displays.
    c05p3e5 02
  6. Select the desired menu items from the list.
  7. Click Refresh to display dynamically created menu items after navigating to a window that creates them.
  8. Stop the interrogation process.

As long as the main window form matches, the menu items from the form match, Pega Robot Studio™ uses the Menu Item Path match rule to match these controls. The path refers to the hierarchy of the menu options.

For example, the path for the Exit menu option is File > Exit. When using sub-options, such as Exit, in an automation, select the Exit option from the Add Menu Items window, the full path of File > Exit is not needed.

Using Web Controls

Developers often use hidden controls in websites to store data or important information needed for the application but not for the eyes of the user. Since you cannot see the label, you cannot drop the target icon on it.

Use the Web Controls tab on the Adapter Design window to locate the hidden object and add it to your solution. The Web Controls tab also provides a convenient way to list all web targets from a page currently open and matched in the interrogator.

  1. In the Solution Explorer, double-click on a web adapter project to open it in the design window.
  2. In the design window, click Start Interrogation. The Interrogation form window displays and the browser opens.
  3. Navigate in the web application to the desired web page.
  4. Minimize the browser window to bring the Adapter Design window into view.
  5. On the Adapter Design window, click the Web Controls tab.
  6. On the Web Controls tab, click List Browsers and Frames. The browser list populates.
  7. In the browser list, select the webpage to highlight it.
  8. In the Filter combo box on the Web Controls tab, select Input type = "Hidden". You can use this method to search for any web object from the list.
    c13pe1 01
  9. On the Web Controls tab, click List Web Controls. A list populates.
  10. If needed, right-click on the object in the web controls list to highlight it on the web page.
  11. On the web control list, right-click on the control and select Create Control. The matched object appears in the Object Hierarchy.
  12. Complete the interrogation process.

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice