18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
_setRecovery function end up TestCase or TestSuite execution
If we have 5 TestCases in .sah file and we have used _setRecovery in all TestCases.
If 2nd TestCase will be failed, it will stop whole Test execution process. It will not run further 3rd to 5th TestCases.
The same scenario happens when we have provided multiple include files in one .sah file. If one of files's Testcase will fail, it will fail whole Test execution process.
Can you please update me, if one of TestCase will fail with recovery scenario, will it stop whole Test execution process or not?
If 2nd TestCase will be failed, it will stop whole Test execution process. It will not run further 3rd to 5th TestCases.
The same scenario happens when we have provided multiple include files in one .sah file. If one of files's Testcase will fail, it will fail whole Test execution process.
Can you please update me, if one of TestCase will fail with recovery scenario, will it stop whole Test execution process or not?
Comments
Test cases in a Suite are independent of each other. So one script should not stop another.
However if you have just used _include to call a lot of scripts one after the other, failure of the 2nd will stop it right there.
Regards,
Narayan
Here, if u take 1st two line in consideration as mentioned below:
"If we have 5 TestCases in .sah file and we have used _setRecovery in all TestCases.
If 2nd TestCase will be failed, it will stop whole Test execution process. It will not run further 3rd to 5th TestCases. "
We are not using any TestSuite here. We are running single .sah file from Sahi controller, which has 5 functions called as testCase. If 2nd function(testcase) is failed, it will not execute further functions(testcase).
Please update me on this scenario.
Regards,
Asha