|
||||||||||
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.ClmProjectAreaPageHelper
public class ClmProjectAreaPageHelper
Helper class to manage common code of any application project area page.
Constructor Summary | |
---|---|
ClmProjectAreaPageHelper(ClmWebPage page)
|
|
ClmProjectAreaPageHelper(ClmWebPageHelper pageHelper)
|
Method Summary | ||
---|---|---|
com.ibm.team.fvt.tests.web.WebRichHover<? extends com.ibm.team.fvt.tests.web.WebPage> |
checkRichHover(com.ibm.team.fvt.tests.web.WebBrowserElement linkElement,
boolean close)
Deprecated. Use checkRichHover(WebBrowserElement, String, boolean) instead. |
|
com.ibm.team.fvt.tests.web.WebRichHover<? extends com.ibm.team.fvt.tests.web.WebPage> |
checkRichHover(com.ibm.team.fvt.tests.web.WebBrowserElement linkElement,
java.lang.String projectName,
boolean close)
Check the rich hover title of the given link element. |
|
java.lang.String |
getProjectAreaName()
Return the project area name. |
|
java.lang.String |
getProjectAreaTitle()
Return the project area title. |
|
|
gotoPageUsingHover(com.ibm.team.fvt.tests.web.WebBrowserElement linkElement,
java.lang.Class<P> pageClass)
Check the rich hover title of the given link element. |
|
|
gotoPageUsingHover(com.ibm.team.fvt.tests.web.WebBrowserElement linkElement,
java.lang.String projectName,
java.lang.Class<P> pageClass)
Check the rich hover title of the given link element. |
|
void |
setProjectAreaName(java.lang.String name)
Set the project area name. |
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 ClmProjectAreaPageHelper(ClmWebPage page)
public ClmProjectAreaPageHelper(ClmWebPageHelper pageHelper)
Method Detail |
---|
@Deprecated public com.ibm.team.fvt.tests.web.WebRichHover<? extends com.ibm.team.fvt.tests.web.WebPage> checkRichHover(com.ibm.team.fvt.tests.web.WebBrowserElement linkElement, boolean close)
checkRichHover(WebBrowserElement, String, boolean)
instead.
This check opens the rich hover by positioning the mouse pointer over the given link element and checks whether its title matches the given text.
linkElement
- The link on which to hoverclose
- Tells whether to close the rich hover after having checked it
or not.
WebBrowserElement
or null
if the rich hover is closed after the check.
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- in following cases:
WebPageElement.shortTimeout()
(typically
when the hover is still empty when the timeout is reached)public com.ibm.team.fvt.tests.web.WebRichHover<? extends com.ibm.team.fvt.tests.web.WebPage> checkRichHover(com.ibm.team.fvt.tests.web.WebBrowserElement linkElement, java.lang.String projectName, boolean close)
This check opens the rich hover by positioning the mouse pointer over the given link element and checks whether its title matches the given text.
linkElement
- The link on which to hoverprojectName
- The project in which the hovered element belongs toclose
- Tells whether to close the rich hover after having checked it
or not.
WebBrowserElement
or null
if the rich hover is closed after the check.
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- in following cases:
WebPageElement.shortTimeout()
(typically
when the hover is still empty when the timeout is reached)public java.lang.String getProjectAreaName()
String
.public java.lang.String getProjectAreaTitle()
String
.public <P> P gotoPageUsingHover(com.ibm.team.fvt.tests.web.WebBrowserElement linkElement, java.lang.Class<P> pageClass)
This check opens the rich hover by positioning the mouse pointer over the given link element and checks whether its title matches the given text.
linkElement
- The link on which to hoverpageClass
- The class of the opened page
WebBrowserElement
or null
if the rich hover is closed after the check.
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- in following cases:
WebPageElement.shortTimeout()
(typically
when the hover is still empty when the timeout is reached)public <P> P gotoPageUsingHover(com.ibm.team.fvt.tests.web.WebBrowserElement linkElement, java.lang.String projectName, java.lang.Class<P> pageClass)
This check opens the rich hover by positioning the mouse pointer over the given link element and checks whether its title matches the given text.
linkElement
- The link on which to hoverprojectName
- The project in which the hovered element belongs topageClass
- The class of the opened page
WebBrowserElement
or null
if the rich hover is closed after the check.
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- in following cases:
WebPageElement.shortTimeout()
(typically
when the hover is still empty when the timeout is reached)public void setProjectAreaName(java.lang.String name)
name
- The project area name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |