Forum Discussion
asseldonk01
Contributor
Hi Rao and Lucian,
Thanks for your remarks. First i learned that describing something in a post is not that easy. You believe that it is clear but that is certainly not always the case.
I was looking for a way to call a groovy script when closing a project. I will now have a more closer look at teardown scripts and maybe again events.
Thanks!
nmrao
6 years agoChampion Level 3
More information will reduce the time for the better answers, and number of iterations as well.
When there is script already, why let the others to imagine ?
Depends on the context, the same script may work from certain place and the same may not work from other place.
For example, if script is provided at Script Assertion level, many not work in a groovy script test step. A script of groovy script test step is placed in test suite tear down, may or many not work depending the context variables being used.
That's the reason why asking for the information.
And there is no use of providing some random info to try without full knowledge of understanding of the problem.
When there is script already, why let the others to imagine ?
Depends on the context, the same script may work from certain place and the same may not work from other place.
For example, if script is provided at Script Assertion level, many not work in a groovy script test step. A script of groovy script test step is placed in test suite tear down, may or many not work depending the context variables being used.
That's the reason why asking for the information.
And there is no use of providing some random info to try without full knowledge of understanding of the problem.
Related Content
Recent Discussions
- 14 hours agodipsthorat
- 18 hours agoisbiat
- 23 hours agoLea
- 2 days agoarmygrad