Work with Elements

Element Identifier Order

Element identifier order feature maintains the stability of the element by changing the priority of element identifier

For example: If any object’s identifier like class name attribute is stable which will be never changed so for this scenario will give priority as 1 for class name attribute

Step-by-step process to change the properties element identifier order in Element repository:

Navigate to Element Repository,

  1. Select Repository from left pane of screen, select element from list.

  2. Click Edit icon on the right pane to bring up element identifier order pop up window.

  3. Drag and drop to reorder the identifiers, click Save button

Create Element Manually in Repository

The user can create Test cases by looking at the user stories by creating the custom elements which will be later mapped to the real elements that are captured after the application is complete.

Step-by-step process to create element manually in Element Repository:

Click on the add element button on the top right pane and select create element manually button

Add all the required fields like properties, element name, and element type to create an element manually and click on submit button

After clicking the Submit button, the element is manually created with type set as "Manual." Once the actual element is developed, map it to this manually created element

Map elements in Repository

Actual elements can be captured and mapped with the created custom elements

Pre-requisite:

  • Ensure to have manually created element stored in the Repository

Step-by-step process to map element in repository:

Navigate to Element Repository window

  1. Click Tools button, select Map Element option to bring up Replace custom element window

  1. Drag element from Captured Elements and drop it in Custom Elements then click Submit button. After successful capture a toast message saying Mapped captured element successfully! appears on the screen.

Compare Elements in Element Repository

The Compare Elements feature functions as a self-healing process, capturing updated elements in the UI when the UI has been newly developed.

Step-by-step process to map element in repository:

Navigate to Element Repository window

  1. Click Tools button, select Compare Element option

  2. Enter URL (URL of earlier version AUT) to start comparing the elements from repository

Replace Elements in Element Repository

The Replace Elements feature is used to swap newly identified elements with existing ones if their properties have changed.

Step-by-step process to replace element in repository:

Navigate to Element Repository window

  1. Click Tools button, Select Replace Element option

  2. Drag element from Captured Elements and drop element in Custom Elements to replace the existing element with new one.

Add Element

Step-by-step process to add element in repository:

Navigate to Element Repository window

  1. Select any Repository to add element in it. Click Add Element button present in top right corner of Element Repository window

  1. Select capturing method to add element

Note: Follow 3rd step of Creation of Element Repository

Last updated

Was this helpful?