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.

Sahi Pro v4 logging problems

edited November -1 in Sahi - Open Source
I'm talking about the reports here: /_s_/dyn/pro/DBReports

Some of the scripts I ran are not saving the logs anymore. It's inconsistent and I cannot replicate it. Is there an issue with this new version and logging? Thanks!

Comments

  • narayannarayan Administrators
    Hi,

    Can we set up a desktop sharing session and see whats going on?

    Regards,
    Narayan
  • edited December 2011
    I am not sure we can as I am in the US (Pacific Standard Time). I can find the missing logs now, however, there's this bug where even if the script was a 'success', the log file is still being marked as a 'failed' test. Could this be because I am running the same script many times in successions? Editing the file several times in between test? Also the scripts I run are relatively long... takes about 5-10 minutes each.
  • Hi chopstickscheetos,

    You can run a single script any times. If the script is success then the logs will show success itself.
    Check if you have made any changes in your script which may lead the script to fail.

    Could you post the logs here.

    Regards
    Sumitra
  • hi,,

    i need some help.. im having problems in logs...

    i ran a script in test.xls that connects to a sahi script (file.sah)
    after a successful playback, when i looked into the logs and expand it...
    it showed nothing...


    here is what written on my excel file:
    Summary Result [This is the summarry result of this test case]
    counter


    and here is the function on sahi script:
    function counter(){
    _log("Success = "+$success,"custom3");
    _log("Failed = "+$failed,"custom3");
    }

    LOGS:

    Summary Result [This is the summarry result of this module]
    counter



    .....it didn't display the result...
Sign In or Register to comment.