com.ibm.team.fvt.tests.clm.pages.dialogs.qm
Class QmCreateProjectDialog

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebPageElement
      extended by com.ibm.team.fvt.tests.web.WebElementWrapper
          extended by com.ibm.team.fvt.tests.web.WebWindow
              extended by com.ibm.team.fvt.tests.web.WebDialog
                  extended by com.ibm.team.fvt.tests.clm.pages.dialogs.ClmWebPageDialog
                      extended by com.ibm.team.fvt.tests.clm.pages.dialogs.ClmWebPageDefaultDialog
                          extended by com.ibm.team.fvt.tests.clm.pages.dialogs.qm.QmCreateProjectDialog

public class QmCreateProjectDialog
extends ClmWebPageDefaultDialog


Constructor Summary
QmCreateProjectDialog(ClmWebPage page)
           
 
Method Summary
 void createProject(java.lang.String projectName, java.lang.String projectDescription, java.lang.String template)
          Creates a project from the Create Project Dialog
 com.ibm.team.fvt.tests.web.WebBrowserElement getTemplateLocation(java.lang.String tname)
          Gets the location of the template you are trying to select
 java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> getTemplates()
          Fetches the template elements
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebDialog
open
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebWindow
cancel, close
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QmCreateProjectDialog

public QmCreateProjectDialog(ClmWebPage page)
Method Detail

createProject

public void createProject(java.lang.String projectName,
                          java.lang.String projectDescription,
                          java.lang.String template)
Creates a project from the Create Project Dialog

Parameters:
projectName - The name of the project
projectDescription - The description of the project
template - The template used for the project TODO Use in QmWebAllProjectsPage

getTemplateLocation

public com.ibm.team.fvt.tests.web.WebBrowserElement getTemplateLocation(java.lang.String tname)
Gets the location of the template you are trying to select

Parameters:
tname - The template you are trying to locate
Returns:
Returns a WebBrowserElement that you can select for input

getTemplates

public java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> getTemplates()
Fetches the template elements

Returns:
Returns a list of elements where the template information is