Application Modeller spying

When enabled in the Capture User settings, Application Modeller attribute information is gathered for Win32 and UIA spy modes for every application element interacted with during capturing. This information is captured for every action performed during a Capture recording, such as typing and clicking, and optionally included in an auto-generated business object.

When you import the BPRELEASE file into Blue Prism, the spied data automatically populates the element attribute fields in Application Modeller.

To use Application Modeller spying, your display(s) must be set to 100% scaling in the Windows® display settings.

Include data in auto-generated business object

To include Application Modeller attribute information in your auto-generated business object:

  1. In the Business objects tab of the Capture User settings, ensure the following check boxes are selected:

    • Show business objects

    • Enable Blue Prism Application Modeller Spying

    • You can optionally select Auto-generate business object fields if you want all Step action fields to be automatically populated and all Create objects check boxes selected.

  2. Capture a process where you interact with an application.

  3. Open a step that contains a screenshot of the application and check that the Step action object name and action name fields are populated and that the Create object check box is selected.

    If you did not enable Auto-generate business object fields in the user settings, you will need to complete these fields manually.
  4. Click Save and Close.

  5. Click Export, select the Blue Prism release (.bprelease) check box and click Export. For more information, see Export a process.

The Application Modeller data is only included in the export file if you select the Create object check box for each step action you want to include the data for. If you want to export all of the Application Modeller data for a process, select the Auto-generate business object fields check box in the user settings before creating the Capture recording or manually select the Create object check box for every step action.

Automatically populate Application Modeller

The following instructions show you how to take advantage of Application Modeller spying to save time when spying elements:

  1. Import the BPRELEASE file into Blue Prism.

  2. See Import objects into Blue Prism to view and edit your imported business objects.

  3. Click the Studio tab in Blue Prism and open the imported Capture process.

    The Capture process is stored in a group Capture folder in the Processes section of the Studio tree. The Capture business object is stored in a group Capture folder in the Objects section of the Studio tree. If these folders do not already exist, they are created for you on import.

  4. In Process Studio, click the sub-page tab for the application interacted with in the Capture recording.

  5. Right-click a step that is linked to a Capture business object and select View action in Object Studio.

  6. In Object Studio, click Application Modeller.

    In Application Modeller, the Application Name and application filepath fields are populated with data from Capture.

  7. Click Launch to check that the application filepath is correct.

    The elements that have been spied by Capture display in the element tree.

  8. Select an element from the element tree.

  9. A pane displays containing the details for the selected element, with the Name and Description fields populated with the Capture data. The attributes selected in the Match? column are the same as the Blue Prism defaults for Win32 and UIA.

  10. Click Highlight to confirm that the correct element has been spied.
  11. The application will open with a red border around the selected element. For more information about Application Modeller, see the Blue Prism online help.