Element Identification - Desktop Application
Last updated
Last updated
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.
The click and Add elements feature is used to identify only the objects on a desktop screen using either Method A or Method B.
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.
Window Name: The user must enter the window Name of AUT.
Process ID: The user must enter the process ID of AUT.
Launch Button: To start the object identification process of the AUT.
The user has to navigate to the Avo Assure home screen.
The user has to select the Desktop Application project from the project list.
The user has to click the Design Studio button, and the Design Studio screen will be displayed.
The user has to click the Capture Elements button, and the Capture Elements window will be displayed.
The user has to click the Capture Elements button, and the Desktop dialog box will be displayed.
The user has to select the Object Identification Method radio button. Note: The Method A will be selected automatically.
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.
The user has to click the Launch button and the Desktop Element Identification window and the entered Desktop Application will be displayed.
The user has to click the Start button and capture the required elements.
Once the capture element is done, the user has to click the Stop button.
The Capture Elements window will display all the captured elements.
The user has to click the Save button to save all the captured elements. Note: Unsaved elements will be indicated with highlighted color.
The system will display a toast message as Scraped data saved successfully.
To get the screen context menu, the user has to click the Screen icon.
The user has to click the Capture Elements button, and the Capture Elements window will be displayed.
The user has to click the Capture Elements button, and the Desktop dialog box will be displayed.
The user has to select the Object Identification Method radio button. Note: The Method A will be selected automatically.
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.
The user has to click the Launch button and the Desktop Element Identification window and the entered Desktop Application will be displayed.
The user has to select Full from the Capture Type drop-down and click the Capture button.
The Capture Elements window will display all the captured elements.
The user has to click the Save button to save all the captured elements. Note: Unsaved elements will be indicated with highlighted color.
The system will display a toast message as Scraped data saved successfully.