public class FailureScreenshotTaker extends Object
| Constructor and Description |
|---|
FailureScreenshotTaker(File imageFolder)
Creates a new
. |
| Modifier and Type | Method and Description |
|---|---|
void |
saveScreenshot(String failedTest)
Saves a screenshot of the desktop using the given description as the file name.
|
public FailureScreenshotTaker(File imageFolder)
FailureScreenshotTaker.imageFolder - the folder where screenshots will be saved to.public void saveScreenshot(String failedTest)
failedTest - the description of the test failure.Copyright © 2014–2016 AssertJ. All rights reserved.