activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow Activities

Last updated Dec 20, 2024

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.
Note:
  • 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
)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
)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.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.