I am looking for a way to cleanup run testcase get properties only once, preferrably when closing a project. I know now how to cleanup those properties. Purpose is to be able to use Git combined with run testcases.
Does anybody has suggestions? I did look at events but I have not found an event when closing or maybe saving a project.
ReadyApi provides the concepts of Setup and Tear down scripts. The Setup script runs before a certain phase (either Project, Test Suite or Test Case) while the Tearn down script runs after a certain phase.
That being said, if you want to run a script after the project is run, you can click on the project in the Navigator, click on Tear down script and add your code there.
Later edit: it was only after I posted that I saw you wanted this to happen when closing a project and not after the project was ran. I don't really have a solution for this.
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.