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.

Log file creation

Sahi_ASahi_A Members
edited October 2013 in Sahi - Open Source
Log file creation: Can I record messages in the log file as I want eg: Test 1: Pass;Test 2: Pass etc to be used as a part of my test report? Also, I see that once the script encounters a failure, it stops. Is there a way to execute more than one condition as a part of the same script?

Best Answer

  • You can write a custom function to create a text file and log the results using
    _scriptName and _scriptStatus at the end of each script.

    For your other question, if you still want to continue the script execution try using _continueonError api
    but this will not work in cases like page not loaded or time our error.
    Hope this helps.

    Regards,
    Bhavitha

Answers

Sign In or Register to comment.