Hi,
I have a test suite with multiple test cases and a setup and teardown block.
When I select a test case in Ranorex studio and select "Run Selected Test Case" or when I execute it from the command line via /tc:<test case guid> parameter, only the test case itself is executed, no setup and therefore the test fails.
How can I include the setup and then the teardown (especially) in the command line execution of a single test case ?
Thanks
Setup&Teardown blocks not called from command line
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Setup&Teardown blocks not called from command line
Hi bygones,
If you execute a specific test case, the setup and teardown region will only be executed if they are located within this test case.
If you want the setup and teardown region of the test suite to be executed when running a specific test case, I would suggest creating different run configurations.
I hope this information will help you.
Sincerely,
Johannes
If you execute a specific test case, the setup and teardown region will only be executed if they are located within this test case.
If you want the setup and teardown region of the test suite to be executed when running a specific test case, I would suggest creating different run configurations.
I hope this information will help you.
Sincerely,
Johannes