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.

htmllog option not working

GaureeGauree Members
edited November -1 in Sahi - Open Source
Hi

I have set -htmllog to false in my suite file.

java -cp ..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner %SystemDrive%/sahi/userdata/scripts/Cmd.suite "%SystemDrive%\Program Files\Internet Explorer\IEXPLORE.EXE" https://1.1.2.15/ default localhost 8888 1 iexplore.exe -junitLog false -htmlLog false

But still the logs are generated in sahi/userdata/playback path.

OS : Windows
Browser : IE8
Sahi build : 2011-07-19

I want to disable the logs. Please let me know if i need to make any other settings.

Comments

  • It may be that htlmLogger is active per default if there is no other reporter specified, but I am not sure. You could provide a special directory as option for -htmlLogDir, like /dev/null for Unix, no idea if Windows has such kind of dummy directory.

    Regards
    Wormi
Sign In or Register to comment.