Applies to TestComplete 14.70, last modified on October 26, 2020
This method is obsolete. See the Remarks section below.

Description

Checks whether the Obj object contains a property or a method with the name specified by MemberName.

Declaration

BuiltIn.IsSupported(ObjMemberName)

Obj [in]    Required    Variant    
MemberName [in]    Required    String    
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

Obj

The object whose property or method you want to check for existence.

MemberName

The name of the property or method whose existence in the Obj object you want to check.

Result Value

True if the Obj object contains a property or a method with the MemberName name and False otherwise.

Remarks

This method is obsolete. It is supported for backward compatibility only. To check whether an object has a particular property or method, use the aqObject.IsSupported method.

When the BuiltIn.IsSupported is used to check members of a stub object, it returns True for any member name. A stub object is a special helper object used by TestComplete objects' methods that return references to other objects. You can use the CreateStubObject method to create such objects in tests.

See Also

IsSupported Method
GetPropertyValue Method
SetPropertyValue Method
CallMethod Method

Highlight search results