- desktop automation
Introduction: Desktop Automation
Create Projects and Applications
Selective Element Recorder
Batch Element Recorder
Creating Test Cases for Desktop Automation
Batch Element Recorder for Desktop Automation
The Batch Element Recorder lets you capture all UI elements in a desktop application window at once, without manually selecting each element. Once recorded, the elements are displayed in a hierarchical tree structure for easy viewing and locating while creating test cases. This article discusses how to create multiple elements using Batch Elements Recorder.
Prerequisites
Before you begin, ensure that:
- You have referred to the documentation on creating projects.
- You have referred to the docuemntation on creating applications in Testsigma.
- You should have the Testsigma Terminal installed.
- The WinTest Automation folder must exist in the Testsigma Agent directory.
- You have a Windows application to test and make sure it’s open on your device.
Interactive Demo
Steps to Create Elements Using Batch Element Recorder
- From the left navigation bar, go to Create Tests > Elements.
- In the Elements list page, click Record.
- In the Desktop Element Recorder dialog, select the Batch Element Recorder radio button and click Launch.
- In the Select Application window, select an application and click Start Recording.
NOTE:
- To record multiple elements in a desktop application, ensure the application is open on your device.
- The Batch Element Recorder automatically captures all elements in the currently open window of the application.
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.
- Once the elements are recorded, select an element name in the recorder and click Locate Element to highlight it in the actual application window.
NOTE:
- You can use the Expand All and Collapse All buttons at the top of the recorder to quickly view or hide the full hierarchy of recorded elements.
- Click Save all elements & Exit.