Udostępnij za pośrednictwem


WebTestContext.IsNewUser Property

Gets a value that indicates whether the Web test is being run in the context of a new user of the target Web site.

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

Syntax

'Declaration
Public Property IsNewUser As Boolean
'Usage
Dim instance As WebTestContext 
Dim value As Boolean 

value = instance.IsNewUser

instance.IsNewUser = value
public bool IsNewUser { get; internal set; }
public:
property bool IsNewUser {
    bool get ();
    void set (bool value);
}
public function get IsNewUser () : boolean 
public function set IsNewUser (value : boolean)

Property Value

Type: System.Boolean
true if the Web test is being run in the context of a new user; otherwise, false.

.NET Framework Security

See Also

Reference

WebTestContext Class

WebTestContext Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace