Skip to content

createBodyPartFromDataFile (Team Notifications, Alerts and Collaboration)

Compatible with:
  • Purpose
  • This command is used to create an 'email body part' from the 'Data File' passed as input.
    • The 'target' for the command is the 'data file name'.
    • The 'value' for the command is a name you provide to the 'body part' that you will end up using as input to the command 'appendBodyPartToBody'. 
    The data file passed into the 'value' for this command can have in its contents user-defined variables and/or system variables which during the test execution will get substituted with the then current value of the user-defined variable(s) or the system variables.  If you want the user-defined variables or system variables within the contents of the data file, they must be appropriately enclosed with a '${' on the left and a '}' on the right.  
  • Syntax
  • createBodyPartFromDataFile(DataFileName, TemplateName)
  • Target
  • DataFile Name
  • Value
  • TemplateName
  • Return Value
  • N/A



 

Feedback and Knowledge Base