Page 1 of 1

How to specify steps to run within a testcase

Posted: Tue Nov 20, 2012 9:33 pm
by monkey2012
If I have a recording module that has 10 steps. Is it possible to create different testcases for which only certain steps to be executed?
Example: recording1.rxrec contains 10 steps

I want to create:

1) TestCase_1: only executes step 1,2,and 3 in recording1.rxrec
2) TestCase_2: only executes step 1,3,4,5,and 7 in recording1.rxrec
3) TestCase_3: executes all 10 steps in recording1.rxrec

Re: How to specify steps to run within a testcase

Posted: Wed Nov 21, 2012 12:02 pm
by Support Team
Hello,

The easiest way would be to create 2 additional recordings.
You could copy your desired steps from your Recording1.rxrec into other recordings.
Tip: Select your step with your mouse, press Ctrl-Key and select another step with your mouse.

Regards,
Markus (T)

Re: How to specify steps to run within a testcase

Posted: Thu Nov 22, 2012 4:27 pm
by krstcs
I try to make my test modules as small as reasonably possible.

Only have the steps that you know will be done together EVERY time in a module.

Then, just chain the modules together in the test case the way you need them. You can have child test cases that contain optional modules that would only be run at certain times (i.e., when the data set specifies it).

So, for your example.

Module1 - Step 1, Step 2, Step 3, Step 4
Module2 - Step 5, Step 6
Module3 - Step 7

Then you can have test cases like:

TC1 - Module1
TC1.1 - Module2
TC1.2 - Module3

Set the test data correctly (the most important part of testing) and you can have it do, or not do, anything you like.