Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileUploadParameter::FileName Property

 

Gets or sets the file name to upload.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public:
property String^ FileName {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The file name to upload.

The FileName is relative to the deployment directory. You must add this file as a deployment item using the DeploymentItemAttribute. If the test is run on the local computer, FileName can be specified with an absolute path.

Return to top
Show: