Configure Custom Property
Ways to Configure Custom Property
Element Repository
Avo Assure Client
A. Steps to Configure Custom Property from Element Repository
Navigate to the Element Repository Tab
Select the Element from the repository and click on Edit icon the Details window will appear at right side of the screen
Make all attribute value as None

Enter the property name used in your application in Cutom 1 value field (e.g., data-testid, data-val-required, custom-id).
Click on Save Property button to save the changes.

2. Steps to Configure Custom Property form Avo Client
Launch the Avo Client.
Navigate to the Configuration window.
Select the Settings section.
Locate the Custom Property field.
Enter the property name used in your application (e.g., data-testid, data-val-required, custom-id).

This tells Avo Assure to use this custom property during execution if the usual properties (like id or class) don’t work.
How to Use Custom Property with Self-Healing
Avo Assure also supports Self-Healing, which means it can update element properties automatically when something changes in the application. You can use Custom 1 in this self-healing process after doing a simple setup in the Avo Client.
How It Works During Execution
Once you’ve added the custom property in Avo Assure Client settings, follow the steps below to use it during self-healing:
Select the element that is not working during execution.
Choose both options:
Adjust the broken element’s attributes
Preserve the properties of reprioritized items for subsequent execution
What Will Happen Next
Avo Assure automatically maps Custom 1 to the previously entered property.
If an element cannot be located using the default properties, the tool falls back on the custom property for identification.
This ensures consistent identification of the same element across test executions.
The test case proceeds without interruption, eliminating the need for manual intervention.
Note: Make sure the custom property you entered (e.g., data-val-requiredor, maxlength) is used throughout the application by your development team.
Example
Before Self-Healing: The element fails because its ID Attribute or Classname Attribute has changed.

After Setting data-val-required as the Custom Property in Avo Client: Avo Assure uses the data-val-requireds property and finds the correct element. The test case runs without any issue.

Last updated
Was this helpful?