Class GenericTablePage
- java.lang.Object
-
- step.basic.web.selenium.keywords.helper.AbstractPageObject
-
- step.basic.web.selenium.pages.generic.GenericStepPage
-
- step.basic.web.selenium.pages.generic.GenericTablePage
-
- Direct Known Subclasses:
AdminProjectsPage
,ExecutionsPage
,GridPage
,KeywordsPage
,ParametersPage
,PlansPage
,ReportsPage
,ResourcesPage
,SchedulerPage
public abstract class GenericTablePage extends GenericStepPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GenericTablePage.Paging
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
XPATH_FILTERS
protected static java.lang.String
XPATH_INFO
protected static java.lang.String
XPATH_LOADER
protected static java.lang.String
XPATH_PAGES
protected static java.lang.String
XPATH_PAGING
protected static java.lang.String
XPATH_SORTING
-
Fields inherited from class step.basic.web.selenium.pages.generic.GenericStepPage
DEFAULT_TIMEOUT, wait
-
Fields inherited from class step.basic.web.selenium.keywords.helper.AbstractPageObject
driver
-
-
Constructor Summary
Constructors Constructor Description GenericTablePage(org.openqa.selenium.WebDriver driver)
GenericTablePage(org.openqa.selenium.WebDriver driver, java.lang.String username)
GenericTablePage(GenericStepPage page)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
changePaging(GenericTablePage.Paging paging)
void
checkElementIsDisplayedInColumn(java.lang.String tableUid, java.lang.String columnId, java.lang.String elementName)
void
checkElementIsDisplayedInFirstColumn(java.lang.String tableUid, java.lang.String elementName)
GenericTablePage
filter(java.lang.String key, java.lang.String value)
java.lang.String
getCurrentPaging()
java.util.List<java.lang.String>
getKeylist()
java.lang.String
getRootXPath()
abstract java.lang.String
getTableName()
java.lang.String
getTotalEntries()
void
gotoNextPage(int level)
protected void
pageChecks()
void
sort(java.lang.String key)
-
Methods inherited from class step.basic.web.selenium.pages.generic.GenericStepPage
assertExecution, assertExecution, checkStepVersion, checkUsername, clickButton, createParameter, createPlainTextPlan, createPlan, createProject, createResource, createSchedulerTask, editTextField, expandSection, expendMenu, getNonEmptyTableCellsByColumn, getNonEmptyTableCellsByColumn, getTableSize, getUsername, gotoAdmin, gotoExecutions, gotoGrid, gotoKeywords, gotoMenuPage, gotoPage, gotoPage, gotoParameters, gotoPlans, gotoReports, gotoScheduler, selectProject, selectTab, setAutorefresh
-
Methods inherited from class step.basic.web.selenium.keywords.helper.AbstractPageObject
doWithoutImplicitWait, doWithoutImplicitWait, findAllBy, findAllBy, findBy, findBy, getDriver, getJSWaiter, safeClick, safeClick, safeJavascriptClick, safeJavascriptClick, safeSendKeys, safeSendKeys, safeWait, safeWait
-
-
-
-
Field Detail
-
XPATH_SORTING
protected static final java.lang.String XPATH_SORTING
- See Also:
- Constant Field Values
-
XPATH_FILTERS
protected static final java.lang.String XPATH_FILTERS
- See Also:
- Constant Field Values
-
XPATH_PAGING
protected static final java.lang.String XPATH_PAGING
- See Also:
- Constant Field Values
-
XPATH_PAGES
protected static final java.lang.String XPATH_PAGES
- See Also:
- Constant Field Values
-
XPATH_INFO
protected static final java.lang.String XPATH_INFO
- See Also:
- Constant Field Values
-
XPATH_LOADER
protected static final java.lang.String XPATH_LOADER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GenericTablePage
public GenericTablePage(GenericStepPage page)
-
GenericTablePage
public GenericTablePage(org.openqa.selenium.WebDriver driver, java.lang.String username)
-
GenericTablePage
public GenericTablePage(org.openqa.selenium.WebDriver driver)
-
-
Method Detail
-
getTableName
public abstract java.lang.String getTableName()
-
getKeylist
public java.util.List<java.lang.String> getKeylist()
-
sort
public void sort(java.lang.String key)
-
filter
public GenericTablePage filter(java.lang.String key, java.lang.String value)
-
checkElementIsDisplayedInColumn
public void checkElementIsDisplayedInColumn(java.lang.String tableUid, java.lang.String columnId, java.lang.String elementName)
-
checkElementIsDisplayedInFirstColumn
public void checkElementIsDisplayedInFirstColumn(java.lang.String tableUid, java.lang.String elementName)
-
gotoNextPage
public void gotoNextPage(int level)
-
getRootXPath
public java.lang.String getRootXPath()
-
getTotalEntries
public java.lang.String getTotalEntries()
-
getCurrentPaging
public java.lang.String getCurrentPaging()
-
changePaging
public void changePaging(GenericTablePage.Paging paging) throws java.lang.Exception
- Throws:
java.lang.Exception
-
pageChecks
protected void pageChecks()
- Overrides:
pageChecks
in classGenericStepPage
-
-