CopyObject method
object.CopyObject(Object)
Argument | Description |
object | An expression evaluating to an object of type ObjectRepositoryUtil. |
Object | Required. An Object object. The object to copy. You can use the GetObject, GetObjectByParent or Item methods to retrieve the object to use as this argument value. |
Tips:
You can use the returned test object as an argument value for other methods (for example, AddObject, GetLogicalName, and UpdateObject.)
For test objects, you can also use the GetTOProperty and SetTOProperty methods to modify the returned test object properties before updating them in the object repository (using UpdateObject.)