In this article we
shall see how the tests can be scheduled and run.
By configuring the conditions
the test director can be instructed to postpone the run of the current test
till the completion of some other specified tests is over. For example, the
test b is scheduled to be run only after the test a finishes with the execution
and there is one more test c which is scheduled to run only if the test b
passes.
Also, the tests a and b can be scheduled to be executed a day prior to
the execution of the test c. the tests and their conditions are displayed by
the execution flow in the form of a diagram.
Steps to schedule tests in test Director
Follow the below mentioned steps
to schedule a test run:
- Firstly, make sure that the test module is in the view mode and if it is not then first enable it.
- Second
step involves creation of a new test. Click on the execution flow tab in
the test lab module. Choose a folder in the test sets tree and click on
the ‘new test set’ option. You will get a ‘new test set’ dialog box. Type
in the following details:
a) Test set
name
b) Description
Once you are done
click OK and the test set will be added to the test sets tree in the left pane
by the test director.
- Add
a test that you want to add to the test set created in the previous step. Using
the ‘select tests’ button to make
the test director display the test plan tree in the right pane. Then, type
the name of the test to be searched for in the find box in the test plan
tree and click find button. Select the searched test and add it to the
test set using the ‘add tests to test set’ button.
- Any
number of tests can be added to the test set. To add the tests to the
execution flow either simply drag them in to the execution flow area or
double click on them.
- Add conditions using
conditions tab. When you will click on the new button a ‘new execution
condition’ dialog box will pop up. Select the required test and then
passed option. This will instruct the test director to execute the next
test only after the successful execution of the previous test. Click OK once done with this and the condition will be added to the run schedule of
by the test director in the test dialog box.
- You can even add a
dependency condition to the tests by clicking on the time dependency tab. You
will get a field titled ‘run at specified time’, in that specify the date
of execution and click OK. Clicking on OK will close the run schedule. The
conditions will be displayed by the test director in the execution flow
area.
- Further, if required, some execution condition can also be added to the tests.
- For rearranging the
tests in a hierarchical way, click on the perform layout option. You can
then view the dependencies between the tests clearly.
How the tests are run in Test Director?
We get two options form the test director namely:
a) Running tests manually
and
b) Automating the tests.
Follow the steps below for the
manual execution of a test:
- Click on the test
lab module to display the test lab module.
- From the test sets
select the required test set.
- From the execution
grid select the required test.
- Clicking on the run
will open up a manual runner dialog box.
- To begin the test
run click on the test run. Parameter values dialog box will open up.
- Assign the parameter
values for the test.
- Click OK and test director
will show up the manual runner. The step details dialog box will open up. Perform
the execution process step by step.
- After running all
the steps return to the default manual runner display. End the test run by
clicking on the end of run button.
No comments:
Post a Comment