EswarJ
13 years agoNew Contributor
Updating Setup/Tear down scripts
Hi there,
Is it possible to update the scripts inside the setup/teardown section using a groovy script?
For example:
I have a teardown script that needs to be run at the end of each test case. To copy this script into each test case, can I use a groovy script?
Currently I am manually copying the script into a new test case every time I add a test case. If I have a groovy to do this, I was wondering if I can run that groovy step alone?
Any inputs related to this will be helpful.
Thanks.
Eswar
Is it possible to update the scripts inside the setup/teardown section using a groovy script?
For example:
I have a teardown script that needs to be run at the end of each test case. To copy this script into each test case, can I use a groovy script?
Currently I am manually copying the script into a new test case every time I add a test case. If I have a groovy to do this, I was wondering if I can run that groovy step alone?
Any inputs related to this will be helpful.
Thanks.
Eswar