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.
How to Re-excute failed script from testrunner?
Hello,
we are starting Sahi tests from one suite, using Ant every night.
Sometimes the tests ocasually fail. I want to make it so, that if the test fails, to be once again executed. So I can prove if the second time it passes...
Is there such a way to do this?
Many, many thanks for the help!
we are starting Sahi tests from one suite, using Ant every night.
Sometimes the tests ocasually fail. I want to make it so, that if the test fails, to be once again executed. So I can prove if the second time it passes...
Is there such a way to do this?
Many, many thanks for the help!
Comments
I need to know if this is possible or not at least...
it may be possible to use maven/jenkins to run the ant task and define this kind of behavior.
Alternatively, you could parse the index.html for failed scripts and if there are failed scripts, start another suite with the failed ones. Can you follow me?
Regards
Wormi
To summarize this, we need a batch/shellscript which:
1. Executes a suite
2. Reads the index.htm line by line and writes the filenames into another file when there is a "class=FAILURE" in the given line
3. Executes a suite with the just created file
Does this help you?