RanorexRanorex Documentation
InvokeActionWithText Method (name, args)
NamespacesRanorex.CoreElementInvokeActionWithText(String, array<String>[]()[])
Invokes an action on the element.
Declaration Syntax
C#Visual BasicVisual C++
public Object InvokeActionWithText(
	string name,
	params string[] args
)
Public Function InvokeActionWithText ( _
	name As String, _
	ParamArray args As String() _
) As Object
public:
Object^ InvokeActionWithText(
	String^ name, 
	... array<String^>^ args
)
Parameters
name (String)
The name of the action to invoke.
args (array< String >[]()[])
The list of parameters for the action, as strings.
Return Value
The invocation result.
Remarks
The string values of the parameters are converted to the types defined by the ActionDescriptor.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf name is null.
ActionFailedExceptionThrown if invoking the action failed, or argument type conversion failed.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)