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
action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionA UITestAction object.
map
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIMapA UIMap object.
func
Type: Microsoft.VisualStudio.TestTools.UITest.Common.CustomInvokerA CustomInvoker delegate.
.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.CodeGeneration Namespace