WebTest.Password Property

Gets and sets the password that is used for authentication.

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

Syntax

'Declaration
Public Property Password As String
public string Password { get; set; }
public:
property String^ Password {
    String^ get ();
    void set (String^ value);
}
member Password : string with get, set
function get Password () : String
function set Password (value : String)

Property Value

Type: System.String
The password that is used for authentication. The default value is an empty string.

.NET Framework Security

See Also

Reference

WebTest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

How to: Set Credentials on a Web Performance Test