Versions Compared

Key

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

...

Code Block
titleExpand to see the example on sample code
collapsetrue
#{for teststeps}
	#{for m=TestSteps[n].AttachmentsCount}
		${TestSteps[n].Attachments[m].ID}
		${TestSteps[n].Attachments[m].Name}
		${TestSteps[n].Attachments[m].Author}
		${TestSteps[n].Attachments[m].AuthorFullName}
		${TestSteps[n].Attachments[m].Created}
		${TestSteps[n].Attachments[m].Size}
		${TestSteps[n].Attachments[m].HumanReadableSize}
		${TestSteps[n].Attachments[m].MimeType}
		${TestSteps[n].Attachments[m].FileURL}		
	#{end}
#{end}

Manual Test Steps Custom Fields

To export Test Steps Custom Fields you just have to define the placeholder with the name of your custom field.

Example: You have a custom field called "Run CF". To get the value printed on your document you just have to use the following placeholder:

Code Block
#Iterating over Test Runs
#{for teststeps}
	Run CF: ${TestSteps[n].Run CF}
#{end}
Info

If your custom field type is a Number, Data, or Date Time you can use formatting functions.

Pre-Conditions associated with a Test

...