Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITechnologyElement.CacheProperties Method ()

 

Caches all the common properties of this element for future use.

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

public abstract void CacheProperties()

Caching guarantees that these properties can be used later, even when the underlying UI control no longer exists. This typically includes properties such as Name, ClassName, ControlTypeName, QueryId, and other properties that are used in the identification string.

Return to top
Show: