다음을 통해 공유


UIActionInterpreter.SearchAndInvoke Method

Executes the provided action by using the given map and logs the result by using your implementation of a custom invoker.

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

Syntax

'Declaration
Public Overrides Sub SearchAndInvoke ( _
    action As UITestAction, _
    map As UIMap, _
    func As CustomInvoker _
)
public override void SearchAndInvoke(
    UITestAction action,
    UIMap map,
    CustomInvoker func
)
public:
virtual void SearchAndInvoke(
    UITestAction^ action, 
    UIMap^ map, 
    CustomInvoker^ func
) override
abstract SearchAndInvoke : 
        action:UITestAction * 
        map:UIMap * 
        func:CustomInvoker -> unit  
override SearchAndInvoke : 
        action:UITestAction * 
        map:UIMap * 
        func:CustomInvoker -> unit
public override function SearchAndInvoke(
    action : UITestAction, 
    map : UIMap, 
    func : CustomInvoker
)

Parameters

.NET Framework Security

See Also

Reference

UIActionInterpreter Class

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

UITestAction

UIMap

CustomInvoker

Other Resources

Handling and Raising Events