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
    Constructs the screenshot rule.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    finished(@NotNull org.junit.runner.Description description)
     
    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)
     

    Methods inherited from class com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule

    artifactDir, failed, takeManualScreenshotAndSource, takeManualScreenshotAndSource

    Methods inherited from class org.junit.rules.TestWatcher

    apply, skipped, skipped, succeeded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BambooWebDriverScreenshotRule

      public BambooWebDriverScreenshotRule(@NotNull @NotNull BambooTestedProduct product)
      Constructs the screenshot rule.
  • Method Details

    • 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 class com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
    • finished

      protected void finished(@NotNull @NotNull org.junit.runner.Description description)
      Overrides:
      finished in class org.junit.rules.TestWatcher