background image
<< Understanding SilkTest Basics | Windows Object Classes >>

The 4Test language

<< Understanding SilkTest Basics | Windows Object Classes >>
8
Getting Started: A Tutorial
1 I
NTRODUCING
S
ILK
T
EST
Understanding SilkTest Basics
The table below provides a sample of what SilkTest records in the 4Test
language when you complete a particular action.
The 4Test language
4Test is an object-oriented fourth-generation language (4GL) designed
specifically with the needs of the QA professional in mind. 4Test's powerful
features are organized into three basic kinds of functionality:
A robust library of object-oriented classes and methods that specify how
a testcase can interact with an application's GUI objects.
A set of statements, operators and data types that you use to introduce
structure and logic to a recorded testcase.
A library of built-in functions for performing common support tasks.
Basic object-oriented concepts
To assist you in using this tutorial the following section presents some basic
object-oriented programming terms and concepts. If you are already familiar
with object-oriented concepts, proceed to
"The built-in recovery system" on
page 12
.
Classes
Classes are the core of object-oriented languages and are common to basic
GUI architecture. A class contains a collection of information about a type of
object.
What you do
What SilkTest records
You pick a menu item
Pick
You check a check box
Check
You uncheck a check box
Uncheck
You write text in a text field
SetText
You scroll a scrollbar to the maximum
position
ScrollToMax
You select an item from a list box
Select
You close a dialog box
Close
You set the main window active
SetActive
You select a radio button from a group
Select