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)
- Acknowledge - means you started the task and its finished - Done means that some one else started the task and its finished - Refresh - means its submitted, maybe running and not finished
desiredTaskState
- one of the aboveCopyright © 2002-2022 Atlassian. All Rights Reserved.
View cookie preferences