Forum Discussion
3 Replies
Sort By
- HimanshuTayalCommunity Hero
Hi SumitM,
I think in that case you need to write your TearDown and Setup Script at your TestSuite Level not on Project Level,
but you can achieve this via some groovy code:
testSuite.runSetupScript(context, runner)
In this case you need to set context and runner both. But i will suggest put your TearDown and Setup Script in appropriate place.
- SumitMOccasional Contributor
Hi HimanshuTayal,
Thanks for the response.
Can you please provide a code snippet or any screen sorts on how to achieve this via
testSuite.runSetupScript(context, runner)
- groovyguyChampion Level 1
You would have to put a groovy script test step in wherever you need to trigger that setup/tear down script.
Related Content
- 8 years agoarupacharya1784
- 11 years agomvandenberg2
Recent Discussions
- 13 hours agodipsthorat
- 17 hours agoisbiat
- 22 hours agoLea
- 2 days agoarmygrad