Create Elements Manually


In Testsigma, you can also create elements manually for your iOS project without using recorder. This article discusses how to create elements manually with simple steps.


Prerequisites

  • You should know how to create an android project in Testsigma.
  • An iOS app to test.

Steps to Create an Element

  1. Navigate to Create Tests > Elements. Elements
  2. Click on Create Element. Create Element
  3. On Create Element overlay, you'll see the following fields: Overlay

    • Name: Enter the name you want to give your element.
    • Screen Name: Mention the screen that your element resides on.
    • Element Type: There are 5 types of element types supported in Testsigma. This field is a drop-down list; you can select any of them: XPATH, ID, Name, Class Name, or Accessibility ID.
    • Enter Value: Enter the value corresponding to the Element Type you selected.
  4. Once you have added all the details, click on Create element. Create
  5. The element will be saved in the elements list.
NOTE:

You can also create elements using the recorder by clicking on Record Element from the Create Element page. Recorder


Creating Element While Adding Test Steps

  1. Navigate to Create Tests > Test Cases, click on Create Test Case or go to a pre-existing test case. Test Case
  2. Add a test step to the test case that contains an element.
  3. Hover over the element and select Create Element from the dropdown. Dropdown

Follow the steps 3-5 from above section to create an element manually.


Updating an Element

  1. Navigate to Create Tests > Elements. Elements
  2. Hover over the element you want to update and click on the kebab menu to open a dropdown menu. Click on Edit from the dropdown. Edit
  3. On the Update Element overlay, you can update the Name, Screen Name, select the Element Type. Update Element
  4. Click on Update. Click on Update

Updating Multiple Elements

  1. Navigate to Create Tests > Elements. Elements
  2. Click on Export. Export
  3. In the downloaded XLSX file, update the required fields for the required elements.
  4. Click on Import and choose the updated XLSX file for import. Import