Creating Objects
You can create new objects from Certify's Applications and Maps windows. An object can be a window, a screen, a dialog, a portion of a window, screen, dialog, or any control.
When creating a new object, the identification parameters remain blank until you have selected an object type.
To create an object from the Applications window:
- In the Navigation pane, click Applications.
The Applications window appears.
- In the Applications window, complete one of the following:
- In the Navigation tree, right-click on a window and select New Object.
- In the Objects Summary pane, right-click in the pane and select New Object.
- In the Objects tab, right-click in the tab and select New Object.
The New Object dialog appears.
-
Enter the following information in the fields:
Field
Description
Name
Enter a unique name for the object.
The name can have a maximum of 500 characters. Special characters and numbers are allowed in names.
Physical Name
Enter a physical name for the object. A physical name is given by the programmer in the application's code.
The physical name can have a maximum of 500 characters. Special characters and numbers are allowed in descriptions.
Description
Enter information to identify the object.
The description can have a maximum of 256 characters. Special characters and numbers are allowed in descriptions.
Interface
Select an interface from the drop-down list where the new object will reside.
Class
Select a class that defines the object from the drop-down list. The class selection list is determined by the interface you selected.
Exclude from Resolve
This option is enabled if you manually created the object because these type of objects are not normally found in any map file. To not import or resolve an object, select this option to exclude it from the resolve process.
Disabled
Select this option if you want this object to be visible. If an object is visible, it can be included in a test. If you do not want to include this object in your test, do not select this option.
Identification Parameters
Enter a string that identifies the interface-specific parameters for the object.
This string is different for each interface.
-
If you want to link an object to a variable, click the Select Variablebutton. If you do not choose this option, go to Step 8.
The Select Variable dialog appears.
- In the Navigation pane, select the folder that contains the variable you want to add.
- In the Variables Summary pane, select a variable.
-
Click OK.
The variable appears in the Linked Variable field.
-
Click OK.
Certify checks the database to verify that another object does not have the same name. If the object does not already exist, then the new object appears in the Objects list.
To create an object from the Maps window:
- In the Navigation pane, click Maps.
The Maps window appears.
- In the Maps window, complete one of the following tasks:
- In the Navigation tree, right-click on a window and select New Object.
- In the Objects Summary pane, right-click in the pane and select New Object.
- In the Objects tab, right-click in the tab and select New Object.
The New Object dialog appears.
-
Enter the following information in the fields:
Field
Description
Name
Enter a unique name for the object.
The name can have a maximum of 500 characters. Special characters and numbers are allowed in names.
Physical Name
Enter a physical name for the object. A physical name is given by the programmer in the application's code.
The physical name can have a maximum of 500 characters. Special characters and numbers are allowed in descriptions.
Description
Enter information to identify the object.
The description can have a maximum of 256 characters. Special characters and numbers are allowed in descriptions.
Interface
Select an interface from the drop-down list where the new object will reside.
Class
Select a class that defines the object from the drop-down list. The class selection list is determined by the interface you selected.
Exclude from Resolve
This option is enabled if you manually created the object because these type of objects are not normally found in any map file. To not import or resolve an object, select this option to exclude it from the resolve process.
Disabled
Select this option if you want this object to be visible. If an object is visible, it can be included in a test. If you do not want to include this object in your test, do not select this option.
Identification Parameters
Enter a string that identifies the interface-specific parameters for the object.
This string is different for each interface.
-
If you want to link an object to a variable, click the Select Variablebutton. If you do not choose this option, go to Step 8.
The Select Variable dialog appears.
- In the Navigation pane, select the folder that contains the variable you want to add.
- In the Variables Summary pane, select a variable.
-
Click OK.
The variable appears in the Linked Variable field.
-
Click OK.
Certify checks the database to verify that another object does not have the same name. If the object does not already exist, then the new object appears in the Objects list.