com.ibm.team.fvt.tests.clm.pages.hover
Class CcmWorkItemRichHover

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebPageElement
      extended by com.ibm.team.fvt.tests.web.WebElementWrapper
          extended by com.ibm.team.fvt.tests.web.WebWindow
              extended by com.ibm.team.fvt.tests.web.WebTextHover
                  extended by com.ibm.team.fvt.tests.web.WebLinkHover<P>
                      extended by com.ibm.team.fvt.tests.web.WebRichHover<P>
                          extended by com.ibm.team.fvt.tests.clm.pages.hover.ClmRichHover<CcmWebWorkItemPage>
                              extended by 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:


Constructor Summary
CcmWorkItemRichHover(com.ibm.team.fvt.tests.web.WebPage page)
           
CcmWorkItemRichHover(com.ibm.team.fvt.tests.web.WebPage page, java.lang.String... data)
           
 
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
 

Constructor Detail

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)
Method Detail

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 hover
item - The item linked to
Returns:
The number of links found as an int