background image
<< Record the new Invoke method | Testing DefaultBaseState >>

Finish recording

<< Record the new Invoke method | Testing DefaultBaseState >>
84
Getting Started: A Tutorial
4 C
APTURING
Y
OUR
A
PPLICATION
Windows that Precede the Main Window
7
Finish recording
On the SilkTest Record Status dialog, click Done. The Record Method
dialog appears with the actions you just recorded on the Green Mountain
Outpost dialog translated into 4Test statements.
8
Paste the Method into the test frame
On the Record Method dialog, click Paste to Editor.
9
Open the new method
In the test frame, cstut.inc, expand the new Invoke method by clicking
the plus icon [+].
10 Add a new line in the test frame
Click at the end of the word Recording, the second line of the Invoke
method. Press Enter.
11 Add a statement
On this new line type derived::Invoke ().
Keywords are case sensitive and there must be a space between Invoke
and ().
12 Save the changes
Click File/Save.
You have finished telling SilkTest how to handle a dialog box that appears
before the main window.