UITechnologyElement.QueryId Property

Gets an identifier object that can be used to uniquely identify and find this element.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public abstract IQueryElement QueryId { get; }

Implements

IUITechnologyElement.QueryId

In some cases the QueryId contains the complete element hierarchy, but most of the time it contains only important ancestors of the element. The technology manager musto choose which ancestor to capture in the hierarchy by appropriately setting the IQueryElement.Ancestor property of each element.

The APIs in condition classes, such as AndCondition.ToString and AndCondition.Parse, may be used to convert from this element class to string or to create an instance of this element from string.

Community Additions

ADD
Show: