com.atlassian.jira.pageobjects.dialogs
Class JiraDialog

java.lang.Object
  extended by com.atlassian.jira.pageobjects.dialogs.JiraDialog
Direct Known Subclasses:
DeleteCommentConfirmationDialog, DeleteLinkConfirmationDialog, FormDialog, ShareDialog

public class JiraDialog
extends Object

Since:
v6.0

Field Summary
protected  com.atlassian.pageobjects.PageBinder binder
           
static String CONTENT_AREA_CLASS
           
static String CONTENT_READY_CLASS
           
static String DIALOG_CLASS
           
static String DIALOG_OPEN_CLASS
           
protected  com.atlassian.webdriver.AtlassianWebDriver driver
           
protected  ExtendedElementFinder extendedFinder
           
static String HEADING_AREA_CLASS
           
protected  String id
           
protected  com.atlassian.pageobjects.elements.PageElementFinder locator
           
protected  TimedQueryFactory queryFactory
           
protected  com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
           
 
Constructor Summary
JiraDialog()
           
JiraDialog(String id)
           
 
Method Summary
 com.atlassian.pageobjects.elements.PageElement find(org.openqa.selenium.By locator)
           
<T extends com.atlassian.pageobjects.elements.PageElement>
T
find(org.openqa.selenium.By locator, Class<T> elementClass)
           
 List<com.atlassian.pageobjects.elements.PageElement> findAll(org.openqa.selenium.By locator)
           
<T extends com.atlassian.pageobjects.elements.PageElement>
List<T>
findAll(org.openqa.selenium.By locator, Class<T> elementClass)
           
protected  com.atlassian.pageobjects.elements.PageElement getDialogElement()
           
 void initAbstractDialog()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isClosed()
          Check that the JIRA Dialog has been closed.
protected  com.atlassian.pageobjects.elements.query.TimedCondition isInDOM()
          Check if the JIRA Dialog has been added to the DOM of the page.
 com.atlassian.pageobjects.elements.query.TimedCondition isOpen()
          Check if the dialog's content has been loaded and is being displayed to the user.
 void waitUntilFinishedLoading()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeouts

@Inject
protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts

locator

@Inject
protected com.atlassian.pageobjects.elements.PageElementFinder locator

extendedFinder

@Inject
protected ExtendedElementFinder extendedFinder

queryFactory

@Inject
protected TimedQueryFactory queryFactory

driver

@Inject
protected com.atlassian.webdriver.AtlassianWebDriver driver

binder

@Inject
protected com.atlassian.pageobjects.PageBinder binder

DIALOG_CLASS

public static final String DIALOG_CLASS
See Also:
Constant Field Values

HEADING_AREA_CLASS

public static final String HEADING_AREA_CLASS
See Also:
Constant Field Values

CONTENT_AREA_CLASS

public static final String CONTENT_AREA_CLASS
See Also:
Constant Field Values

DIALOG_OPEN_CLASS

public static final String DIALOG_OPEN_CLASS
See Also:
Constant Field Values

CONTENT_READY_CLASS

public static final String CONTENT_READY_CLASS
See Also:
Constant Field Values

id

protected String id
Constructor Detail

JiraDialog

public JiraDialog(String id)

JiraDialog

public JiraDialog()
Method Detail

initAbstractDialog

public void initAbstractDialog()

isInDOM

protected com.atlassian.pageobjects.elements.query.TimedCondition isInDOM()
Check if the JIRA Dialog has been added to the DOM of the page.


isOpen

public com.atlassian.pageobjects.elements.query.TimedCondition isOpen()
Check if the dialog's content has been loaded and is being displayed to the user.


isClosed

public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isClosed()
Check that the JIRA Dialog has been closed.


getDialogElement

protected com.atlassian.pageobjects.elements.PageElement getDialogElement()

waitUntilFinishedLoading

public void waitUntilFinishedLoading()

find

public com.atlassian.pageobjects.elements.PageElement find(org.openqa.selenium.By locator)

find

public <T extends com.atlassian.pageobjects.elements.PageElement> T find(org.openqa.selenium.By locator,
                                                                         Class<T> elementClass)

findAll

public List<com.atlassian.pageobjects.elements.PageElement> findAll(org.openqa.selenium.By locator)

findAll

public <T extends com.atlassian.pageobjects.elements.PageElement> List<T> findAll(org.openqa.selenium.By locator,
                                                                                  Class<T> elementClass)


Copyright © 2002-2014 Atlassian. All Rights Reserved.