background image
<< Objects and Properties | The built-in recovery system >>

Class Methods

<< Objects and Properties | The built-in recovery system >>
Getting Started: A Tutorial
11
1 I
NTRODUCING
S
ILK
T
EST
Understanding SilkTest Basics
The following table provides additional examples of properties:
Methods
Actions that you perform on objects are called methods. The methods
available to an object are inherited from the class to which the object belongs.
For example, the CheckBox class defines the actions that can be performed
on all the check boxes in your application such as Check, Click and Toggle.
Methods defined for one class cannot be used to perform actions on a
different class. For example, you cannot use methods defined for the
CheckBox class to perform actions on objects in the PushButton class.
The following figure shows several methods defined for the CheckBox class:
Characteristic
Property Name
Whether a check box is checked
State
Whether an object is enabled
Enabled
The text of the selected item in a radio
list
SelText
The index of the selected item in a radio
list
SelIndex
The caption of a window
Caption
The text in the text field
Text
The highlighted text in a text field
SelText
The size and position of a window
Rect