background image
<< Commands - Opens the Record Window Declarations dialog | Commands - Resume Tracking >>
Commands - SilkTest assigns the class CustomWin
<< Commands - Opens the Record Window Declarations dialog | Commands - Resume Tracking >>
User's Guide
499
27 M
ENU
C
OMMANDS
Record menu
SilkTest assigns the class CustomWin to all custom objects. If the custom
object can be mapped to a standard SilkTest class, you should create the
mapping before you paste (insert) the declarations into an include file. Click
the Class Map... pushbutton to display the Class Map dialog, shown below, to
change the class of a custom object.
Identifier The identifier is a unique and logical, generalized platform-
independent name for referring to an object. The identifier is the name you
use to refer to an object in your testcase. It is arbitrary--you can use any
unique identifier you want for an object.
By default SilkTest constructs the identifier from the object's label or caption,
removing any embedded spaces or accelerators. You can edit the identifier,
for example, to make it more descriptive. The change will be reflected in the
list box.
To change the default identifier, click the Options... pushbutton.
Tag A tag is the actual internal name SilkTest uses to refer to an object. By
default SilkTest constructs the tag from the object's caption and Window ID,
but it can also be based on the object's prior text, index, and location, as
shown in the Tag Information group box. To include other components in the
object's tag, check the appropriate check boxes in the Tag Information group
box. The tag is updated in the Window Detail group box.
To change how SilkTest constructs the default tag, click the Options
pushbutton.
Tag Information
The Tag Information group box (upper right) displays the components that
SilkTest can use to construct the tag for the object.
For more information about tags, see "About tags" on page 85.
Window Declaration
The Window Declaration list box (across bottom of dialog) displays the
declarations you've recorded. It shows the class, identifier, and tag of the
recorded object and its child (subordinate) objects in the GUI hierarchy. The