background image
<< Test Frame - testing a Web application | Test Frame - Window declaration syntax and structure >>
Test Frame - Recording a login window
<< Test Frame - testing a Web application | Test Frame - Window declaration syntax and structure >>
82
User's Guide
4 R
ECORDING
A
T
EST
F
RAME
How to record window declarations
3
Make your application active and invoke one of its dialogs, referred to in
this procedure as the target dialog.
4
If necessary, arrange windows so that you can see the target dialog.
5
Position the cursor on the title bar of the target dialog.
Note that as you move the cursor toward the title bar, the contents of the
Window Declaration list box change dynamically to reflect the object at
which you're pointing, as well as any contained objects. When the cursor
is positioned correctly, the Window Detail group box (upper left) shows
the caption of the dialog in the Identifier field.
6
Press Ctrl+Alt.
The declaration is frozen in the lower half of the dialog.
7
Close the target dialog.
8
Click on the Paste to Editor pushbutton.
The information in the Record Window Declarations dialog is cleared,
and the newly recorded declarations are appended to the test frame after
the last recorded declaration.
9
If finished recording declarations, click the Close pushbutton on the
Record Window Declarations dialog. Otherwise, press the Resume
Tracking pushbutton to begin recording the declarations for another
dialog.
Recording a login
window
Many commercial applications begin with a login window, which is not
accounted for when you record the test frame. Therefore, make sure that you
invoke this window and record a declaration for it when you are recording the
declarations for your application's dialogs.