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.
Running from a given step number instead of playing from 0
Hi Raman,
In the earlier version i.e. sahi_20080627, we were able to start playing the script from middle or anywhere we want to. But in the latest version when the script fails, and when we click on play button it restarts from "0" [first line].
Is it possible to start the script where it was stopped in the new version of sahi?
Kindly let me know.
Thanks
&
Regards
Kirthi
In the earlier version i.e. sahi_20080627, we were able to start playing the script from middle or anywhere we want to. But in the latest version when the script fails, and when we click on play button it restarts from "0" [first line].
Is it possible to start the script where it was stopped in the new version of sahi?
Kindly let me know.
Thanks
&
Regards
Kirthi
Comments
This was a side effect of moving execution to the proxy in V2. This will be fixed in the coming release (before Jan end).
-Narayan
Issue may not be resolved but has work around.
Confirming on this:
Are you doing "play, stop and step" or "play, pause and step"?
The first one won't work.
Note that step numbers start from 1.
You can verify this behavior by doing this:
On the playback tab, click on the "[from url]" link on the top and use these values:
Script: http://sahi.co.in/demo/scripts/startfrom.sah
Start URL: http://sahi.co.in/demo
Click "Set".
Set "Next Step" = 5
Click on "Step" and see whether it works. I tested it on IE and FF and it works.
Please let me know your outcome.
Regards,
Narayan
I verified this issue with your demo example. i followed the same step you asked me to do. It worked fine until i came to step 13, at this point i got "--Stopped Playback: SUCCESS--" and i tried to go back to previous step. Say, step 5 again. Becuase i wanted to run this script again from previous step somewhere.
In my post earlier, i meant to say i am not able to start the script from the previous step. For some reason teh script stops and if we want to start the script again from previous step it does not do so as it use to in previous build.
Please try running the script from previous steps and let me know if it works or its an issue.
Thanks & Regards.