All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.relevantcodes.extentreports.view.Extent.Offline.ftl Maven / Gradle / Ivy

The newest version!
<#assign dateFormat = report.configurationMap["dateFormat"]>
<#assign timeFormat = report.configurationMap["timeFormat"]>
<#assign dateTimeFormat = report.configurationMap["dateFormat"] + " " + report.configurationMap["timeFormat"]>



	
		

		
		
		 
		
		
		
		
		
		
			<#if report.configurationMap??>
				${report.configurationMap["documentTitle"]}
			</#if>
		
		
		
		
		
	
	
	<#assign theme = ''>
	<#if report.configurationMap??>
		<#assign theme = report.configurationMap["theme"]> 
	
	
	
		
		
		
		
		
		
${resourceBundle.getString("dashboard.panel.name.totalTests")}
${resourceBundle.getString("dashboard.panel.name.totalSteps")}
${resourceBundle.getString("dashboard.panel.name.totalTimeTaken.current")} ${report.getRunDuration()}
${resourceBundle.getString("dashboard.panel.name.totalTimeTaken.overall")} ${report.getRunDurationOverall()}
${resourceBundle.getString("dashboard.panel.name.start")} ${report.startedTime?datetime?string(dateTimeFormat)}
${resourceBundle.getString("dashboard.panel.name.end")} ${.now?datetime?string(dateTimeFormat)}
${resourceBundle.getString("dashboard.panel.name.testsView")}
${resourceBundle.getString("dashboard.panel.label.testsPassed")}
${resourceBundle.getString("dashboard.panel.label.testsFailed")}, ${resourceBundle.getString("dashboard.panel.label.others")}
${resourceBundle.getString("dashboard.panel.name.stepsView")}
${resourceBundle.getString("dashboard.panel.label.stepsPassed")}
${resourceBundle.getString("dashboard.panel.label.stepsFailed")}, ${resourceBundle.getString("dashboard.panel.label.others")}
${resourceBundle.getString("dashboard.panel.name.passPercentage")}
${resourceBundle.getString("dashboard.panel.name.environment")} <#list report.systemInfoMap?keys as info>
${resourceBundle.getString("dashboard.panel.th.param")} ${resourceBundle.getString("dashboard.panel.th.value")}
${info} ${report.systemInfoMap[info]}
<#if report.categoryTestMap?? && (report.categoryTestMap?size != 0)>
${resourceBundle.getString("dashboard.panel.name.categories")} <#list report.categoryTestMap?keys as category>
${resourceBundle.getString("dashboard.panel.th.name")}
${category}
${resourceBundle.getString("tests.heading")}
<#if report.categoryTestMap?? && report.categoryTestMap?size != 0>
 · 
 ·
    <#list report.testList as extentTest> <#assign test = extentTest.getTest()>
  • ${test.name} <#if test.internalWarning??> ${test.status}
    ${test.startedTime?datetime?string(dateTimeFormat)} <#if test.endedTime??>${test.endedTime?datetime?string(dateTimeFormat)} <#if test.endedTime??>${test.getRunDuration()}
    ${test.description}
    <#if test.categoryList?? && test.categoryList?size != 0>
    <#list test.categoryList as category> ${category.name}
    <#if test.authorsList?? && test.authorsList?size != 0>
    <#list test.authorsList as author> ${author.name}
    <#if (test.logList[0].stepName)??> <#list test.logList as log> <#if test.logList[0].stepName?? && log.stepName??>
    ${resourceBundle.getString("tests.test.log.th.status")} ${resourceBundle.getString("tests.test.log.th.timestamp")}StepName ${resourceBundle.getString("tests.test.log.th.details")}
    ${log.timestamp?datetime?string(timeFormat)}${log.stepName} ${log.details}
      <#if test.nodeList?? && test.nodeList?has_content> <@recurse_nodes nodeList=test.nodeList depth=1 /> <#macro recurse_nodes nodeList depth> <#list nodeList as node>
    • ${node.startedTime?datetime?string(dateTimeFormat)} ${node.endedTime?datetime?string(dateTimeFormat)} ${node.getRunDuration()} ${node.status}
      ${node.name}
      <#if node.description??>
      ${node.description}
      <#if (node.logList[0].stepName)??> <#list node.logList as log> <#if node.logList[0].stepName?? && log.stepName??>
      ${resourceBundle.getString("tests.test.log.th.status")} ${resourceBundle.getString("tests.test.log.th.timestamp")}StepName ${resourceBundle.getString("tests.test.log.th.details")}
      ${log.timestamp?datetime?string(timeFormat)}${log.stepName} ${log.details}
    • <@recurse_nodes nodeList=node.nodeList depth=depth+1 />
<#if report.categoryTestMap?? && (report.categoryTestMap?size != 0)>
${resourceBundle.getString("categories.heading")}
    <#list report.categoryTestMap?keys as category> <#assign testList = report.categoryTestMap[category]> <#assign passed = 0, failed = 0, others = 0> <#list testList as test> <#if test.status == "pass"> <#assign passed = passed + 1> <#elseif test.status == "fail"> <#assign failed = failed + 1> <#else> <#assign others = others + 1>
  • ${category}
    <#if (passed > 0)> Pass: ${passed} <#if (failed > 0)> Fail: ${failed} <#if (others > 0)> Others: ${others}
    <#list testList as test>
    ${resourceBundle.getString("categories.th.runDate")} ${resourceBundle.getString("categories.th.testName")} ${resourceBundle.getString("categories.th.status")}
    ${test.startedTime?datetime?string(dateTimeFormat)} ${test.name}
    ${test.status}
<#if report.exceptionTestMap?? && (report.exceptionTestMap?size > 0)>
${resourceBundle.getString("exceptions.heading")}
    <#list report.exceptionTestMap?keys as exception> <#assign testList = report.exceptionTestMap[exception]>
  • ${exception}
    ${testList?size}
    <#list testList as exceptionInfo> <#assign test = exceptionInfo.test>
    ${resourceBundle.getString("exceptions.th.runDate")} ${resourceBundle.getString("exceptions.th.testName")} ${resourceBundle.getString("exceptions.th.exception")}
    ${test.startedTime?datetime?string(dateTimeFormat)} ${test.name}
    ${exceptionInfo.stackTrace}
<#if report.testRunnerLogList?? && (report.testRunnerLogList?size != 0)>
${resourceBundle.getString("logs.heading")}
<#list report.testRunnerLogList as trLog>

${trLog}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy