com.atlassian.jira.pageobjects.components.menu
Class JiraAuiDropdownMenu

java.lang.Object
  extended by com.atlassian.jira.pageobjects.components.menu.JiraAuiDropdownMenu
Direct Known Subclasses:
IssueActionsMenu, IssuesMenu, MoreActionsMenu

public class JiraAuiDropdownMenu
extends Object

The JIRA version of the AUI dropdown. https://extranet.atlassian.com/x/VocUc

Since:
v5.0

Field Summary
protected  com.atlassian.pageobjects.elements.PageElementFinder finder
           
protected  com.atlassian.pageobjects.PageBinder pageBinder
           
protected  com.atlassian.pageobjects.elements.PageElement triggerElement
           
 
Constructor Summary
JiraAuiDropdownMenu(org.openqa.selenium.By triggerLocator, org.openqa.selenium.By dropdownLocator)
           
 
Method Summary
 JiraAuiDropdownMenu close()
          Closes dropdown by clicking trigger element again (toggling state)
protected  com.atlassian.pageobjects.elements.PageElement getDropdown()
          Gets dropdown page element
 void initialize()
           
 boolean isOpen()
          Is the dialog open
 JiraAuiDropdownMenu open()
          Opens dropdown by clicking on trigger element
 void waitUntilClose()
           
 void waitUntilOpen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

finder

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

pageBinder

@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder

triggerElement

protected com.atlassian.pageobjects.elements.PageElement triggerElement
Constructor Detail

JiraAuiDropdownMenu

public JiraAuiDropdownMenu(org.openqa.selenium.By triggerLocator,
                           org.openqa.selenium.By dropdownLocator)
Parameters:
triggerLocator - The locator to the trigger element
dropdownLocator - The locator to the dropdown element
Method Detail

initialize

public void initialize()

open

public JiraAuiDropdownMenu open()
Opens dropdown by clicking on trigger element


isOpen

public boolean isOpen()
Is the dialog open


getDropdown

protected com.atlassian.pageobjects.elements.PageElement getDropdown()
Gets dropdown page element


close

public JiraAuiDropdownMenu close()
Closes dropdown by clicking trigger element again (toggling state)


waitUntilOpen

public void waitUntilOpen()

waitUntilClose

public void waitUntilClose()


Copyright © 2002-2012 Atlassian. All Rights Reserved.