Capture Single Element Using Recorder


In an Android project in Testsigma, you can selectively capture elements one at a time using the Testsigma recorder. This article discusses how to capture single element using recorder.


Prerequisites


Steps to Create an Element

  1. Navigate to Create Tests > Elements. Elements
  2. Click on Record. Record
  3. On Record elements overlay, select Test Lab, Test Machine, Upload App Source and click on Record. Record
  4. Wait for the app to load fully.
  5. Once the app is loaded, click on element you want to capture. Element to Capture
  6. On the Create Element section, enter the Name, Screen Name, select the Element Type. Create Element
  7. Click on Create. Create
  8. The element will be saved in the elements list. Saved
  9. Stop the recorder to close the session.

Creating an Element While Creating Test Case

Alternatively, you can also create the element while creating test case by following the steps below.

  1. Hover over the element on the test step and click on Create Element from the dropdown. Create Element
  2. On Create Element overlay, enter Name, Screen Name, select the Element Type and click on Create Element. Create

Updating an Element

  1. Hover over the element and click on Edit. Edit
  2. On the Update Element section, update the Name, Screen Name, select the Element Type. Update Element
  3. Click on Update. Click on Update

Updating an Element While Creating Test Case

Alternatively, you can also update the element while creating test case by following the steps below.

  1. Hover over the element on the test step and click on Edit Element. Edit Element
  2. On Update Element overlay, update the Name, Screen Name, select the Element Type. Update
  3. Click on Update Element Update Element

Reusing Elements Recorded

  1. Create a test case in which you will be reusing your pre-recorded elements.
  2. Start recording test steps for the test case.
  3. Hover over the element on the test step where you want to reuse the saved element and click on Change Element. Change Element
  4. On Elements overlay, select the element you want to reuse. Reuse
  5. Click on Update Step to finalize the change. Update Step
NOTE:

You can also reuse the element by following the same steps while creating a test case manually.