Duration property

Class: TestResultsPlatform: Selenium 3Language: C# SDK:

Use this property to retrieve the amount of time the test ran.

Syntax

long value = result.Duration

Type:long

The number of seconds the test ran for.