cancel
Showing results for 
Search instead for 
Did you mean: 

setup and tear down as test steps

Highlighted
Contributor

setup and tear down as test steps

Hi,

I think it would be utterly useful if we could specify the setup and teardown scripts as test steps (using datasink etc).

Thanks,

Tom
2 REPLIES 2
Highlighted
Super Contributor

Re: setup and tear down as test steps

Hi Tom,

hmm.. yes.. I agree.. for now you could run the desired teststeps from the setup/teardown scripts (disable them in your testcase).. ie

testRunner.testCase.testSteps["TearDown Step"].run( testRunner, context )

regards,

/Ole
eviware.com
Highlighted
Contributor

Re: setup and tear down as test steps

Cool, thanks for the helpful hint.

T
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to change request body before sending it to the server for the TechCorner tag!


Scripts created in June:
- A script to generate a request body based on data from Datasource
- A script to go through all response nodes and check the value of the required field
- A Dispatching script to get responses based on the values in Request Body
- A script to add a new tag and assign it to all TestCases in a TestSuite