AddFileAttachment

Attaches a file to a Helix ALM issue.

Note: This statement cannot be used in load test scripts.

Syntax

AddFileAttachment(Issue, "FilePath")

Arguments

Argument Description
Issue Issue object to attach the file to. Use the NewIssue statement to create the issue object.
FilePath Full path to the file to attach.

Example

issue = NewIssue()

' Attaches the output.xml file to the issue

AddFileAttachment(issue, "C:\\OutputDir\\output.xml")

 

You can also call this statement directly on a Helix ALM issue object.

issue = NewIssue()

issue.AddFileAttachment("C:\\OutputDir\\output.xml")