AttachDocument
Attach documents to your test execution results to have proof of the outcome. You can view the attachment in Orchestrator by navigating to Testing > Test Executions > Test Run Details and then selecting View attachments on a specific test case.
- Attachment preview in Orchestrator is available for JSON, TXT, XML, PNG and JPEG file formats.
Definition
Namespace: UiPath.Testing.API
Assembly: UiPath.Testing.Activities.Api (in UiPath.Testing.Activities.Api.dll)
Overloads
AttachDocument(String) | Attach a document to the current test case in Orchestrator. |
AttachDocument(String, IEnumerable<String>) | Attach a document, along with specific tags, to the current test case in Orchestrator. |
AttachDocument(String)
Attach a document to the current test case in Orchestrator.
void AttachDocument(
string filePath
)
filePath String : Specify the file path of the document that will be attached to the test case.
AttachDocument(String, IEnumerable<String>)
Attach a document, along with specific tags, to the current test case in Orchestrator.
void AttachDocument(
string filePath,
IEnumerable<string> tags
)
filePath String : Specify the file path of the document that will be attached to the test case.
tags IEnumerable<String> : Set custom tags to the attached document.