background image
<< Extensions - General process for enabling extensions | Test Frame - Why window declarations make your tests robust >>
Recording a Test Frame
<< Extensions - General process for enabling extensions | Test Frame - Why window declarations make your tests robust >>
User's Guide
75
4
C
h
a
p
t
e
r
4
Recording a Test Frame
Introduction
Before you begin recording testcases, you first record a test frame for your
application. The test frame is the backbone that supports your testcases and
scripts. It is a file that contains all the information about your application's
GUI objects that SilkTest needs when you record testcases. This information
minimally consists of a declaration for each GUI object, but can also include
any data that you want to associate with each GUI object, as well as any new
classes and methods that you want to define.
What you will learn
This chapter contains the following sections:
Related topics
See Chapter 13, "Porting Tests to Other GUIs", to learn about the ways you
modify the test frame when porting your testcases to other GUIs.
See Chapter 14, "Supporting Internationalized Applications", to learn about
internationalizing the test frame.
Topic
Page
Why window declarations make your tests robust
76
Preparing to record window declarations
76
How to record window declarations
79
Window declaration syntax and structure
83
Modifying identifiers and tags
93
Mapping custom classes to standard classes
95
Specifying how a dialog is invoked
97
Defining a method for a GUI object
97
Defining a data structure for an object
99
Modifying the message box declaration
100