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.
Unable to get the ScreenShots in logs while running the suite file.
we are running suite file through ant and we are able to create logs in rquired location, using <report ../> sub tags under <sahi..> </sahi> parent tag.
We are using _takeSnapShots(true) command in our scripts to get the snapshots. when the log created inside the sahi repository we are able to get the screenshot in .png extension, while running the suite file through ant, we are unable to see the Screenshots in the logs which are created in the required location.
we are using the ant script as shown bellow,
<sahi suite="${basedir}/project/<Suite File Name>.suite"
browserType="firefox"
baseurl="${urlbase}"
sahihost="localhost"
sahiport="9999"
failureproperty="sahi.failed"
haltonfailure="false"
singlesession="true"
userDefinedId="sahi.co.in_firefox_english"
threads="1">
<customfield key="language" value="english"/>
<report type="html" logdir="${userdata.dir}/<HTML Log Directory Name>"/>
<report type="xml" logdir="${userdata.dir}/<XML Log Directory Name>"/>
</sahi>
Suggest us how to resolve this issue.
Os Name : Windows7
Browser Name and Version : firefox16.0.1
Sahi Build : 2012-09-26 14:44:11
Thanks
Rajesh.
We are using _takeSnapShots(true) command in our scripts to get the snapshots. when the log created inside the sahi repository we are able to get the screenshot in .png extension, while running the suite file through ant, we are unable to see the Screenshots in the logs which are created in the required location.
we are using the ant script as shown bellow,
<sahi suite="${basedir}/project/<Suite File Name>.suite"
browserType="firefox"
baseurl="${urlbase}"
sahihost="localhost"
sahiport="9999"
failureproperty="sahi.failed"
haltonfailure="false"
singlesession="true"
userDefinedId="sahi.co.in_firefox_english"
threads="1">
<customfield key="language" value="english"/>
<report type="html" logdir="${userdata.dir}/<HTML Log Directory Name>"/>
<report type="xml" logdir="${userdata.dir}/<XML Log Directory Name>"/>
</sahi>
Suggest us how to resolve this issue.
Os Name : Windows7
Browser Name and Version : firefox16.0.1
Sahi Build : 2012-09-26 14:44:11
Thanks
Rajesh.