com.ibm.team.fvt.tests.clm.pages.hover
Class CcmWorkItemRichHover
java.lang.Object
com.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
com.ibm.team.fvt.tests.web.WebWindow
com.ibm.team.fvt.tests.web.WebTextHover
com.ibm.team.fvt.tests.web.WebLinkHover<P>
com.ibm.team.fvt.tests.web.WebRichHover<P>
com.ibm.team.fvt.tests.clm.pages.hover.ClmRichHover<CcmWebWorkItemPage>
com.ibm.team.fvt.tests.clm.pages.hover.CcmWorkItemRichHover
public class CcmWorkItemRichHover
- extends ClmRichHover<CcmWebWorkItemPage>
Manage the rich hover over a CCM work item.
Following actions are accessible on this page:
Following operations are also defined or specialized for rich hovers:
Method Summary |
void |
check()
|
com.ibm.team.fvt.tests.web.WebBrowserElement |
checkImplementsRequirement()
Check that the rich hover has a 'Implements Requirement' link element to
the hovered link. |
int |
countLinks(java.lang.String linkType,
java.lang.String item)
Counts in the rich hover the number of links of the given type for the given
work item. |
Methods inherited from class com.ibm.team.fvt.tests.web.WebLinkHover |
clickOnTitle, getTitle, getTitleElement |
Methods inherited from class com.ibm.team.fvt.tests.web.WebTextHover |
getText, open |
Methods inherited from class com.ibm.team.fvt.tests.web.WebWindow |
cancel, close |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CcmWorkItemRichHover
public CcmWorkItemRichHover(com.ibm.team.fvt.tests.web.WebPage page)
CcmWorkItemRichHover
public CcmWorkItemRichHover(com.ibm.team.fvt.tests.web.WebPage page,
java.lang.String... data)
check
public void check()
-
Additionally, check that the rich hover has a reference to the project area.
- Overrides:
check
in class com.ibm.team.fvt.tests.web.WebLinkHover<CcmWebWorkItemPage>
checkImplementsRequirement
public com.ibm.team.fvt.tests.web.WebBrowserElement checkImplementsRequirement()
- Check that the rich hover has a 'Implements Requirement' link element to
the hovered link.
- Returns:
- The 'Implements Requirement' link element as a
WebBrowserElement
countLinks
public int countLinks(java.lang.String linkType,
java.lang.String item)
- Counts in the rich hover the number of links of the given type for the given
work item.
- Parameters:
linkType
- The link to find in the hoveritem
- The item linked to
- Returns:
- The number of links found as an
int