Selective Element Recorder for Desktop Automation


Capture UI elements one at a time in a desktop application using the Selective tab of the Element Recorder. Recorded elements appear in a hierarchical tree along with their properties and can be used while creating test steps.


Prerequisites

Before you begin, ensure that:

  1. A Desktop project and an application exist in Testsigma. See creating projects and creating applications.
  2. Testsigma Terminal is installed on your Windows system.
  3. The WinTest Automation folder exists in the Testsigma Agent directory.
  4. The Windows application you want to record is open on your device.

Steps to Record Elements Using the Selective Tab

  1. From the left navigation bar, go to Create Tests > Elements.
  2. On the Elements list page, click Record. Elements
  3. In the Select application window, select the desktop application you want to record against.
NOTE:

Only applications running on your device are listed. Use the search field to filter the list, or click the refresh icon to reload it after opening a new application.

  1. Click Start recording. The Element Recorder opens on the Selective tab, with the application name displayed in the recorder header. Selective Elements
  2. Hover over an element in the application until it is highlighted in green, then click it to capture it.
NOTE:

To capture elements that disappear on hover, such as menus and dropdowns, click Freeze or press Ctrl+Shift+F to hold the current UI state, then click the element.

  1. Select a captured element in the tree to view its details in the Element properties panel.
  2. Click Locate to highlight the selected element in the application window.
  3. Click Save. The recorded elements are listed under Create Tests > Elements.

Element Recorder Controls

Control Description
Selective / Batch Switches the capture mode. Switch to Batch to capture every element in the current window without relaunching the recorder.
Pause Pauses capture. The application stays open and recorded elements are retained.
Stop Ends the recording session.
Freeze Holds the current UI state so transient elements such as menus and dropdowns can be captured.
Expand all / Collapse all Expands or collapses the full hierarchy of recorded elements.
Search Filters the recorded element tree by name.
Element properties Displays the properties of the selected element, such as Name, Type, Class, AutomationId, and FrameworkId.
Locate Highlights the selected element in the application window.
Save Saves the recorded elements to the Elements list.

The recorder footer displays a running count of captured elements, such as 2 elements recorded.


Keyboard Shortcuts

Shortcut Action
Alt+R Record
Alt+S Stop
Ctrl+Shift+F Freeze