public class EditScreenTab extends Object
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElement |
deleteTab |
protected DragAndDrop |
dragAndDrop |
protected com.atlassian.webdriver.AtlassianWebDriver |
driver |
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder |
protected ExtendedElementFinder |
extendedFinder |
protected SingleSelect |
fieldPicker |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.PageElement |
tab |
protected long |
tabId |
protected com.atlassian.pageobjects.elements.PageElement |
table |
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts |
protected TraceContext |
traceContext |
Constructor and Description |
---|
EditScreenTab(long tabId) |
Modifier and Type | Method and Description |
---|---|
EditScreenTab |
addField(String field) |
protected com.atlassian.pageobjects.elements.PageElement |
findRow(String field)
Will only work if
hasField(String) evaluates to true . |
int |
getFieldCount() |
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<String>> |
getFieldNames() |
List<String> |
getFields()
Deprecated.
use
getFieldNames() as this method is prone to return wrong results due to race
conditions. Using getFieldNames() } will enforce clients to execute timed assertions and improve
reliability of the tests |
SingleSelect |
getFieldsPicker() |
String |
getName() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasField(String field) |
void |
isAt() |
void |
moveFieldAbove(String field,
String target) |
void |
moveFieldBelow(String field,
String target) |
EditScreenTab |
removeField(String field) |
void |
removeTab() |
void |
rename(String name) |
String |
renameExpectingError(String name) |
@Inject protected com.atlassian.webdriver.AtlassianWebDriver driver
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
@Inject protected ExtendedElementFinder extendedFinder
@Inject protected TraceContext traceContext
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
@Inject protected DragAndDrop dragAndDrop
protected final long tabId
protected SingleSelect fieldPicker
protected com.atlassian.pageobjects.elements.PageElement table
protected com.atlassian.pageobjects.elements.PageElement deleteTab
protected com.atlassian.pageobjects.elements.PageElement tab
public void isAt()
public int getFieldCount()
public String getName()
@Deprecated public List<String> getFields()
getFieldNames()
as this method is prone to return wrong results due to race
conditions. Using getFieldNames()
} will enforce clients to execute timed assertions and improve
reliability of the testspublic com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<String>> getFieldNames()
public SingleSelect getFieldsPicker()
public com.atlassian.pageobjects.elements.query.TimedCondition hasField(String field)
protected com.atlassian.pageobjects.elements.PageElement findRow(String field)
hasField(String)
evaluates to true
.field
- field to find the row forpublic void rename(String name)
public EditScreenTab removeField(String field)
public EditScreenTab addField(String field)
public void removeTab()
Copyright © 2002-2015 Atlassian. All Rights Reserved.