Hi All,
As per my project requirement need to create test execution report though X-ray Test Management. For the same i have generated customize document template using document generator. It give me all the test execution component level detail Except list of total defects associated against each test executions component. To get this defect list i have wrote following customize code.
#{if (%{${TestRunsCount}===0})}
None
#{end}
#{if(%{${TestRunsCount}>0})}
#{for i=TestExecution[n].TestRunsCount}
${TestExecution[n].TestRuns[i].ExecutionDefects}
Link:{@title=${TestExecution[n].TestRuns[i].ExecutionDefects[e].Key}|href=${BaseURL}/browse/${TestExecution[n].TestRuns[i].ExecutionDefects[e].Key}}
Summary:${TestExecution[n].TestRuns[i].ExecutionDefects[e].Summary}
Status:${TestExecution[n].TestRuns[i].ExecutionDefects[e].Status}
#{end}
#{end}
This was not return any result, Please anyone help me out to correct this code ?