public class ProgressBar extends Object
Constructor and Description |
---|
ProgressBar(net.sourceforge.jwebunit.WebTester tester,
Assertions assertions,
TextAssertions textAssertions,
HtmlPage htmlPage) |
Modifier and Type | Method and Description |
---|---|
long |
getSubmittedTaskId()
This method assums that you have just submitted a long running task and that you need the taskId back.
|
void |
validateProgressBarUI(String desiredTaskState)
The button name controls what to check for in terms of the progress bar UI.
|
void |
waitForTaskAcknowledgement(long taskId)
This method assumes that you have just submitted a long running task, and you know the task id of it.
|
@Inject public ProgressBar(net.sourceforge.jwebunit.WebTester tester, Assertions assertions, TextAssertions textAssertions, HtmlPage htmlPage)
public long getSubmittedTaskId()
public void waitForTaskAcknowledgement(long taskId)
taskId
- the task to wait for until it is in acknowledge statepublic void validateProgressBarUI(String desiredTaskState)
desiredTaskState
- one of the aboveCopyright © 2002-2022 Atlassian. All Rights Reserved.