The Object-Driven Testing (ODT) project item provides an object-oriented way to manage complex tests that contain a lot of script routines and testing data.
 Since TestComplete 10.60, the ODT project item is deprecated. Do not use it to create new tests. It will be removed from the product in one of the future releases.  As an alternative, you can create custom objects in scripts (see below).
 Since TestComplete 10.60, the ODT project item is deprecated. Do not use it to create new tests. It will be removed from the product in one of the future releases.  As an alternative, you can create custom objects in scripts (see below).
Possible Alternatives
As an alternative to the ODT functionality, you can create custom classes in script code in VBScript, JScript, C#Script or C++Script projects. To learn more about this, see Language Reference. The code snippet below demonstrates how to define and use a custom class that contains a property and a routine:
JavaScript, JScript
// Define a custom class
function customClass() 
						{
  // Define a class property
  var classProperty;
						}
// Define a class routine
						customClass.prototype.classRoutine = function()
						{
  // ...
						}
function Test() 
						{
  var obj;
  
  // Create an instance of the class
  obj = new customClass();
  
  // Set the class property
  obj.classProperty = 41;
  
  // Call the class routine
  obj.classRoutine();
						}
VBScript
' Define a custom class
Class customClass
  ' Define a class property
  Dim classProperty
  
  ' Define a class routine
  Sub classRoutine
    '  ... 
  End Sub
End Class
Sub Test
  Dim obj
  
  ' Create an instance of the class
  Set obj = new customClass
  
  ' Set the class property
  obj.classProperty = 41
  
  ' Call the class routine
  obj.classRoutine
End Sub
C++Script, C#Script
// Define a custom class
function customClass() 
						{
  // Define a class property
  var classProperty;
						}
// Define a class routine
						customClass.prototype.classRoutine = function()
						{
  // ...
						}
function Test() 
						{
  var obj;
  
  // Create an instance of the class
  obj = new customClass();
  
  // Set the class property
  obj["classProperty"] = 41;
  
  // Call the class routine
  obj["classRoutine"]();
						}
More About Object-Driven Testing
 Object-Driven Testing - Basic Concepts
Object-Driven Testing - Basic Concepts
 Object-Driven Testing - Requirements
Object-Driven Testing - Requirements
 Visual Creation of Custom Objects
Visual Creation of Custom Objects
 Creating Custom Objects Programmatically
Creating Custom Objects Programmatically
 Controlling Object-Driven Tests
Controlling Object-Driven Tests
