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.
I want to create a third test status of "DEFECT" to be displayed in orange.
What would I need to change in the script_report.xsl to accomodate this besides adding the lines div.DEFECT{background-color:orange;color:red}, & tr.DEFECT{background-color:orange;color:red}? Also, how would I get sahi to report the status as DEFECT, as opposed to SUCCESS or FAILURE, on script end?
Answers
implementing a new Script Status would require digging into the code and building your own Sahi. Sahi Pro won't let you do that afaik.
Not sure right now but it would be somewhere around here:
http://sourceforge.net/p/sahi/code/HEAD/tree/trunk/sahi/src/net/sf/sahi/session/Status.java
http://sourceforge.net/p/sahi/code/HEAD/tree/trunk/sahi/src/net/sf/sahi/report/ResultType.java