com.ibm.team.fvt.tests.clm.pages.elements
Class CcmWorkItemCommentsView

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.clm.pages.elements.CcmWorkItemCommentsView

public class CcmWorkItemCommentsView
extends com.ibm.team.fvt.tests.web.WebElementWrapper

Class to manage comments in Work Item web page (CcmWebWorkItemPage).

Following features are accessible on this page:

Following internal features are also defined or specialized by this page:


Constructor Summary
CcmWorkItemCommentsView(com.ibm.team.fvt.tests.web.WebPage page)
           
 
Method Summary
 void collapseAll()
          Collapse all work item comments by clicking on the 'Collapse All' link.
 void expandAll()
          Expand all work item comments by clicking on the 'Collapse All' link.
 java.util.List<CcmWorkItemComment> getComments()
          Get the comments list.
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebElementWrapper
getText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CcmWorkItemCommentsView

public CcmWorkItemCommentsView(com.ibm.team.fvt.tests.web.WebPage page)
Method Detail

collapseAll

public void collapseAll()
Collapse all work item comments by clicking on the 'Collapse All' link.

If comments were already all collapsed, then nothing happens.


expandAll

public void expandAll()
Expand all work item comments by clicking on the 'Collapse All' link.

If comments were already all expanded, then nothing happens.


getComments

public java.util.List<CcmWorkItemComment> getComments()
Get the comments list.

Note that there's no change for each comment state which statys either collapsed or expanded as displayed in the web page.

Returns:
The comments list as a List of CcmWorkItemComment.