|
||||||||||
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.web.WebExpandableElement
com.ibm.team.fvt.tests.clm.pages.ClmMiniDashboard
public class ClmMiniDashboard
Class to handle Mini-Dashboard web element.
This class overrides the following default expandable element behavior:
collapse()
: Collapse the mini-dashboard.expand()
: Expand the mini-dashboard.pin(boolean)
: Pin or unpin the mini-dashboard.It also provide following features:
getViewletElement(String, Class)
: Return the viewlet web element
matching the given title.getViewletElements()
: Return all the viewlet web elements displayed
in the current project dashboard page.
Constructor Summary | |
---|---|
ClmMiniDashboard(com.ibm.team.fvt.tests.web.WebPage page)
|
Method Summary | ||
---|---|---|
void |
collapse()
Collapse the mini-dashboard. |
|
void |
expand()
Expand the mini-dashboard. |
|
|
getViewletElement(java.lang.String title,
java.lang.Class<V> viewletClass)
|
|
java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> |
getViewletElements()
|
|
void |
pin(boolean state)
Pin or unpin the mini-dashboard. |
Methods inherited from class com.ibm.team.fvt.tests.web.WebExpandableElement |
---|
isExpandable, isExpanded, toggle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClmMiniDashboard(com.ibm.team.fvt.tests.web.WebPage page)
Method Detail |
---|
public void collapse()
Instead of clicking on an element, collapsing the mini-dashboard is done by sending the escape key to the wrapped element.
It also waits that all are loaded before proceeding.
collapse
in class com.ibm.team.fvt.tests.web.WebExpandableElement
public void expand() throws com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
Waits that all are loaded after having proceeded.
expand
in class com.ibm.team.fvt.tests.web.WebExpandableElement
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
public <V extends ClmViewlet> V getViewletElement(java.lang.String title, java.lang.Class<V> viewletClass)
ClmProjectDashboardPageHelper.getViewletElement(String, Class)
public java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> getViewletElements()
ClmProjectDashboardPageHelper.getViewletElements()
public void pin(boolean state) throws com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
This is a no-op if the dashboard is already in the requested state.
state
- Tells whether to pin or unpin the dashboard
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |