New to Telerik Test Studio? Download free 30-day trial

Find Logic (Html)

As elements are added to the Elements Explorer, Test Studio uses an intelligent element identification scheme to auto-generate find expressions. When an element is ready to be added to the Elements Explorer, Test Studio tries to use the first item in the list (usually "id"). Using this criteria, if the item is unique for the entire page, the element is added, a find expression is created, and Test Studio stops evaluating. As of Test Studio release 2019 R2 Test Studio will also record an image for each newly recorded element. You can disable it from the project settings.

You can add new tags to the list, reorder them, or delete them (except for TextContent and TagIndex which are locked from deletion).

In case the element is not identified with its find expression, Test Studio will use the recorded image as a backup logic. You can enable/disable Search by image first to change this order. The configuration here is for the whole project and will be applied for every element, unless it is otherwise specified in the Test List Settings or Test Step Properties.

Identification Logic

In this article
Not finding the help you need? Improve this article