background image
<< Open the plan file | Using the Mark command >>

Running Marked Tests in a Testplan

<< Open the plan file | Using the Mark command >>
116
Getting Started: A Tutorial
6 R
UNNING
T
ESTCASES
Running All Testcases in a Testplan
Running All Testcases in a Testplan
When you run a testplan, SilkTest executes all of the testcases in the testplan.
The following explains how to run all testcases contained in 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 26
.
2
In SilkTest, open the testplan
(Web): If gmow.pln is not already open, expand the Plan folder on the
Files tab and double click gmow.pln.
(client/server): If gmoc.pln is not already open, expand the Plan folder
on the Files tab and double click gmoc.pln.
3
Run all testcases
Click Run/Run All Tests.
When SilkTest finishes running the testcases in the testplan, it displays
the results of the execution in a results (.res) file in the Results window.
Running Marked Tests in a Testplan
There may be times when you do not want to run all the testcases in the
testplan but you do want to run more than one. SilkTest makes this possible
by letting you mark multiple testcases for execution from within a testplan.
Marks are temporary denotations that allow you to run selected testcases in a
testplan. Marks last only for the duration of the current work session and you
can remove them at any time during that work session.
You mark testcases in a testplan by using one of the marking commands on
the Testplan menu:
·
Mark
·
Mark All
·
Mark by Query
·
Mark by Named Query
The following exercises show you how to select specific testcases to run
using the Mark command or the Mark by Query command.