BuiltIn.CallMethod Method

Applies to TestComplete 15.65, last modified on July 17, 2024
This method is obsolete. See the Remarks section below.


Calls the specified method of the Obj object.


BuiltIn.CallMethod(Obj, MethodName, Param1, Param2, ...)

Obj [in]    Required    Variant    
MethodName [in]    Required    String    
Param1 [in]    Optional    Variant    
Param2 [in]    Optional    Variant    
Result Variant

Applies To

The method is applied to the following object:


The method has the following parameters:


The object whose method you want to call.


The name of the method to be called.

Param1, Param2, ..., ParamN

Specify the corresponding parameters of the method to be called.

Result Value

If the MethodName method is a function, CallMethod returns its result value. Else, CallMethod returns a varEmpty Variant variable.


This method is obsolete. It is supported for backward compatibility only. To work with objects, use the aqObject.CallMethod method.

See Also

CallMethod Method
GetPropertyValue Method
SetPropertyValue Method
IsSupported Method

Highlight search results