Share via


UITestInterpreter.ExecuteAction Method (UITestAction, UIMap)

 

Executes the given action. The action contains an ID for the UIObject on which it acts. This ID is used to get a queryid for the object and this is passed to the invoke method of the input action object.

The Invoke method also requires an object of the UITestActionInvoker interface type. In this case the default is the UITestPlayback type that implements the UITestActionInvoker.

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

Syntax

protected internal override void ExecuteAction(
    UITestAction action,
    UIMap map
)
public protected:
virtual void ExecuteAction(
    UITestAction^ action,
    UIMap^ map
) override
override ExecuteAction : 
        action:UITestAction *
        map:UIMap -> unit
Protected Friend Overrides Sub ExecuteAction (
    action As UITestAction,
    map As UIMap
)

Parameters

See Also

UITestInterpreter Class
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

Return to top