com.atlassian.jira.webtest.framework.impl.selenium.form
Class SeleniumForm

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<P>
                      extended by com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumSubmittableChildPage
                          extended by com.atlassian.jira.webtest.framework.impl.selenium.form.SeleniumForm
All Implemented Interfaces:
PageObject, Submittable, ChildPage, Page, SubmittableChildPage

public class SeleniumForm
extends AbstractSeleniumSubmittableChildPage

TODO: Document this class / interface here represents a Form, mainly useful for Dirty Form Checking

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
SeleniumForm(SeleniumContext ctx, AbstractSeleniumPage parent, DirtyFormCheck.DirtyFormDescriptor descriptor)
           
 
Method Summary
 SeleniumLocator backLocator()
          Locator of a clickable component that will take the test back to the parent page.
 SeleniumLocator detector()
          Main locator of this page object.
 SeleniumLocator submitLocator()
          A clickable component locator that will submit this page
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumSubmittableChildPage
submit
 
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

SeleniumForm

public SeleniumForm(SeleniumContext ctx,
                    AbstractSeleniumPage parent,
                    DirtyFormCheck.DirtyFormDescriptor descriptor)
Method Detail

submitLocator

public SeleniumLocator submitLocator()
Description copied from class: AbstractSeleniumSubmittableChildPage
A clickable component locator that will submit this page

Specified by:
submitLocator in class AbstractSeleniumSubmittableChildPage
Returns:
locator of the submit component of this page

backLocator

public SeleniumLocator 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
Returns:
back component locator

detector

public SeleniumLocator 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


Copyright © 2002-2013 Atlassian. All Rights Reserved.