|
||||||||||
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:
addLinkToRequirementUsingFolderPath(String, String)
: Add a link to an existing
requirement to this test case using Folder Path filter.addLinkToRequirementUsingSearch(String, String)
: Add a link to an existing
requirement to this test case using text Search filter.addTestScriptUsingSearch(String, String)
: Add test script to test case using search.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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage |
---|
QmWebProjectAreaPage.QmToolbarMenuLabel |
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, ETL_JOB_DATE_FORMAT, JAZZ_TEAM_SERVER_HOME_MENU_ITEM, LIFECYCLE_PROJECT_ADMIN_MENU_ITEM, LOGIN_PASSWORD_LOCATOR, LOGIN_TAGNAME_LOCATOR, LOGIN_USERID_LOCATOR, 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 |
addLinkToRequirementUsingFolderPath(java.lang.String folderPath,
java.lang.String requirement)
Add a link to an existing requirement to this test case using folder path |
com.ibm.team.fvt.tests.web.WebBrowserElement |
addLinkToRequirementUsingSearch(java.lang.String searchText,
java.lang.String requirement)
Add a link to an existing requirement to this test case using search |
com.ibm.team.fvt.tests.web.WebBrowserElement |
addTestScriptUsingSearch(java.lang.String searchText,
java.lang.String testScript)
Add an existing test script to the test case using text search |
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, setName |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage |
---|
createNewTestPlan, getProjectAreaName, getProjectAreaTitle, gotoReportsPage, gotoTestCasePage, gotoTestCasePage, gotoTestCaseResultPage, gotoTestPlanPage, gotoTestPlans, openConstructionMenu, openExecutionMenu, openPlanningMenu, openReportsMenu |
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, openHelpMenu, openHomeMenu, openMenu, openMenu, openToolbarMenu, openUserProfileMenu, save, waitForResourceLinkElement, waitWhileBusy |
Methods inherited from class com.ibm.team.fvt.tests.web.WebPage |
---|
checkHoverTitle, checkRichHover, equals, get, getBrowser, getCurrentPage, getLocation, getPage, getPage, getPageUsingBrowser, goBack, hashCode, login, login, openPage, openPage, openPageUsingBrowser, openPageUsingHoverTitle, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, refresh, richHoverOverLink, searchPageInHistory, toString |
Methods inherited from class java.lang.Object |
---|
getClass, 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 addLinkToRequirementUsingFolderPath(java.lang.String folderPath, java.lang.String requirement)
The existing requirement is found using the 'folder path' in the 'Requirements Selection Dialog'.
folderPath
- Folder path selection used in Filter Display by Folder to find requirements in the Requirements Selection Dialogrequirement
- The requirement to select (from the search results list)
public com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToRequirementUsingSearch(java.lang.String searchText, java.lang.String requirement)
The existing requirement is found using the 'Search text' field in the 'Requirements Selection Dialog'.
searchText
- Text to search for matching requirements via the text search field in the Requirements Selection Dialogrequirement
- The requirement to select (from the search results list)
public com.ibm.team.fvt.tests.web.WebBrowserElement addTestScriptUsingSearch(java.lang.String searchText, java.lang.String testScript)
searchText
- Text used (in text filter) to search for the existing test scripttestScript
- The test script to select (after the search occurs)
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 |