Desktop
Creating a Folder in the Element Repository
The Element Repository for Desktop is used to store and manage elements related to desktop applications. The following steps describe how to create a new folder in the Element Repository and set Desktop as the application type.
Steps to Create a Folder for Desktop Application Type:
On the Home page, under Projects, select the required project.
From the top-right corner, select Design Studio. The Element Repository tab opens.
Select the “+” icon and select the Create new folder to create a new folder.

On the newly created folder, select the ellipsis (...). A drop-down list appears.
From the drop-down list, select Create Repository.
In the Application Type options, select Desktop.

Capturing an Element in the Desktop Window
The following steps explain how to capture an element from a desktop application.
Steps to Capture an Element in the Desktop Window:
On the Desktop window, select the Capture Element to open the Avo Assure Capture window.
In the Enter Window Name/Process ID/Process Name textbox, enter the Window Name or Process ID/Process Name, and select the Launch button to navigate to the desired window.

Choose a method from the available Capture Element. Select Capture to capture the element.

Select the elements displayed in the Elements List and move them to the Element Repository by selecting the Add.

After selecting the Add, the chosen elements are added to the Element Repository.
Select Save to save the captured elements.

Following are the methods available with us while capturing the window through Desktop:
Visible
This method captures visible elements in the Application Under Test (AUT) by selecting appropriate element capture types from the dropdown.
All
This enables capturing all elements in the AUT, including hidden elements regardless of their capture type.
Manual
This method allows capturing elements manually by navigating to the AUT.
UIA
This method works well for modern applications and is useful for capturing elements that support Microsoft’s UI Automation. It helps Avo Assure identify elements in applications with standard UI structures.
Win32
This method works for older applications that do not fully support UIA. It helps capture elements using the Windows API, making it suitable for legacy applications or controls that are not easily identified by UIA.
IRIS
It is used to capture the elements based on coordinates and positions on the application under test.
Capture type
This type includes various element types, allowing users to choose the necessary element type and capture the elements accordingly.
Delay
This method works for elements that have longer loading time in the AUT, such as alert popups, hence this option specifies a certain amount of time for these elements to load before capturing them.
Last updated
Was this helpful?