Partager via


UITestAction.ElapsedTime Property

Gets or sets the time span of the action.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Property ElapsedTime As TimeSpan
public TimeSpan ElapsedTime { get; set; }
public:
property TimeSpan ElapsedTime {
    TimeSpan get ();
    void set (TimeSpan value);
}
member ElapsedTime : TimeSpan with get, set
function get ElapsedTime () : TimeSpan 
function set ElapsedTime (value : TimeSpan)

Property Value

Type: TimeSpan
Used to generate video for the test case.

.NET Framework Security

See Also

Reference

UITestAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace