|
||||||||||
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.ccm.CcmWebPage
com.ibm.team.fvt.tests.clm.pages.ccm.CcmWebProjectAreaPage
com.ibm.team.fvt.tests.clm.pages.ccm.CcmWebComponentExplorerPage
public class CcmWebComponentExplorerPage
Manage a CCM explorer to view the files in a component.
Following actions are accessible on this page:
createNewSourceFile(String,String)
: Create a new source file in the current location with a given filename and content.createNewSourceFile(String)
: Create a new empty source file in the current location with the given filename.deleteFileOrFolder(String)
: Deletes a file or folder from the current location.
Following functionalities are also defined or specialized by this page:
getExpectedTitle()
: The expected title for the page.waitForTitle(boolean)
: Wait for the title to be displayed in the
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 | |
---|---|
CcmWebComponentExplorerPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user,
java.lang.String... data)
|
Method Summary | |
---|---|
void |
createNewSourceFile(java.lang.String filename)
Creates an empty text file with the given filename in the current location in the component's file structure. |
void |
createNewSourceFile(java.lang.String filename,
java.lang.String content)
Creates a text file in with the given filename and contents in the current location in the component's file structure. |
void |
deleteFileOrFolder(java.lang.String name)
Deletes the file or folder with the given name from the current location in the component's file structure. |
boolean |
exists(java.lang.String sourceFileName)
Returns whether the given source file exist in the component or not. |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ccm.CcmWebProjectAreaPage |
---|
createNewDevelopmentPlan, createNewWorkItem, createNewWorkItem, getProjectAreaName, getProjectAreaTitle, gotoDevelopmentPlanPage, gotoPlansPage, gotoQueriesPage, gotoReportsPage, gotoStreamsPage, gotoWorkItemPage, refreshContent, searchForArtifact |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ClmWebPage |
---|
checkRichHover, clickHomeMenuItem, getBannerTitle, getCcmApplication, getConfig, getDmApplication, getJtsApplication, getLpaApplication, getMiniDashboard, getQmApplication, getRmApplication, getTitle, getUser, gotoCcmProjectPage, gotoCcmProjectPage, gotoDmProjectPage, gotoDmProjectPage, gotoJtsAdminHomePage, gotoLpaAllProjectsPage, gotoQmProjectPage, gotoQmProjectPage, gotoRmProjectPage, gotoRmProjectPage, openAdminUIMenu, 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 CcmWebComponentExplorerPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
public void createNewSourceFile(java.lang.String filename)
filename
- The name of the new filepublic void createNewSourceFile(java.lang.String filename, java.lang.String content)
filename
- The name of the new filecontent
- The contents of the new filepublic void deleteFileOrFolder(java.lang.String name)
name
- The name of the item to deletepublic boolean exists(java.lang.String sourceFileName)
sourceFileName
- The source file name
true
if the source file has been found in the component
files list, false
otherwise.
TODO This is a temporary implementation which does not recurse into the
component folders.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |