CallFTMethod Method (ITestObject)
Calls a method or property of an OpenText Functional Testing test object.
Overload List
Overload | Descriptionvoid |
---|---|
CallFTMethod | Calls a method or property of an OpenText Functional Testing test object. Use this overload for methods and properties that do not return a value. |
CallFTMethod<TResult> | Calls a method or property of an OpenText Functional Testing test object. Use this overload for methods and properties that return a value. |
CallFTMethod
Calls a method or property of an OpenText Functional Testing test object. Use this overload for methods and properties that do not return a value.
C# Syntax
void CallFTMethod( string methodName,
params object[] arguments
)
Parameters
- methodName
A string. The name of the method or property to call.
- arguments
- Optional. An array. The arguments to pass to the called method or property.
Return Value
CallFTMethod<TResult>
Calls a method or property of an OpenText Functional Testing test object. Use this overload for methods and properties that return a value.
C# Syntax
TResult CallFTMethod<TResult>( string methodName,
params object[] arguments )
Parameters
- methodName
A string. The name of the method or property to call.
- arguments
- Optional. An array. The arguments to pass to the called method or property.
Type Parameters
- TResult
- The return type of the called method or property.
Return Value