Details
-
Bug
-
Status: Open
-
Medium
-
Resolution: Unresolved
-
6.9.13
-
None
-
None
Description
Images added to Test Steps are not exported when exporting the Test Run details in the context of the Test Execution iteration.
Steps to reproduce:
1 - Create one Manual Test, add one Test Step, and add one image to one of its fields.
2 - Execute the Test and add the correspondent Test Execution to a Test Plan.
3 - Use the following code to export the Test Plan:
#{for testExecutions} #{for u=TestExecutions[n].TestRunsCount} #{for r=TestExecutions[n].TestRuns[u].TestStepsCount} ${wiki:TestExecutions[n].TestRuns[u].TestSteps[r].Action} ${wiki:TestExecutions[n].TestRuns[u].TestSteps[r].ExpectedResult} #{end} #{end} #{end}
The images in the Test Steps will not be printed:
Expected Result:
The images should be exported:
Note: The same doesn't happen when using Document Generator or exporting the Test Runs without using the TestExecutions iteration, for example, with this code:
#{for tests} #{for a=Tests[n].TestRunsCount} #{for z=Tests[n].TestRuns[a].TestStepsCount} ${wiki:Tests[n].TestRuns[a].TestSteps[z].Action} ${wiki:Tests[n].TestRuns[a].TestSteps[z].Data} ${wiki:Tests[n].TestRuns[a].TestSteps[z].ExpectedResult} #{end} #{end} #{end}