|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
com.ibm.team.fvt.tests.clm.pages.elements.CcmPlanIterationProgressElement
public class CcmPlanIterationProgressElement
Class to manage CCM Iteration Progress web element
This class provide the following features:
closeHover()
: Close the opened hover.getCompleted()
: Returns the completed items rate.getEstimated(boolean, boolean)
: Returns the estimated items rate.getProgressBarHover()
: Hovers over the progress bar and returns the it.getProgressPoints(boolean)
: Returns the progress done using story points.getProgressTime(boolean)
: Returns the progress done using time.Following functionalities are also defined or specialized by this page:
isShowingPoints()
: Returns whether progress is shown as points or not.
Constructor Summary | |
---|---|
CcmPlanIterationProgressElement(com.ibm.team.fvt.tests.web.WebPage page,
org.openqa.selenium.By findBy)
|
Method Summary | |
---|---|
void |
closeHover()
Close the opened hover. |
java.lang.String |
getCompleted()
Returns the completed items rate. |
java.lang.String |
getEstimated(boolean hover,
boolean points)
Returns the estimated items rate. |
CcmPlanIterationProgressBarHover |
getProgressBarHover()
Hovers over the progress bar and returns the it. |
java.lang.String |
getProgressPoints(boolean hover)
Returns the progress done using story points. |
java.lang.String |
getProgressTime(boolean hover)
Returns the progress done using time. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CcmPlanIterationProgressElement(com.ibm.team.fvt.tests.web.WebPage page, org.openqa.selenium.By findBy)
Method Detail |
---|
public void closeHover()
Nothing happens if there was no hover opened over the progress bar.
public java.lang.String getCompleted()
The returned string will have the following format:
Items completed: val out of max (percent%)
Note that this action opens the hover which will stay opened after the value
was returned. It needs to be explicitly closed using the closeHover()
method.
String
.public java.lang.String getEstimated(boolean hover, boolean points)
If hover is requested to get this value then the returned string has the following format:
Items estimated: percent%otherwise it will have the following one:
Estimated: percent%
Note that if hover is requested it stay opened after the value was returned.
It needs to be explicitly closed using the closeHover()
method.
hover
- Tells whether the hover will be used to get the value or notpoints
- Tells whether points should be used or not
String
.public CcmPlanIterationProgressBarHover getProgressBarHover()
CcmPlanIterationProgressBarHover
.public java.lang.String getProgressPoints(boolean hover)
If hover is requested to get this value then the returned string has the following format:
Story points done: val of maxotherwise it will have the following one:
Progress: val/max pts
Note that if hover is requested it stay opened after the value was returned.
It needs to be explicitly closed using the closeHover()
method.
hover
- Tells whether the hover will be used to get the value or not
String
.public java.lang.String getProgressTime(boolean hover)
If hover is requested to get this value then the returned string has the following format:
Work hours done: val of maxotherwise it will have the following one:
Progress: val/max h
Note that if hover is requested it stay opened after the value was returned.
It needs to be explicitly closed using the closeHover()
method.
hover
- Tells whether the hover will be used to get the value or not
String
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |