Class BambooWebDriverScreenshotRule
- java.lang.Object
-
- org.junit.rules.TestWatcher
-
- com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
-
- com.atlassian.bamboo.webdriver.testing.rule.BambooWebDriverScreenshotRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class BambooWebDriverScreenshotRule extends com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
-
-
Constructor Summary
Constructors Constructor Description BambooWebDriverScreenshotRule(@NotNull BambooTestedProduct product)Constructs the screenshot rule.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinished(@NotNull org.junit.runner.Description description)BambooWebDriverScreenshotRuleperiodicalScreenshots(@NotNull Duration interval)Returns a new instance of this rule, which will take periodical screenshots during test execution.protected voidstarting(@NotNull org.junit.runner.Description description)
-
-
-
Constructor Detail
-
BambooWebDriverScreenshotRule
public BambooWebDriverScreenshotRule(@NotNull @NotNull BambooTestedProduct product)Constructs the screenshot rule.
-
-
Method Detail
-
periodicalScreenshots
public BambooWebDriverScreenshotRule periodicalScreenshots(@NotNull @NotNull Duration interval)
Returns a new instance of this rule, which will take periodical screenshots during test execution.
-
starting
protected void starting(@NotNull @NotNull org.junit.runner.Description description)- Overrides:
startingin classcom.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
-
finished
protected void finished(@NotNull @NotNull org.junit.runner.Description description)- Overrides:
finishedin classorg.junit.rules.TestWatcher
-
-