Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Document Generator allows rendering of the Pre-Conditions associated with a Test from a Test Run. 

Definition:

${TestRuns[n].PreCondition.Field}

n is the index of Test Runs, starting from 0. The fields available for Pre-Conditions are:

...

Status
colourYellow
titleDEPRECATED

${TestRuns[n].PreConditions[p].Field}

n is the index of Test Runs, starting from 0. The fields available for Pre-Conditions are:

  • Key
  • Summary
  • Conditions
  • Pre-Condition Type


Code Block
titleExpand to see the example on sample code
collapsetrue
#Iterating over Test Runs
#{for testruns}
    #Getting data from Pre-Conditions
    ${TestRuns[n].PreConditionsCount}
    #{for p=TestRuns[n].PreConditionsCount}
      Pre-Condition Key: ${TestRuns[n].PreConditions[p].Key}
      Pre-Condition Summary: ${TestRuns[n].PreConditions[p].Summary}
      Condition:  ${TestRuns[n].PreConditions[p].Conditions}
      Type: ${TestRuns[n].PreConditions[p].Pre-Condition Type}
   #{end}
#{end}
Code Block
titleExpand to see the example on sample code
collapsetrue
#Iterating over Test Runs
#{for testruns}
	#Getting data from Pre-Condition
	Pre-Condition Key: ${TestRuns[n].PreCondition.Key}
	Pre-Condition Summary: ${TestRuns[n].PreCondition.Summary}
	Condition:	${TestRuns[n].PreCondition.Conditions}
	Type: ${TestRuns[n].PreCondition.Pre-Condition Type}
#{end}
Info
titleDEPRECATED

This iteration is DEPRECATED



Iterating Attachments associated with a Test Run

...