Work with Elements
Last updated
Last updated
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 on submit button, manually created element as custom in the element repository can be found.
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
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
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.
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
Note:
Follow 3rd step of Creation of Element Repository