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,
Select Repository from left pane of screen, select element from list.
Click Edit icon on the right pane to bring up element identifier order pop up window.
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:
Note: Only similar type of element is mapped. For example, button elements cannot be mapped with other type of elements like link or dropdown or textbox
Navigate to Element Repository window
Click Tools button, select Map Element option to bring up Replace custom element window

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
Click Tools button, select Compare Element option
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
Click Tools button, Select Replace Element option
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
Select any Repository to add element in it. Click Add Element button present in top right corner of Element Repository window

Select capturing method to add element
Last updated
Was this helpful?