selenium discussion] Selenium+ TestNG +XSLT Report Generation +Severity for Failed testcass

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

selenium discussion] Selenium+ TestNG +XSLT Report Generation +Severity for Failed testcass

amitaks2

Hi All,

I have a requirement to email the test reports with severity of testcases failed . Means supposes one testcases is failed during execution and it have high severity then that should also be printed in XSLT reports generated by testNg.(Although I am able to create XSLT reports using following ant:


    <!-- ****************** XSLT Reports ****************** -->
      <target name="makexsltreports">
                <mkdir dir="${ws.home}/XSLT_Reports/output"/>

                <xslt in="${ng.result}/testng-results.xml" style="src/com/appname/xslt/testng-results.xsl"
                      out="${ws.home}/XSLT_Reports/output/index.html" classpathref="test.c" processor="SaxonLiaison">
                    <param name="testNgXslt.outputDir" expression="${ws.home}/XSLT_Reports/output/"/>
                    <param name="testNgXslt.showRuntimeTotals" expression="true"/>
                </xslt>
            </target>


Can we achieve this or can  we set out customized variable/message in to the reports?
Or any thoughts on this is really appreciable.

Thanks
-Amit

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/testng-users/-/xCby5wqQGocJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.