com.ibm.team.fvt.tests.clm.pages.expandable
Class RmWebFolderElement
java.lang.Object
com.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
com.ibm.team.fvt.tests.web.WebFolderElement
com.ibm.team.fvt.tests.clm.pages.expandable.RmWebFolderElement
public class RmWebFolderElement
- extends com.ibm.team.fvt.tests.web.WebFolderElement
This class represents the RM folder which requires some specialized handling.
Folders are used in the 'Filter by Folder' section in the Artifacts page,
the Move Artifact dialog, the Move Folder dialog, and the
Copy Artifacts dialog.
An example of the specialized handling can be seen in the expansion mechanism, which
is spread across two elements, one which stores the state of the expansion, ie. expanded or not,
and the other is used to perform the actual expansion. Also, the element which stores the state
of the expansion, ie. 'aria-expanded' attribute, may not necessarily have that attribute if the
folder does not have any sub-folders, ie. it's a leaf.
Constructor Summary |
RmWebFolderElement(com.ibm.team.fvt.tests.web.WebPage page,
com.ibm.team.fvt.tests.web.WebBrowserElement node)
|
Methods inherited from class com.ibm.team.fvt.tests.web.WebFolderElement |
expand, getChildren, getFolder, select |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RmWebFolderElement
public RmWebFolderElement(com.ibm.team.fvt.tests.web.WebPage page,
com.ibm.team.fvt.tests.web.WebBrowserElement node)
getPencilButtonElement
public com.ibm.team.fvt.tests.web.WebBrowserElement getPencilButtonElement()
- Get the pencil button element used to open the popup menu associated with the folder.
- Returns:
- The pencil button as a
WebBrowserElement
selectFolder
public RmWebFolderElement selectFolder(java.lang.String folderPath)
-
- Overrides:
selectFolder
in class com.ibm.team.fvt.tests.web.WebFolderElement
- Returns:
- The selected sub-folder as a
RmWebFolderElement
.