background image
<< SilkTest re-displays the Record Status dialog | Test Execution >>

Linking Scripts and Testcases to a Testplan

<< SilkTest re-displays the Record Status dialog | Test Execution >>
Getting Started: A Tutorial
99
5 C
REATING
T
ESTCASES
Linking Scripts and Testcases to a Testplan
6
Paste testcase into script
Click Paste to Editor. The 4Test statements are pasted into the script file
and the Record Testcase dialog closes.
7
Save changes to the script file
Click the script file to make it active. Click File/Save.
(Web): Save the file as webtut.t. Save it in the <SilkTest installation
directory>
\Exercise. Click Save.
(client/server): Save the file as cstut.t. Save it in the <GMO installation
directory
>\Exercise. Click Save.
8
Close the script file
Click File/Close. Click Yes to add this file in your project.
Linking Scripts and Testcases to a Testplan
The following exercise will show you how to link the testcase, Verify_
Window_Caption, that you created in the previous section to the testplan you
created in
Chapter 3, "Planning a Testing Strategy"
.
Linking a testcase to a
testplan
1
If the GMO project that you created in Chapter 2 is not open, please open
it (File/Open Project.) If you have not created this project yet, please
see
Chapter 2, "Preparing to Use this Tutorial" on page 25
.
2
In SilkTest, open the testplan
Click File/Open.
Tip In the File/Open dialog, you can display all of the SilkTest files
in the directory. From the List files of type pull-down menu, choose
Silk Files (*.t;*.inc; *.pln). You can also double click the name of
the testplan in the Project treeview.
(Web): Navigate to webtut.pln. Click Open.
(client/server): Navigate to cstut.pln. Click Open.
3
Select the test description
(Web): Click the test description Verify Caption is Correct. This can be
found in the group descriptions GUI Test/GMO OnLine.
(client/server): Click the test description Verify Caption is Correct.
This can be found in the group descriptions Customer Information
Window/GUI Tests.
4
Open the Testplan Detail dialog