Share this page

# 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

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.

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: