|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
com.ibm.team.fvt.tests.clm.pages.elements.CcmWorkItemComment
public class CcmWorkItemComment
Class to manage a comment in Work Item web page (CcmWebWorkItemPage
).
Following features are accessible on this page:
collapse()
: Collapse the current comment.expand()
: Expand the current comment.getText()
: Return the text of the expandable element.isExpanded()
: Returns whether the current comment is expanded
or not.Following internal features are also defined or specialized by this page:
Constructor Summary | |
---|---|
CcmWorkItemComment(com.ibm.team.fvt.tests.web.WebPage page,
com.ibm.team.fvt.tests.web.WebBrowserElement element)
|
Method Summary | |
---|---|
void |
collapse()
Collapse the current comment. |
void |
expand()
Expand the current comment. |
java.lang.String |
getText()
|
boolean |
isExpanded()
Returns whether the current comment is expanded or not. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CcmWorkItemComment(com.ibm.team.fvt.tests.web.WebPage page, com.ibm.team.fvt.tests.web.WebBrowserElement element)
Method Detail |
---|
public void collapse()
If the comment is already collapsed, then nothing happens.
public void expand()
If the comment is already expanded, then nothing happens.
public java.lang.String getText()
First expand the comment to have the entire text and return the body element text.
getText
in class com.ibm.team.fvt.tests.web.WebElementWrapper
public boolean isExpanded()
true
if the comment is expanded, false>/code>
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |