Forum Discussion
RohitBBorse
15 years agoContributor
Thanks Pradeep,
Yes, we can use TearDown script. But it will be executed in last after test suite/test case execution is finished.
I want, the script assertion result immediately saved into local repository once the test step execution is finished.
I have used property value as shown in code
But, instead here I want to fetch the path as specified in the Report section of the Launch TestRuner of test case/test suite/test project.
Thanks
Rohit Borse
Yes, we can use TearDown script. But it will be executed in last after test suite/test case execution is finished.
I want, the script assertion result immediately saved into local repository once the test step execution is finished.
I have used property value as shown in code
FileOutputStream LabelImage = new FileOutputStream(new File(""+context.expand([b]'${#TestSuite#LabelPath}'[/b])+""+teststep+"."+LblImgType+""));
But, instead here I want to fetch the path as specified in the Report section of the Launch TestRuner of test case/test suite/test project.
Thanks
Rohit Borse