background image
<< Test Frame - Defining a data structure for an object | Designing and Recording Testcases >>
Test Frame - Modifying the message box declaration
<< Test Frame - Defining a data structure for an object | Designing and Recording Testcases >>
100
User's Guide
4 R
ECORDING
A
T
EST
F
RAME
Modifying the message box declaration
Modifying the message box declaration
When to modify the
declaration
When SilkTest generates the window declarations for the main window of
your application, it also includes a declaration for a generic object named
MessageBox, as described in "About the generic message box declaration"
on page 93.
If your application contains message boxes that have extra
pushbuttons or if your pushbuttons use different names, you need to add the
declarations for those buttons to the declaration for the generic MessageBox
object.
Example
If a message box contains a Test pushbutton, for example, you need to add the
following lines to the recorded declaration:
PushButton Test
tag "Test"