18 January 2026:


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.

Re-run failed tests

Due to unstable work of Sahi, tests sometimes fail. It is very difficult or even impossible investigate the problem. When you re-run manually the failed test, it passes.
So it would be a great solution to avoid false positives by re-running tests if they failed when suite is executed.
Our suite is a part of Continuous Integration process implemented by Jenkins.

Could anyone give advise how to implement rerunning failed tests automatically while suite execution?

Thanks in advance!

Comments

  • narayannarayan Administrators
    Hi Rostyslav Apostol,

    This feature is in-built in Sahi Pro. For open source, you could try to
    1) execute your suite via ANT target
    2) if failed, parse logs and create a new suite (write a java/external program and call from ANT)
    3) if new suite exists, execute new suite.
    4) Fail build only if new suite fails.

    Regards,
    Narayan
Sign In or Register to comment.