GetAllObjects Method


Retrieves all objects under the specified parent object.

Important Information

You can use this method to enumerate the objects in an object repository and retrieve a collection of objects, even if you do not have any information about any of the objects in the object repository.



Syntax Details

objectAn expression evaluating to an object of type ObjectRepositoryUtil.
ParentOptional. A Variant value.

The parent object.

You can specify the parent as an object (IDispatch pointer) or you can specify its full path as it appears in the Editor, for example, Browser("Advantage Shopping").Page("Advantage Shopping").

If you do not specify a parent object, all objects in the object repository, including all checkpoint and output objects, are retrieved.

Return Type

A TOCollection object.