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 a test suite in batch mode is randomly failing few scripts
I have around 8 sahi scripts in sahi test suite. When i am running that test suite in batch mode, some of the scripts in the suite get failed randomly, even though on running the same scripts individually, success response is being received. I tried modifying userdata config and added following properties there, but issue persists.
xhr.wait_ready_states=1,2,3
suite.time_between_tests=1000
debug.traffic.log.unmodified=true
debug.traffic.log.modified=true
script.time_between_steps=10
script.time_between_steps_on_error=100
script.max_reattempts_on_error=5
script.max_cycles_for_page_load=5000
Could you please help in resolving this issue.
xhr.wait_ready_states=1,2,3
suite.time_between_tests=1000
debug.traffic.log.unmodified=true
debug.traffic.log.modified=true
script.time_between_steps=10
script.time_between_steps_on_error=100
script.max_reattempts_on_error=5
script.max_cycles_for_page_load=5000
Could you please help in resolving this issue.
Answers
When the scripts fail randomly, what is the error that you receive for those script files in the logs?
Regards.
I used to get random results. Most of the times, some assertion will fail or parameters passed to an api are not found on the browser. Same scripts gave proper result when run individually.
Thanks