Page 1 of 1

Only run SETUP at the start and TEARDOWN at the end

Posted: Thu Oct 10, 2013 1:01 pm
by ElSticky
testcase.jpg
I'm having one testcase with 4 recordings. The first recording is marked as SETUP and the last one is marked as TEARDOWN.

The two recordings in the middle contain some variables so they have to be run multiple times. All the recordings are working but when the variable changes it does not only repeat the middle steps but also the SETUP and TEARDOWN steps.

I would like it to only repeat the middle steps for the variables and only use TEARDOWN at the end (when all variables are tested). Is this possible somehow?

*EDIT
testcase2.jpg
I currently tried to solve it by placing the testcase in another testcase which only contains start and stop recordings. Is the the correct way of working or is there another solution?

Re: Only run SETUP at the start and TEARDOWN at the end

Posted: Thu Oct 10, 2013 1:36 pm
by krstcs
That is one way to do it.

There are also SETUP and TEARDOWN sections in the SUITE. Right-click on the Test Suite name and select "Show SETUP/TEARDOWN".