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.
|
Method | Description | |
---|---|---|
TakeScreenshot ( TestContext testContext ) : void |
protected OnTestFailure ( TestContext testContext ) : void | ||
testContext | TestContext | Information about the current test |
return | void |