| | |
| | | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| | | <!DOCTYPE stax SYSTEM "../stax.dtd"> |
| | | <!DOCTYPE stax SYSTEM "../../shared/stax.dtd"> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | |
| | | doc.appendChild(qa) |
| | | |
| | | # Create the functional-tests element |
| | | ft = doc.createElement("functional-tests") |
| | | ft = doc.createElement("%s" % TESTS_TYPE) |
| | | qa.appendChild(ft) |
| | | |
| | | # Create the identification element |
| | |
| | | <!-- Generate the standard test report showing all testcases --> |
| | | <script> |
| | | _message='Generated standard test report.' |
| | | xslfile= '%s/xsl/gen-alltests-report.xsl' % TESTS_SHARED_DIR |
| | | xslfile= '%s/gen-alltests-report.xsl' % TESTS_XSL_DIR |
| | | htmlfile= '%s/results.html' % logsReportDir |
| | | |
| | | standardReport=report_generation() |
| | |
| | | <!-- Generate the test report by test groups--> |
| | | <script> |
| | | _message='Generated groups test report.' |
| | | xslfile= '%s/xsl/gen-groups-report.xsl' % TESTS_SHARED_DIR |
| | | xslfile= '%s/gen-groups-report.xsl' % TESTS_XSL_DIR |
| | | htmlfile= '%s/groups.html' % logsReportDir |
| | | testslog= '%s/tests-log.xml' % logsTestsDir |
| | | groupsReport=report_generation() |
| | |
| | | |
| | | xmlfile='%s/results.xml' % logsReportDir |
| | | htmlfile='%s/%s.html' % (groupDir,testGroupName) |
| | | xslfile= '%s/xsl/gen-suites-report.xsl' % TESTS_SHARED_DIR |
| | | xslfile= '%s/gen-suites-report.xsl' % TESTS_XSL_DIR |
| | | |
| | | suitesReport=report_generation() |
| | | stringParamsDict={ 'group' : testGroupName } |
| | |
| | | testSuiteFilesList=glob.glob('%s/*.xml' % groupDir) |
| | | |
| | | xmlfile='%s/results.xml' % logsReportDir |
| | | xslfile= '%s/xsl/gen-tests-report.xsl' % TESTS_SHARED_DIR |
| | | xslfile= '%s/gen-tests-report.xsl' % TESTS_XSL_DIR |
| | | |
| | | for testSuiteFile in testSuiteFilesList: |
| | | |
| | |
| | | _message='Unable to generate test case report %s !!!' % groupDir |
| | | </script> |
| | | <message>_message</message> |
| | | |
| | | |
| | | <!-- Generate the product identification report --> |
| | | <script> |
| | | _message='Generated product identification test report.' |
| | | xslfile= '%s/xsl/id.xsl' % TESTS_SHARED_DIR |
| | | _message='Generated product identification test report.' |
| | | xslfile= '%s/id.xsl' % TESTS_XSL_DIR |
| | | htmlfile= '%s/id.html' % logsReportDir |
| | | |
| | | idReport=report_generation() |
| | |
| | | <!-- Generate the summary text file --> |
| | | <script> |
| | | _message='Generated the summary text report' |
| | | mysummaryxsl='%s/xsl/gen-text-summary.xsl' % TESTS_SHARED_DIR |
| | | mysummaryxsl='%s/gen-text-summary.xsl' % TESTS_XSL_DIR |
| | | mysummarytext='%s/summary.txt' % logsReportDir |
| | | mysummaryxml=xmlfile |
| | | |