Versions Compared

Key

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

...

n is the index of Test Step, starting from 0. The field TestStepsCount was created in order to give the total number of Test Steps. The fields available for Test Steps are:

  • StepNumber
  • StepAction
  • Data
  • ExpectedResult


Code Block
titleExpand to see the example on sample code
collapsetrue
#{for teststeps}
    ${TestSteps[n].StepNumber}
    ${TestSteps[n].StepAction}
    ${TestSteps[n].Data}
    ${TestSteps[n].ExpectedResult}
#{end}

...

Code Block
titleExpand to see the example on sample code
collapsetrue
#{for preconditions}
	${PreConditions[n].Key}
	${PreConditions[n].Summary}
	${PreConditions[n].Description}
	${PreConditions[n].Pre-Condition Type}
	${PreConditions[n].Conditions}
#{end}


or


#{for j=PreConditionsCount}
	${PreConditions[j].Key}
	${PreConditions[j].Summary}
	${PreConditions[j].Description}
	${PreConditions[j].Pre-Condition Type}
	${PreConditions[j].Conditions}
#{end}

...