|
||||||||||
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.QmWebViewTestCasePage
public class QmWebViewTestCasePage
Manage the QM Test Case web page.
The page address is specialized by add &subAction=viewTestCase&id=id
at the end of the QmWebViewPage
.
Following actions are accessible on this page:
createQualityTask(String)
: Create a quality task for creating
a test script.createTestScript(String, String...)
: Create the given test script
with the given steps for the current test case.gotoDevelopmentItem(String)
: Go to the given work item through
the 'Development Items' section.gotoTestCaseResultPageUsingLink(String, String)
: Go to the test
case result page following the given image element.gotoTestExecutionRecord(String)
: Go to the given test case
execution record through the 'Test Case Execution Records' section.gotoTestPlanPageUsingBreadcrumb()
: Go to the given test plan
page through the breadcrumb.run(String, String)
: Run the current test case for the given
execution record of the test plan.Following functionalities are also defined or specialized by this page:
initTableViewElement()
: Initialize the table view element where
the resource links are located.lastResult(String)
: Return the last result for the given execution
record of the current test case.
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 | |
---|---|
QmWebViewTestCasePage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user)
|
|
QmWebViewTestCasePage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user,
java.lang.String... data)
|
Method Summary | |
---|---|
com.ibm.team.fvt.tests.web.WebBrowserElement |
createQualityTask(java.lang.String projectAreaTitle)
Create a quality task for creating a test script. |
QmWebViewTestScriptPage |
createTestScript(java.lang.String testScript,
java.lang.String... steps)
Create the given test script with the given steps for the current test case. |
CcmWebWorkItemPage |
gotoDevelopmentItem(java.lang.String item)
Go to the given work item through the 'Development Items' section. |
QmWebViewTestCaseResultPage |
gotoTestCaseResultPageUsingLink(java.lang.String executionRecord,
java.lang.String kind)
Go to the test case result page following the given image element. |
QmWebViewTestExecutionRecordPage |
gotoTestExecutionRecord(java.lang.String testCase)
Go to the given test case execution record through the 'Test Case Execution Records' section. |
QmWebViewTestPlanPage |
gotoTestPlanPageUsingBreadcrumb()
Go to the given test plan page through the breadcrumb. |
QmWebViewTestScriptExecutionPage |
run(java.lang.String executionRecord,
java.lang.String testPlan)
Run the current test case for the given execution record of the test plan. |
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 QmWebViewTestCasePage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user)
public QmWebViewTestCasePage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
public com.ibm.team.fvt.tests.web.WebBrowserElement createQualityTask(java.lang.String projectAreaTitle)
The current test case is saved (if necessary) after the test script creation.
Note that nothing happens if a quality task has been already created for the given test script.
projectAreaTitle
- The project area title for the given task
WebBrowserElement
.public QmWebViewTestScriptPage createTestScript(java.lang.String testScript, java.lang.String... steps)
The current test case is saved (if necessary) after the test script creation.
Note that nothing happens if the test script already exists.
testScript
- The test script name to be createdsteps
- The steps to be created
QmWebViewTestScriptPage
.public CcmWebWorkItemPage gotoDevelopmentItem(java.lang.String item)
item
- The development item name
CcmWebWorkItemPage
.public QmWebViewTestCaseResultPage gotoTestCaseResultPageUsingLink(java.lang.String executionRecord, java.lang.String kind)
If the given execution record is null
, then it will jump on the
first execution record found in the table.
executionRecord
- The execution record namekind
- The kind of the result. Current valid values are:
"not-run"
: The execution record exist but was never run"Blocked"
: The last result has the 'Blocked' statusQmWebViewTestCaseResultPage
or null
if the execution record does not exist.public QmWebViewTestExecutionRecordPage gotoTestExecutionRecord(java.lang.String testCase)
testCase
- The test case name.
QmWebViewTestExecutionRecordPage
.public QmWebViewTestPlanPage gotoTestPlanPageUsingBreadcrumb()
QmWebViewTestPlanPage
.
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- If the breadcrumb does not contain any test case
link.public QmWebViewTestScriptExecutionPage run(java.lang.String executionRecord, java.lang.String testPlan)
First search if there's an existing test case result for the given execution record and use if if it has been never run or if it is in progress.
executionRecord
- The execution record nametestPlan
- The test plan in which to run the current test case.
QmWebViewTestScriptExecutionPage
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |