cancel
Showing results for 
Search instead for 
Did you mean: 

Tear down script at project level does not get executed when execution is done from java code

Highlighted
Occasional Contributor

Tear down script at project level does not get executed when execution is done from java code

I have a testSuites tear down script  at project level .

 

tear.jpg

 

I am executing my code from java as below:

 

SoapUITestCaseRunner testCaseRunner = new SoapUITestCaseRunner();

testCaseRunner.setProjectFile(path);

testCaseRunner.run();

 

The execution happens but the tearDownscript at project level does not get executed.

 

Is there any solution to this ?

or a workaround to explicitly invoke the project level teardown scripts from soap ui api using java?

 

--I can move my script to individual suite teardowns but i am also capturing projetc level execution details

so as a workaround is it possible to get the project level runner from testSuite Level to get details like timeTaken and Status etc at project level?

1 REPLY 1
Highlighted
Occasional Contributor

Re: Tear down script at project level does not get executed when execution is done from java code

@nmrao   , @rupert_anderson , @HimanshuTayal   any ideas ?

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors