Using the Expert Indicator or manipulating the selector value can be very useful if an element is not clearly identifiable, meaning it has no unique selector value.
Indicate with Result
When selecting Indicate with the Result, the user must first select the desired element by left-clicking on the element. Then, in the window Indicate with the result, the user can adjust any of the identified properties.
The user also has the ability to delete or adjust properties and add their own parent elements. This is very useful if the information of the target element is not sufficient to uniquely identify this element.
Selector Value Manipulation
In some cases, adjusting properties and adding parent elements is not sufficient. Here, you also have the option to add wildcards to selectors, indexes, or even variables to the selector values.
Wildcards
Adding a wild card is beneficial if the desired element can be uniquely identified uniquely but contains a changing part inside the selector. Here, a * can be added as a wild card.
Changing Properties
As described earlier, it is possible to add properties using the Expert Indicator. You can also deselect, change or delete properties afterwards.
Index for Identification
There may be situations where multiple elements are identified by the same properties. If this is the case, it is possible to add an index to the selector value. The index for the first element would then be zero.
Variables in Selector Values
It is possible to integrate variables inside selector values. Depending on the situation, a certain element should be clicked. This variable must be integrated as a string, so a .ToString should be added if the variable is not of type "string".
Example
index = '" + indexvariable.ToString + "'