Fatal error during transformation while running report task in ANT?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fatal error during transformation while running report task in ANT?

Varghese Renny


   hI
Below is the target for ant report
Inside it i am having code like
 
<xslt in="${basedir}/test-output/testng-results.xml"
        style="${basedir}/config/testng-results.xsl" out="${basedir}/testng-xslt/index.html" >
            <param expression="${basedir}/testng-xslt/" name="testNgXslt.outputDir"/>
            <param expression="true" name="testNGXslt.sortTestCaseLinks"/>
            <param expression="FAIL,SKIP,PASS,BY_CLASS" name="testNgXslt.testDetailsFilter"/>
            <param expression="Sigma-TestNG Results" name="testNgXslt.reportTitle"/>
            <param expression="true" name="testNgXslt.showRuntimeTotals"/>
            <classpath refid="classpath_jars"/>
        </xslt>

  TESTNG.XLS I Downloaded from

   http://code.google.com/p/testng-xslt/source/browse/trunk/?r=108#trunk%2Fsrc%2Fmain%2Fresources

  I haven't given any processor explicity. Also no extra jar files i have added

  till running testcase it is working fine.
  After that this task is showing error

  like
 
   [xslt] Unknown file:23:146: Fatal Error! Could not find function: if
   [xslt] : Fatal Error! Fatal error during transformation Cause: Fatal error during transformation

   BUILD FAILED
   Fatal error during transformation

 
   Regards,
   varghese
 



 
   

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/testng-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Fatal error during transformation while running report task in ANT?

sudheer
This post has NOT been accepted by the mailing list yet.
The resolution for this issue is explained clearly in this blogger.

Please have a look at it..

http://tobeanexpert.blogspot.in/2015/05/generate-xslt-report-ant-buildxml.html

I hope this will helps you..

Thanks,
sudheer.