Forum Discussion

akakani's avatar
akakani
New Contributor
2 years ago

Having trouble with testrunner.sh in IOS , while trying to setup HTML report on free version

Having trouble with testrunner.sh in IOS , while trying to setup HTML report on free version.

 

I am receiving below error while setting up HTML report using below file. Can someone help please, why testrunner.sh is not being found 

 

It works when I run manually from Mac terminal using below commands:

 

/Applications/SoapUI-5.7.0.app/Contents/java/app/bin  

 

command: sh testrunner.sh -sTestSuite -cTestCase -r -a -j -J -f/Users/username/Desktop/SoapUIReports  /Users/username/Desktop/project.xml         

                                                                                                                                                                                     

<project basedir="." default="testreport" name="SocrativePOC">
<property name="test.suite" value="TeacherLogin:CreateAndLaunchQuiz"/>
<property name="soapui.project" value="/Users/username/SocrativePOC-soapui-project.xml"/>
<property name="soapui.home" value="/Applications/SoapUI-5.7.0.app/Contents/java/app"/>
<property name="results.dir" value="/Users/shared"/>
<property name="reports.dir" value="${results.dir}/Reports"/>
<property name="html.dir" value="${reports.dir}/html"/>
<target name="execute.project">
<exec dir="${soapui.home}/bin" executable="testrunner.sh">
<arg line="-r -s ${test.suite} -f ${results.dir} ${soapui.project}"/>
</exec>
</target>
<target name="testreport" depends="execute.project">
<mkdir dir="${reports.dir}"/>
<junitreport todir="${reports.dir}">
<fileset dir="${results.dir}">
<include name="TEST-*.xml"/>
</fileset>
<report format="frames" todir="${html.dir}"/>
</junitreport>
</target>
</project>

 

 

No RepliesBe the first to reply