RemoveObject Method
object.RemoveObject Parent, Object
Argument | Description |
object | An expression evaluating to an object of type ObjectRepositoryUtil. |
Parent | Required. A Variant value. The parent object. You can specify the parent as an object (IDispatch pointer) or its full path as it appears in the Editor, for example, Browser("Advantage Shopping").Page("Advantage Shopping"). If the object you want to remove is a top-level test object, a checkpoint object, or an output object, specify NULL as the Parent argument value. |
Object | Required. A Variant value. The object to remove from the object repository. Tip: You can use the GetObject, GetObjectByParent or Item methods to retrieve the object to use as this argument value. |