|
||||||||||
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.clm.pages.helper.ClmWebPageHelper
com.ibm.team.fvt.tests.clm.pages.helper.ClmWebAllProjectsPageHelper
public class ClmWebAllProjectsPageHelper
Helper class to manage common code of any application's all projects page.
Constructor Summary | |
---|---|
ClmWebAllProjectsPageHelper(ClmWebPage page,
java.lang.String[] projectsTabs)
|
|
ClmWebAllProjectsPageHelper(ClmWebPage page,
java.lang.String[] projectsTabs,
org.openqa.selenium.By... locators)
|
Method Summary | ||
---|---|---|
com.ibm.team.fvt.tests.web.WebBrowserElement |
getProjectElement(java.lang.String projectName,
boolean link)
Return the web element for the given project. |
|
com.ibm.team.fvt.tests.web.WebBrowserElement |
getProjectElement(java.lang.String projectName,
java.lang.String tabName,
boolean link)
Return the project link element for the given project in the given tab. |
|
java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> |
getProjectElements()
Return the list of project web elements displayed in the page. |
|
|
gotoProjectDashboardPage(java.lang.String projectName,
java.lang.Class<P> pageClass,
java.lang.String... info)
Go to the given dashboard page for the given project. |
|
void |
waitForLoadingPageEnd()
Wait until the projects list is loading. |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.helper.ClmWebPageHelper |
---|
isProjectDashboardPageHelper |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClmWebAllProjectsPageHelper(ClmWebPage page, java.lang.String[] projectsTabs)
public ClmWebAllProjectsPageHelper(ClmWebPage page, java.lang.String[] projectsTabs, org.openqa.selenium.By... locators)
Method Detail |
---|
public java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> getProjectElements()
List
of WebBrowserElement
.public com.ibm.team.fvt.tests.web.WebBrowserElement getProjectElement(java.lang.String projectName, boolean link)
The returned web element will be either the entire projectsListItem
class allowing to find children or only the link element to allow to click on it
and jump to the lifecycle project web page.
The project will be searched in all page's tabs.
projectName
- The project namelink
- Tell whether to return the simple link to project web page or the
WebBrowserElement
or null
if none was found.public com.ibm.team.fvt.tests.web.WebBrowserElement getProjectElement(java.lang.String projectName, java.lang.String tabName, boolean link)
The returned web element will contain the entire projectsListItem
class allowing to find children or only the link element to allow to click on it
and jump to the lifecycle project web page.
projectName
- The project nametabName
- The tab name where to find the projectlink
- Tell whether to return the simple link to project web page or the
entire web element.
WebBrowserElement
or null
if none was found.public <P extends ClmWebPage> P gotoProjectDashboardPage(java.lang.String projectName, java.lang.Class<P> pageClass, java.lang.String... info)
projectName
- The project namepageClass
- The class of the opened web pageinfo
- Additional info to pass to the project dashboard page
public void waitForLoadingPageEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |