com.atlassian.jira.webtest.framework.impl.selenium.component.fc
Class SeleniumLozenge
java.lang.Object
com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
com.atlassian.jira.webtest.framework.impl.selenium.core.component.AbstractSeleniumComponent<FrotherControl<?,?,?>>
com.atlassian.jira.webtest.framework.impl.selenium.component.fc.SeleniumLozenge
- All Implemented Interfaces:
- FcLozenge, Component<FrotherControl<?,?,?>>, ValueHolder, Localizable, PageObject
public class SeleniumLozenge
- extends AbstractSeleniumComponent<FrotherControl<?,?,?>>
- implements FcLozenge
Selenium implementation of FcLozenge
.
- Author:
- Dariusz Kordonski
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeleniumLozenge
public SeleniumLozenge(String label,
FrotherControl<?,?,?> parent,
SeleniumContext context)
locator
public Locator locator()
- Description copied from interface:
Localizable
- Locator unambiguously locating this page object.
- Specified by:
locator
in interface Localizable
- Returns:
- locator
detector
protected 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
value
public TimedQuery<String> value()
- Description copied from interface:
ValueHolder
- Get this component's current value
- Specified by:
value
in interface ValueHolder
- Returns:
- query for the current value of this component
isSelected
public TimedCondition isSelected()
- Description copied from interface:
FcLozenge
- Check if this lozenge is selected (focused on). This may happen via keyboard operations (backspace key).
- Specified by:
isSelected
in interface FcLozenge
- Returns:
- timed condition verifying if this lozenge is focused on
isNotSelected
public TimedCondition isNotSelected()
- Description copied from interface:
FcLozenge
- Check if this lozenge is not selected.
- Specified by:
isNotSelected
in interface FcLozenge
- Returns:
- timed condition verifying if this lozenge is not focused on
- See Also:
FcLozenge.isSelected()
removeByClick
public void removeByClick()
- Description copied from interface:
FcLozenge
- Click on the 'x' icon on the lozenge to remove it.
- Specified by:
removeByClick
in interface FcLozenge
Copyright © 2002-2013 Atlassian. All Rights Reserved.