DelayAction.Duration Property
Gets or sets the number of seconds to delay after executing each action in a UI test.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Property Duration As Integer
public int Duration { get; set; }
public:
property int Duration {
int get ();
void set (int value);
}
member Duration : int with get, set
function get Duration () : int
function set Duration (value : int)
Property Value
Type: System.Int32
The number of seconds to delay.
Remarks
Setting this property raises the PropertyChanged event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.