background image
<< Complete the declaration for the wStartup constant | Finish recording >>

Record the new Invoke method

<< Complete the declaration for the wStartup constant | Finish recording >>
Getting Started: A Tutorial
83
4 C
APTURING
Y
OUR
A
PPLICATION
Windows that Precede the Main Window
2
Define the identifier for the wStartup constant.
Replace the question mark with the identifier of the Green Mountain
Outpost dialog, GreenMountainOutpost, as recorded in the
window declaration. You may want to copy and paste the identifier
from the window declaration.
Note When you click anywhere else on the test frame the
red X disappears.
Step 3: Record the new Invoke method
1
In the cstut.inc test frame, click the constant wStartup.
2
Open the Record Method dialog
Click Record/Method.
3
Select the Method name
From the Method Name list box, select Invoke.
4
Open the GMO application.
From the Start menu choose Programs/Green Mountain Outpost/
GMO
. The Green Mountain Outpost dialog appears. Do not close it.
5
In SilkTest, start recording
On the Record Method dialog, click Start Recording. SilkTest is
minimized, the Green Mountain Outpost dialog appears and the SilkTest
Record Status dialog appears.
6
Perform and record the actions to dismiss the dialog
On the Green Mountain Outpost dialog, first click the title bar to set the
dialog active. Second click OK, to dismiss the dialog.