template.report.html.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sahagin Show documentation
Show all versions of sahagin Show documentation
Sahagin makes your Selenium script more readable and maintainable.
${title}
#if ( ${classTestDoc} )
${classTestDoc} (${className})
#else
${className}
#end
#if ( ${methodTestDoc} )
${methodTestDoc} (${methodName})
#else
${methodName}
#end
#if ( ${executionTime} )
$number.format("#0.0", $math.div(${executionTime}, 1000.0)) ${timeUnit}
#else
#end
#foreach( $codeLine in $codeBody )
#if( ${codeLine.hasError()} )
#set( $lineClass = "errorLine" )
#elseif( ${codeLine.isAlreadyRun()} )
#set( $lineClass = "successLine" )
#else
#set( $lineClass = "notRunLine" )
#end
#if( ${codeLine.getParentTtId()} )
#set( $dataTtParentId = "data-tt-parent-id=""${codeLine.getParentTtId()}""" )
#else
#set( $dataTtParentId = "" )
#end
#if( ${codeLine.isChildLoaded()} )
#set( $loadedClass = "loaded" )
#else
#set( $loadedClass = "" )
#end
#if( ${codeLine.getExecutionTime()} >= 0 )
#set( $executionTime = $number.format("#0.0", $math.div(${codeLine.getExecutionTime()}, 1000.0)) )
#else
#set( $executionTime = "-" )
#end
${codeLine.getPageDoc()}
${codeLine.getTestDoc()}
${codeLine.getCodeLine().getCode().getOriginal()}
$executionTime
#end
#if( ${errMsg} )
[Error]
${errMsg}
#end
#foreach( $codeLine in $codeBody )
#foreach ( $methodArgTestDoc in ${codeLine.getMethodArgTestDocs()} )
${methodArgTestDoc}
#end
#end
${codeLineWithoutTestDoc}
${jsLocalVar}
${jsVarAssign}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy