Using the Expert Indicator or manipulating the selector value can be very useful when an element is not uniquely identifiable, that is, it does not have a unique selector value.
Indicate with Result
When selecting Indicate with Result, the user must first select the desired element by clicking on it with the left mouse button. Then, in the Indicate with Result window, 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 useful when the information provided by the target element is not sufficient to uniquely identify that element.
Selector Value Manipulation
In some cases, adjusting properties and adding parent elements is not enough. Here, the user also has the option to add wildcards to selectors, indexes, or even variables to the selector values.
Wildcards
Adding a wildcard is useful if the desired element can be uniquely identified uniquely but contains a changing part within the selector. Here, the user can add a * as a wildcard.
Changing Properties
As described earlier, the user can add properties using the Expert Indicator. The user can also deselect, modify, or delete properties later.
Index for Identification
There may be situations where multiple elements are identified by the same properties. If this is the case, the user can add an index to the selector value. The index for the first element will 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 it is necessary to use the .ToString method if the variable is not of type string.
Example
index = '" + indexvariable.ToString + "'