background image
<< Lesson 6 Running Testcases | Open the plan file >>

Running a Single Testcase from a Testplan

<< Lesson 6 Running Testcases | Open the plan file >>
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
Chapter 3, "Planning a Testing Strategy"
as well as the script file you created
in
Chapter 5, "Creating Testcases"
. These files are used in the exercises in
both this chapter and the following chapter,
Chapter 7, "Reviewing and
Reporting Test Results"
.
(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
Chapter 2, "Preparing to Use this Tutorial" on page 26
.