|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GUICondition
Extends the Condition
interface providing
GUI related features.
Method Summary | |
---|---|
boolean |
containsLabels(String elementType,
String elementName,
GUIElementLocator locator,
String... labels)
Determines if the speficied element contains the given labels (and possibly more). |
boolean |
equalsLabels(String elementType,
String elementName,
GUIElementLocator locator,
String... labels)
Determines if the speficied element contains the given labels (and only these), in the same order as specified. |
boolean |
isElementChecked(String elementType,
String elementName,
GUIElementLocator locator)
Determines if the specified element is checked. |
boolean |
isElementEditable(String elementType,
String elementName,
GUIElementLocator locator)
Determines whether the specified input element is editable, i.e. is not disabled and would accept user text input. |
boolean |
isElementEditable(String elementType,
String elementName,
GUIElementLocator locator,
long timeout)
Determines whether the specified input element is editable within the given timeout, i.e. is not disabled and would accept user text input. |
boolean |
isElementEnabled(String elementType,
String elementName,
GUIElementLocator locator)
Determines whether the specified input element is enabled, ie hasn't been disabled. |
boolean |
isElementEnabled(String elementType,
String elementName,
GUIElementLocator locator,
long timeout)
Determines whether the specified input element is enabled in the over given timeout, ie hasn't been disabled. |
boolean |
isElementNotPresent(String elementType,
String elementName,
GUIElementLocator locator)
Determines that the specified element is not on the page |
boolean |
isElementNotPresent(String elementType,
String elementName,
GUIElementLocator locator,
long timeout)
Determines that the specified element is not on the page within timeout |
boolean |
isElementPresent(String elementType,
String elementName,
GUIElementLocator locator)
Determines that the specified element is somewhere on the page in a given timeout |
boolean |
isElementPresent(String elementType,
String elementName,
GUIElementLocator locator,
long timeout)
Determines that the specified element is somewhere on the page in a given timeout |
boolean |
isElementPresentandInForeground(String elementType,
String elementName,
GUIElementLocator locator)
Determines that the specified element is somewhere on the page and in foreground |
boolean |
isElementVisible(String elementType,
String elementName,
GUIElementLocator locator)
Determines if the specified element is visible. |
boolean |
isElementVisible(String elementType,
String elementName,
GUIElementLocator locator,
long timeout)
Determines if the specified element is visible within timeout |
boolean |
isWindowOpen(String elementType,
String elementName,
WindowLocator locator)
Determines if a specified window is open |
Methods inherited from interface org.aludratest.service.Action |
---|
createAttachments, createDebugAttachments, setSystemConnector |
Method Detail |
---|
boolean isElementPresent(String elementType, String elementName, GUIElementLocator locator)
boolean isElementVisible(String elementType, String elementName, GUIElementLocator locator)
boolean isElementEnabled(String elementType, String elementName, GUIElementLocator locator)
boolean isElementEditable(String elementType, String elementName, GUIElementLocator locator)
elementType
- Type of the element, depending on the implementation.elementName
- Name of the element.locator
- Locator of the element.
true
if the element is editable, false
otherwise.boolean isElementEditable(String elementType, String elementName, GUIElementLocator locator, long timeout)
elementType
- Type of the element, depending on the implementation.elementName
- Name of the element.locator
- Locator of the element.timeout
- Timeout to use.
true
if the element is editable, false
otherwise.boolean isElementNotPresent(String elementType, String elementName, GUIElementLocator locator)
boolean isElementPresent(String elementType, String elementName, GUIElementLocator locator, long timeout)
boolean isElementVisible(String elementType, String elementName, GUIElementLocator locator, long timeout)
boolean isElementEnabled(String elementType, String elementName, GUIElementLocator locator, long timeout)
boolean isElementNotPresent(String elementType, String elementName, GUIElementLocator locator, long timeout)
boolean isWindowOpen(String elementType, String elementName, WindowLocator locator)
boolean isElementPresentandInForeground(String elementType, String elementName, GUIElementLocator locator)
boolean isElementChecked(String elementType, String elementName, GUIElementLocator locator)
elementType
- Type of the element.elementName
- Name of the element.locator
- Locator of the element.
true
if the element is checked, false
otherwise.boolean containsLabels(String elementType, String elementName, GUIElementLocator locator, String... labels)
elementType
- Type of the element.elementName
- Name of the element.locator
- Locator of the element.labels
- Labels which are expected in the element.
true
if the labels were found in the element, false
otherwise.boolean equalsLabels(String elementType, String elementName, GUIElementLocator locator, String... labels)
elementType
- Type of the element.elementName
- Name of the element.locator
- Locator of the element.labels
- Labels which are expected in the element.
true
if the labels equal all labels found in the element, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |