Expert Indicator

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.

ExpertIndicator.png

The user also has the ability to delete or adjust properties, and can 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 wildcard 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 wildcard.

wildcard.png

Changing Properties

As described earlier, it is possible to add properties using the Expert Indicator. You can also deselect, change or delete properties afterwards.

omit.png

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.

index.png

Please note! The order in which elements can be accessed using the index cannot be predicted beforehand each time. This will depend on, for example, how a website is designed. Once the correct index to access a certain element is found, it will function properly.

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 + "'

variable_index.png

Please note! Variables should not be used for window names as the selector value for Attach Window Activities, because the variable does not exist for the Clean Screen Exit. Using a variable inside the window name results in the window not being found and closed via Clean Screen Exit. In case of changing window names, we recommend to use wildcards instead. 

Was this article helpful?
1 out of 1 found this helpful