com.atlassian.jira.functest.framework.util
Class AsynchronousTasks
java.lang.Object
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
com.atlassian.jira.functest.framework.util.AsynchronousTasks
- All Implemented Interfaces:
- FuncTestLogger
public class AsynchronousTasks
- extends AbstractFuncTestUtil
Common methods for navigation of pages that display the progress of an asynchronous task. i.e. Indexing, Workflow
Migration...
- Since:
- v4.3
Constructor Summary |
AsynchronousTasks(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
int logIndentLevel)
|
Method Summary |
void |
waitForSuccessfulCompletion(long sleepTime,
int retryCount,
String operationName)
Waits for an asynchronous action to complete and acknowledges the result on completion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsynchronousTasks
public AsynchronousTasks(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
int logIndentLevel)
waitForSuccessfulCompletion
public void waitForSuccessfulCompletion(long sleepTime,
int retryCount,
String operationName)
- Waits for an asynchronous action to complete and acknowledges the result on completion
- Parameters:
sleepTime
- The time to sleep before refreshing the page again and checking for the operation to
be finished.retryCount
- The number of times we will try to check for the operation to be finished.operationName
- The name of the operation that we are checking. Only used for printing messages.
Copyright © 2002-2012 Atlassian. All Rights Reserved.