com.atlassian.jira.functest.framework.dump
Class ArtifactDumper
java.lang.Object
com.atlassian.jira.functest.framework.dump.ArtifactDumper
public class ArtifactDumper
- extends Object
The ArtifactDumper is used to generate "artifact" HTML files which show the state of a web page at the time a test
fails. If the browser is known to the
- Since:
- v3.13
Constructor Summary |
ArtifactDumper(junit.framework.TestCase testCase,
Throwable failureCause,
Date date,
com.atlassian.jira.testkit.client.log.FuncTestLogger logger)
This will dump artifact files out to a well know location |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactDumper
public ArtifactDumper(junit.framework.TestCase testCase,
Throwable failureCause,
Date date,
com.atlassian.jira.testkit.client.log.FuncTestLogger logger)
- This will dump artifact files out to a well know location
- Parameters:
testCase
- the test case in playfailureCause
- the Throwable that caused the test to faildate
- the date the event happenedlogger
- the FuncTestLogger to use
getTester
public static net.sourceforge.jwebunit.WebTester getTester(junit.framework.TestCase testCase)
getEnviromentData
public static JIRAEnvironmentData getEnviromentData(junit.framework.TestCase testCase)
getFuncTestWebClientListener
public static FuncTestWebClientListener getFuncTestWebClientListener(junit.framework.TestCase testCase)
openBrowser
public static void openBrowser(String command,
File captureFile,
com.atlassian.jira.testkit.client.log.FuncTestLogger logger)
Copyright © 2002-2013 Atlassian. All Rights Reserved.