Export (0) Print
Expand All

TestContext Properties

The TestContext type exposes the following members.

  NameDescription
Public property CurrentTestOutcome You can use this property in a TestCleanup method to determine the outcome of a test that has run.
Public property DataConnection When overridden in a derived class, gets the current data connection when the test is used for data driven testing.
Public property DataRow When overridden in a derived class, gets the current data row when test is used for data driven testing.
Public property Properties When overridden in a derived class, gets the test properties.
Public property RequestedPage Gets the requested page.
Public property TestDeploymentDir Gets the path to the test deployment directory.
Public property TestDir Gets the path to the test directory.
Public property TestLogsDir Gets the path to the test log directory.
Public property TestName Gets the test name.
Top

Community Additions

ADD
Show:
© 2014 Microsoft