com.atlassian.webdriver.rule
Class TestWebDriverScreenshotRule

java.lang.Object
  extended by com.atlassian.webdriver.rule.TestWebDriverScreenshotRule

public class TestWebDriverScreenshotRule
extends Object

Test case for WebDriverScreenshotRule.

Since:
2.1

Field Summary
 org.junit.rules.TemporaryFolder temporaryFolder
           
 
Constructor Summary
TestWebDriverScreenshotRule()
           
 
Method Summary
 void initWebDriver()
           
 void shouldNotOverrideScreenshotAndPageDump()
           
 void shouldNotTakeScreenshotIfNotFailed()
           
 void shouldTakeScreenshotAndPageDump()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

temporaryFolder

public org.junit.rules.TemporaryFolder temporaryFolder
Constructor Detail

TestWebDriverScreenshotRule

public TestWebDriverScreenshotRule()
Method Detail

initWebDriver

public void initWebDriver()

shouldTakeScreenshotAndPageDump

public void shouldTakeScreenshotAndPageDump()
                                     throws Throwable
Throws:
Throwable

shouldNotOverrideScreenshotAndPageDump

public void shouldNotOverrideScreenshotAndPageDump()
                                            throws Throwable
Throws:
Throwable

shouldNotTakeScreenshotIfNotFailed

public void shouldNotTakeScreenshotIfNotFailed()
                                        throws Throwable
Throws:
Throwable


Copyright © 2014 Atlassian. All rights reserved.