com.atlassian.jira.webtest.framework.impl.selenium.page.dashboard
Class CreateNewDashboardImpl

java.lang.Object
  extended by com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
      extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
          extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
              extended by com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumPage
                  extended by com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumChildPage<Dashboard>
                      extended by com.atlassian.jira.webtest.framework.impl.selenium.page.dashboard.CreateNewDashboardImpl
All Implemented Interfaces:
PageObject, ChildPage<Dashboard>, CreateNewDashboard, Page

public class CreateNewDashboardImpl
extends AbstractSeleniumChildPage<Dashboard>
implements CreateNewDashboard

Default implementation of CreateNewDashboard.

Since:
v4.3

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumChildPage
parentPage
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
CreateNewDashboardImpl(Dashboard parent, SeleniumContext ctx)
           
 
Method Summary
protected  Locator backLocator()
          Locator of a clickable component that will take the test back to the parent page.
 CreateNewDashboard description(com.atlassian.webtest.ui.keys.KeySequence description)
          Type in dashboard description.
protected  Locator detector()
          Main locator of this page object.
 CreateNewDashboard name(com.atlassian.webtest.ui.keys.KeySequence name)
          Type in dashboard name.
 Dashboard submitAdd()
          Click on the submit button to add new Dashboard.
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumChildPage
back
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumPage
isAt
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
isReady
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
body, conditions, css, forClass, id, jQuery, locatorFor, name, queries, waitFor, xpath
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.webtest.framework.page.ChildPage
back
 
Methods inherited from interface com.atlassian.jira.webtest.framework.page.Page
isAt
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Constructor Detail

CreateNewDashboardImpl

public CreateNewDashboardImpl(Dashboard parent,
                              SeleniumContext ctx)
Method Detail

detector

protected Locator detector()
Description copied from class: AbstractLocatorBasedPageObject
Main locator of this page object. Its presence means that this object is ready to be manipulated in the test.

Specified by:
detector in class AbstractLocatorBasedPageObject
Returns:
main locator of this page object

backLocator

protected Locator backLocator()
Description copied from class: AbstractSeleniumChildPage
Locator of a clickable component that will take the test back to the parent page.

Specified by:
backLocator in class AbstractSeleniumChildPage<Dashboard>
Returns:
back component locator

name

public CreateNewDashboard name(com.atlassian.webtest.ui.keys.KeySequence name)
Description copied from interface: CreateNewDashboard
Type in dashboard name.

Specified by:
name in interface CreateNewDashboard
Parameters:
name - name of the Dashboard
Returns:
this page instance

description

public CreateNewDashboard description(com.atlassian.webtest.ui.keys.KeySequence description)
Description copied from interface: CreateNewDashboard
Type in dashboard description.

Specified by:
description in interface CreateNewDashboard
Parameters:
description - description of the Dashboard
Returns:
this page instance

submitAdd

public Dashboard submitAdd()
Description copied from interface: CreateNewDashboard
Click on the submit button to add new Dashboard.

Specified by:
submitAdd in interface CreateNewDashboard
Returns:
dashboard parent page


Copyright © 2002-2013 Atlassian. All Rights Reserved.