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.

UIMap.GetUIObjectNameForAction Method

Returns the UI object that is the subject of the provided UI test action.

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

public string GetUIObjectNameForAction(
	UITestAction action
)

Return Value

Type: System.String
The required UI object.

Show: