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 void
finished(@NotNull org.junit.runner.Description description)
BambooWebDriverScreenshotRule
periodicalScreenshots(@NotNull Duration interval)
Returns a new instance of this rule, which will take periodical screenshots during test execution.protected void
starting(@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:
starting
in classcom.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
-
finished
protected void finished(@NotNull @NotNull org.junit.runner.Description description)
- Overrides:
finished
in classorg.junit.rules.TestWatcher
-
-