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.

how to reference the default playback logs dir.

rj412rj412 Members
edited November -1 in Sahi - Open Source
I'm using ANT and would like to know how to reference the dynamic name used for the playback logdir

If there is an error encountered - open the log: index.htm

<!--
<target name="failsahi" if="sahi.failed">
<fail message="Sahi tests failed!"/>
<antcall target="sahireport"/>
</target>

<target name="sahireport" description="show report">
<exec command="${ie-exe} file:///${sahidir}/userdata/logs/playback/<HowEverThisDirNameWasCreated>/index.htm"/>
</target>

-->
Need help as to how this can be reference:
<HowEverThisDirNameWasCreated> looks like some sort of ${suitename}__$day$month$year__$timeInSomeTimeZone)
Sign In or Register to comment.