Selective Element Recorder for SAP Automation


The Selective Element Recorder allows you to capture specific UI elements in a SAP desktop application by selecting an element at a time. Once recorded, the elements are displayed in a hierarchical tree structure for easy viewing and locating while creating test cases. This article explains how to capture individual elements from a SAP application using the Selective Element Recorder.


Prerequisites

Before you begin, ensure that:

  1. You have referred to the documentation on creating projects.
  2. You have referred to the docuemntation on creating applications in Testsigma.
  3. You should have the Testsigma Terminal installed.
  4. The WinTest Automation folder must exist in the Testsigma Agent directory.
  5. The SAP desktop application is installed and currently open on your device.
  6. A working connection to your SAP system has been created using SAP Logon.

Steps to Create Elements Using Selective Element Recorder

  1. From the left navigation bar, go to Create Tests > Elements.
  2. On the Elements list page, click Record.
  3. In the Desktop Element Recorder dialog box, select the Selective Element Recorder radio button and click Launch.
  4. In the Select Application window, choose the SAP application and click Start Recording.
NOTE:
  • Ensure the SAP application is open and the desired screen is in focus.
  1. Click the Record button in the recorder to begin capturing.
  2. Hover over the desired element (such as a textbox, dropdown, or button) until it is highlighted in green, then click to capture it.
  3. After recording, select the element from the recorder list and click Locate Element to highlight it within the SAP application.
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.
  1. Click Save Element.