Page 1 of 1

Ranorex command line that also runs setup and teardown

Posted: Mon Aug 11, 2014 4:25 pm
by Yarome
Hello

I have a suite that includes 20 TC's.
This suite includes a setup and teardown.

When I run the command line to run a single TC in this suite it doesn't run the suites setup and teardown.

(In each TC I have a Setup and Teardown that do run).

Thanks.

Re: Ranorex command line that also runs setup and teardown

Posted: Tue Aug 12, 2014 1:48 pm
by krstcs
The Suite's Setup and Teardown are not supposed to run if you specific a test case at the command line, by design. In order for the Suite level Setup and Teardown to run you need to run the whole suite.

If you need those actions to be run all the time, then you may need to rework your test business flow in order to assure that they are run correctly.

Re: Ranorex command line that also runs setup and teardown

Posted: Tue Aug 12, 2014 8:41 pm
by Yarome
That's what I thought.... ohhh too bad.

Thanks.