C# Class UI.TestBase

Inheritance: MSTest.TestBase
显示文件 Open project: arnonax/TestEssentials

Protected Methods

Method Description
OnTestFailure ( TestContext testContext ) : void

This method is called in case of a test failure and takes a screenshot. The screenshot is saved in a file whose name is the full test name with a ".jpg" suffix.

Private Methods

Method Description
TakeScreenshot ( TestContext testContext ) : void

Method Details

OnTestFailure() protected method

This method is called in case of a test failure and takes a screenshot. The screenshot is saved in a file whose name is the full test name with a ".jpg" suffix.
protected OnTestFailure ( TestContext testContext ) : void
testContext TestContext Information about the current test
return void