|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.web.WebPage
com.ibm.team.fvt.tests.clm.pages.ClmWebPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewSectionsPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewTestCaseResultPage
public class QmWebViewTestCaseResultPage
Manage a QM test case result web page.
The page address is specialized by add &subAction=viewResult&id=id
at the end of the QmWebViewPage
.
Following actions are accessible on this page:
gotoWorkItemPageUsingHover(String)
: Goto the given work item
page using the hover of the link displayed in the current page.setDefectState(String, boolean)
: Set the given work item state
in the current result.Following functionalities are also defined or specialized by this page:
getTitleElementBy()
: Return the search mechanism to find
the page title.initTableViewElement()
: Initialize the table view element where
the resource links are located.
Field Summary |
---|
Fields inherited from class com.ibm.team.fvt.tests.web.WebPage |
---|
NO_DATA |
Fields inherited from interface com.ibm.team.fvt.tests.clm.pages.ClmWebPageConstants |
---|
ADMINISTRATION_HOME_MENU_GROUP, JAZZ_TEAM_SERVER_HOME_MENU_ITEM, LIFECYCLE_PROJECT_ADMIN_MENU_ITEM, USER_NOT_AUTHORIZED_MESSAGE_ID, USER_NOT_AUTHORIZED_MESSAGE_LOCATOR |
Constructor Summary | |
---|---|
QmWebViewTestCaseResultPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user,
java.lang.String... data)
|
Method Summary | |
---|---|
CcmWebWorkItemPage |
gotoWorkItemPageUsingHover(java.lang.String item)
Goto the given work item page using the hover of the link displayed in the current page. |
void |
setDefectState(java.lang.String workItemTitle,
boolean blocking)
Set the given work item state in the current result. |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewSectionsPage |
---|
selectSection |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewPage |
---|
getResourceID, getResourceName, getTitle |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage |
---|
getProjectAreaName, getProjectAreaTitle, gotoReportsPage, gotoTestCasePage, gotoTestCaseResultPage, gotoTestPlanPage |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebPage |
---|
openActiveProjectAreasPage, openAdminUIMenu |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ClmWebPage |
---|
checkRichHover, clickHomeMenuItem, getBannerTitle, getCcmApplication, getConfig, getDmApplication, getJtsApplication, getLpaApplication, getMiniDashboard, getQmApplication, getRmApplication, getUser, gotoCcmProjectPage, gotoCcmProjectPage, gotoDmProjectPage, gotoDmProjectPage, gotoJtsAdminHomePage, gotoLpaAllProjectsPage, gotoQmProjectPage, gotoQmProjectPage, gotoRmProjectPage, gotoRmProjectPage, logout, openHelpMenu, openHomeMenu, openMenu, openMenu, openToolbarMenu, openUserProfileMenu, refresh, save, waitWhileBusy |
Methods inherited from class com.ibm.team.fvt.tests.web.WebPage |
---|
changeUser, checkHoverTitle, checkRichHover, get, getBrowser, getLocation, getPage, getPage, getPageUsingBrowser, goBack, openPage, openPage, openPageUsingBrowser, openPageUsingHoverTitle, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, richHoverOverLink, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QmWebViewTestCaseResultPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
public CcmWebWorkItemPage gotoWorkItemPageUsingHover(java.lang.String item)
Note that this test the hover as we jump to the page through it's title link
(see WebLinkHover.clickOnTitle()
).
item
- The work item name to find the link in the current page.
If null
, then the jump will occur on the first found item.
CcmWebWorkItemPage
.
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- If the item is not found or if no item is found
when no work item is specified.public void setDefectState(java.lang.String workItemTitle, boolean blocking)
Nothing happens if the defect is already in the expected state.
workItemTitle
- The work item title to set as blockingblocking
- Set the defect as blocking if true
, unset
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |