Verify Elements from Test Recorder


There is no need for additional effort to verify elements manually!

When using the Test Recorder to create test steps and elements, you might encounter issues where the Test Recorder captures incorrect locators for UI elements. These elements can impact test executions. You can verify elements during recording to quickly resolve this issue. This article discusses how to verify elements from the Test Recorder in Testsigma.


Prerequisites

Before you begin, ensure that:

  1. You have installed the Testsigma Chrome Extension. For more information on installing Testsigma Chrome Extension, refer to the documentation on Testsigma Chrome Extension.
  2. You have a web application that is available for testing.

Steps to Verify Elements from Test Steps

  1. From the left navigation bar, go to Create Tests > Test Cases. Test Cases
  2. Create a test case by selecting Create Test Case in the top right corner, or open an existing test case. Select an existing test case
  3. On the Test Case Details page, click Record in the top right corner. Record
  4. A new window with the given URL will open, allowing you to record the test steps. Simply Travel Window
  5. Go to the test step and hover over the element which you want to verify. Hover over an element
  6. Click on element and choose Edit Element from the drop down menu. This will open the Update Element screen on Recorder. Edit element
  7. Click on Verify to validate the element location. The element will be highlighted on the web page. Verify
  8. If the element location is incorrect, a message will display indicating that the element doesn't exist. Element doesn't exist
  9. Correct the element location and continue verifying until the recorder highlights the correct element on the web page.

Steps to Verify Elements from Elements

  1. From the left navigation bar, go to Create Tests > Elements. Elements
  2. Create an element by clicking on Record in the top right corner. Record
  3. In the new window, enter the URL of the website that you want to record. Simply Travel
  4. Click on the element you want to record. Click on elements
  5. Click on Verify to validate the element location. The element will be highlighted on the web page. Verify
  6. If the element location is incorrect, a message will display indicating that the element doesn't exist. Element doesn't exist
  7. Correct the element location and continue verifying until the recorder highlights the correct element on the web page.
NOTE:

You can also verify while updating the element details. Open the existing element and click on Edit on the Update Element overlay and follow the same steps as above.