CallFTMethod Method (ITestObject)

Calls a method or property of an OpenText Functional Testing test object.

Overload List

OverloadDescriptionvoid
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

The value returned by the called method.

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

The object returned by the called method.