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)
Syntax
'Declaration
Public Function GetUIObjectNameForAction ( _
action As UITestAction _
) As String
public string GetUIObjectNameForAction(
UITestAction action
)
public:
String^ GetUIObjectNameForAction(
UITestAction^ action
)
member GetUIObjectNameForAction :
action:UITestAction -> string
public function GetUIObjectNameForAction(
action : UITestAction
) : String
Parameters
action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionA UITestAction object.
Return Value
Type: System.String
The required UI object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace