|
||||||||||
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.ClmViewlet
public abstract class ClmViewlet
Abstract class to manage viewlet displayed in CLM dashboard pages.
Following actions or functionalities are accessible at this level:
checkTestCaseRichHover(String, String)
: Check the rich hover of
the given test case found in the current viewlet.checkTestCaseRichHover(String, String, String)
: Check the rich
hover of the given test case found as a child of the given parent in the current
viewlet.checkWortkItemRichHover(String, String)
: Check the rich hover of
the given work item found in the current viewlet.checkWortkItemRichHover(String, String, String)
: Check the rich
hover of the given work item found as a child of the given parent in the current
viewlet.getTitle()
: Return the title of the hover.Following operations are also defined for the viewlet hierarchy:
getLinkElementBy(String)
: Return the mechanism to find the link
element with the given text.getResourceLinkElement(String)
: Return the link element of
the given resource.getResourceLinkElement(String, String)
: Return the link element
of the given resource as a child of the given parent if specified.
Constructor Summary | |
---|---|
ClmViewlet(com.ibm.team.fvt.tests.web.WebPage page,
com.ibm.team.fvt.tests.web.WebBrowserElement webElement)
|
Method Summary | |
---|---|
CcmDevelopmentPlanRichHover |
checkDevelopmentPlanRichHover(java.lang.String plan,
java.lang.String projectArea)
Check the rich hover of the given development plan found in the current viewlet. |
QmTestCaseRichHover |
checkTestCaseRichHover(java.lang.String testCase,
java.lang.String projectArea)
Check the rich hover of the given test case found in the current viewlet. |
QmTestCaseRichHover |
checkTestCaseRichHover(java.lang.String parent,
java.lang.String testCase,
java.lang.String projectArea)
Check the rich hover of the given test case found as a child of the given parent in the current viewlet. |
CcmWorkItemRichHover |
checkWortkItemRichHover(java.lang.String item,
java.lang.String projectArea)
Check the rich hover of the given work item found in the current viewlet. |
CcmWorkItemRichHover |
checkWortkItemRichHover(java.lang.String parent,
java.lang.String item,
java.lang.String projectArea)
Check the rich hover of the given work item found as a child of the given parent in the current viewlet. |
com.ibm.team.fvt.tests.web.WebBrowserElement |
getResourceLinkElement(java.lang.String resource)
Return the link element of the given resource. |
java.lang.String |
getTitle()
Return the viewlet title. |
void |
validate()
Validate the viewlet settings. |
void |
waitForLoadingEnd()
Wait for the viewlet content to be loaded. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClmViewlet(com.ibm.team.fvt.tests.web.WebPage page, com.ibm.team.fvt.tests.web.WebBrowserElement webElement)
Method Detail |
---|
public QmTestCaseRichHover checkTestCaseRichHover(java.lang.String testCase, java.lang.String projectArea)
This method opens the rich hover by positioning the mouse pointer over the given link element and checks it.
testCase
- The test case nameprojectArea
- The project area title of the hovered resource
WebBrowserElement
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- in following cases:
public QmTestCaseRichHover checkTestCaseRichHover(java.lang.String parent, java.lang.String testCase, java.lang.String projectArea)
This method opens the rich hover by positioning the mouse pointer over the given link element and checks it.
parent
- The parent name. If null
, then the link is
searched inside the entire viewlet otherwise it's supposed to be a parent child.testCase
- The test case nameprojectArea
- The project area title of the hovered resource
WebBrowserElement
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- in following cases:
public CcmDevelopmentPlanRichHover checkDevelopmentPlanRichHover(java.lang.String plan, java.lang.String projectArea)
This method opens the rich hover by positioning the mouse pointer over the given link element and checks it.
plan
- The development plan nameprojectArea
- The project area title of the hovered resource
WebBrowserElement
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- in following cases:
public CcmWorkItemRichHover checkWortkItemRichHover(java.lang.String item, java.lang.String projectArea)
This method opens the rich hover by positioning the mouse pointer over the given link element and checks it.
item
- The work item nameprojectArea
- The project area title of the hovered resource
WebBrowserElement
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- in following cases:
public CcmWorkItemRichHover checkWortkItemRichHover(java.lang.String parent, java.lang.String item, java.lang.String projectArea)
This method opens the rich hover by positioning the mouse pointer over the given link element and checks it.
parent
- The parent name. If null
, then the link is
searched inside the entire viewlet otherwise it's supposed to be a parent child.item
- The work item nameprojectArea
- The project area title of the hovered resource
WebBrowserElement
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- in following cases:
public com.ibm.team.fvt.tests.web.WebBrowserElement getResourceLinkElement(java.lang.String resource)
resource
- The resource name or reference.
WebBrowserElement
or null
if the resource link was not found in the viewletpublic java.lang.String getTitle()
String
public void validate()
public void waitForLoadingEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |