Batch Element Recorder for Desktop Automation


Capture every UI element in a desktop application window at once using the Batch 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 Batch 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.
  2. In the Element Recorder, click the Batch tab. The recorder captures every element in the currently open window of the application and lists them in a hierarchical tree. Batch Elements
NOTE:

When you switch windows within the same application, the recorder captures elements from the new window and clears those recorded from the previous one.

  1. Select an 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 Selective to capture elements one at a time without relaunching the recorder.
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 78 elements recorded.

Additional Information:

Batch capture records the full control tree of the window, including containers such as the title bar and tab groups. Use the search field to narrow the tree to the elements you need before saving.


Keyboard Shortcuts

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