Element Identification - Desktop Application

Prerequisites

  • The Application under test (AUT) must be up and running.

  • The Application under test (AUT) must have sufficient privileges for automation.

Note:

  • If the AUT is not visible in the taskbar or the foreground, then follow the procedure mentioned: Open Task Manager > Check if the AUT is in the list of tasks.

  • If the AUT is not visible in the task list, click on the process/services tab to check if the related AUT process or service is running.

Click and Add Elements

The click and Add elements feature is used to identify only the objects on a desktop screen using either Method A or Method B.

Launch Application Overview:

  1. Object Identification methods: Method A and B

    Object Identification Methods determine the supporting technology of the AUT and perform object identification based on the selection.

    • Method A (default): VCL, MFC, VB6, simple WinForms controls and supports most legacy applications.

    • Method B: WinForms, WPF, Store apps, Qt5, browsers.

  2. Window Name: The user must enter the window Name of AUT.

  3. Process ID: The user must enter the process ID of AUT.

  4. Launch Button: To start the object identification process of the AUT.

  1. The user has to navigate to the Avo Assure home screen.

  2. The user has to select the Desktop Application project from the project list.

  3. The user has to click the Design Studio button, and the Design Studio screen will be displayed.

  4. The user has to click the Capture Elements button, and the Capture Elements window will be displayed.

  5. The user has to click the Capture Elements button, and the Desktop dialog box will be displayed.

  6. The user has to select the Object Identification Method radio button. Note: The Method A will be selected automatically.

  7. The user has to enter the Window Name in the Enter window name field. Or the user has to enter the Process ID in the Enter Process ID field.

  8. The user has to click the Launch button and the Desktop Element Identification window and the entered Desktop Application will be displayed.

  9. The user has to click the Start button and capture the required elements.

  10. Once the capture element is done, the user has to click the Stop button.

  11. The Capture Elements window will display all the captured elements.

  12. The user has to click the Save button to save all the captured elements. Note: Unsaved elements will be indicated with highlighted color. 

  13. The system will display a toast message as Scraped data saved successfully.

Capture an Entire Desktop Application

  1. To get the screen context menu, the user has to click the Screen icon.

  2. The user has to click the Capture Elements button, and the Capture Elements window will be displayed.

  3. The user has to click the Capture Elements button, and the Desktop dialog box will be displayed.

  4. The user has to select the Object Identification Method radio button. Note: The Method A will be selected automatically.

  5. The user has to enter the Window Name in the Enter window name field. Or the user has to enter the Process ID in the Enter Process ID field.

  6. The user has to click the Launch button and the Desktop Element Identification window and the entered Desktop Application will be displayed.

  7. The user has to select Full from the Capture Type drop-down and click the Capture button.

  8. The Capture Elements window will display all the captured elements.

  9. The user has to click the Save button to save all the captured elements. Note: Unsaved elements will be indicated with highlighted color. 

  10. The system will display a toast message as Scraped data saved successfully.

Last updated