Running a Single Testcase from a Testplan
114
Getting Started: A Tutorial
6 R
UNNING
T
ESTCASES
Running a Single Testcase from a Testplan
The SilkTest testplan lets you mark testcases for execution in two ways:
·
Selecting a testcase in the testplan editor and choosing a marking
command, or
·
Performing a mark by query, which marks only testcases that have been
assigned certain characteristics called attributes
We have provided completed versions of the testplan that you created in
as well as the script file you created
. These files are used in the exercises in
both this chapter and the following chapter,
.
(Web): If you are testing the GMO Web application the testplan gmow.pln
and the script it uses, gmow.t, can be found in <SilkTest installation
directory>\Exercise.
(client/server); If you are testing the GMO client/server application the
testplan gmoc.pln and the script it uses, gmoc.t, can be found in <GMO
installation directory>\Exercise. The gmoc.pln testplan also contains several
functionality tests that you can run against the GMO application. Note that
these tests are commented out; you can run and review them at your
convenience.
Running a Single Testcase from a Testplan
The following exercise shows you how to run a single testcase from within a
testplan that contains multiple testcases.
1
In SilkTest, confirm your Runtime Options
Click Options/Runtime.
(Web): Make sure you are using gmow.inc as your test frame; In the Use
Files field, confirm gmow.inc. Click OK.
(client/server): Make sure you are using gmoc.inc as your test frame; In
the Use Files field, confirm gmoc.inc. Click OK.
2
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
.