com.ibm.team.fvt.tests.clm.pages.expandable
Class CcmBrowseReportsExpandableElement

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.WebExpandableElement
              extended by com.ibm.team.fvt.tests.clm.pages.expandable.CcmBrowseReportsExpandableElement

public class CcmBrowseReportsExpandableElement
extends com.ibm.team.fvt.tests.web.WebExpandableElement

Class for expandable element in CCM Browse Report Resources dialog.

See Also:
CcmBrowseReportResourcesDialog

Constructor Summary
CcmBrowseReportsExpandableElement(com.ibm.team.fvt.tests.web.WebPage page, com.ibm.team.fvt.tests.web.WebBrowserElement node)
           
 
Method Summary
 java.lang.String getText()
          
 boolean isExpandable()
          
 boolean isExpanded()
          
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebExpandableElement
collapse, expand, toggle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CcmBrowseReportsExpandableElement

public CcmBrowseReportsExpandableElement(com.ibm.team.fvt.tests.web.WebPage page,
                                         com.ibm.team.fvt.tests.web.WebBrowserElement node)
Method Detail

getText

public java.lang.String getText()

The text is on the parent element.

TODO: Make the web element visible should be moved to WebBrowserElement instead of doing it only for this class...

Overrides:
getText in class com.ibm.team.fvt.tests.web.WebElementWrapper

isExpandable

public boolean isExpandable()
                     throws com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError

The element is expandable until it's a leaf.

Overrides:
isExpandable in class com.ibm.team.fvt.tests.web.WebExpandableElement
Throws:
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError

isExpanded

public boolean isExpanded()
                   throws com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError

The expansion status is got from the class attribute.

Overrides:
isExpanded in class com.ibm.team.fvt.tests.web.WebExpandableElement
Throws:
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError