public abstract class EntityPicker<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElement |
activeSelect |
static org.openqa.selenium.By |
ENTITY_ALL_CELLS_SELECTOR |
static org.openqa.selenium.By |
ENTITY_ROWS_SELECTOR |
protected com.atlassian.pageobjects.elements.PageElementFinder |
finder |
protected com.atlassian.pageobjects.elements.PageElement |
lastSearchTimestamp |
protected com.atlassian.pageobjects.elements.PageElement |
noResultsMessage |
static org.openqa.selenium.By |
RESULTS_SELECTOR |
protected com.atlassian.pageobjects.elements.PageElement |
resultsMessage |
protected com.atlassian.pageobjects.elements.SelectElement |
resultsPerPageSelect |
protected com.atlassian.pageobjects.elements.PageElement |
searchButton |
protected com.atlassian.pageobjects.elements.PageElement |
searchString |
protected com.atlassian.pageobjects.elements.CheckboxElement |
selectAllEntitiesCheckbox |
protected com.atlassian.pageobjects.elements.PageElement |
submitButton |
Constructor and Description |
---|
EntityPicker() |
Modifier and Type | Method and Description |
---|---|
List<T> |
getEntitiesInTable() |
T |
getEntityAtIndex(int index) |
org.openqa.selenium.By |
getLocatorForIdWithQuotes(String id) |
int |
getResultCount() |
protected com.atlassian.pageobjects.elements.PageElement |
getResultsElement() |
protected abstract T |
mapResult(List<String> element) |
void |
searchEntities() |
void |
selectAllEntities() |
void |
selectEntities(Collection<String> ids) |
void |
selectEntities(String... ids) |
void |
setSearchString(String search) |
void |
submit() |
void |
switchPageSize(ElementPickerPageSize size) |
public static final org.openqa.selenium.By ENTITY_ROWS_SELECTOR
public static final org.openqa.selenium.By ENTITY_ALL_CELLS_SELECTOR
public static final org.openqa.selenium.By RESULTS_SELECTOR
protected com.atlassian.pageobjects.elements.PageElement searchString
protected com.atlassian.pageobjects.elements.PageElement searchButton
protected com.atlassian.pageobjects.elements.PageElement activeSelect
protected com.atlassian.pageobjects.elements.SelectElement resultsPerPageSelect
protected com.atlassian.pageobjects.elements.PageElement resultsMessage
protected com.atlassian.pageobjects.elements.PageElement noResultsMessage
protected com.atlassian.pageobjects.elements.PageElement submitButton
protected com.atlassian.pageobjects.elements.CheckboxElement selectAllEntitiesCheckbox
protected com.atlassian.pageobjects.elements.PageElement lastSearchTimestamp
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder finder
public void setSearchString(String search)
public void switchPageSize(ElementPickerPageSize size)
public void searchEntities()
public int getResultCount()
public T getEntityAtIndex(int index)
public void selectEntities(String... ids)
public void selectEntities(Collection<String> ids)
public org.openqa.selenium.By getLocatorForIdWithQuotes(String id)
public void selectAllEntities()
public void submit()
protected com.atlassian.pageobjects.elements.PageElement getResultsElement()
Copyright © 2021 Atlassian. All rights reserved.
View cookie preferences