Package com.snapfix.pages
Class FilterPage
java.lang.Object
com.snapfix.core.BaseSetup
com.snapfix.core.Driver
com.snapfix.pages.FilterPage
public class FilterPage extends Driver
-
Field Summary
Fields Modifier and Type Field Description org.openqa.selenium.By
waitForFilterMenu
org.openqa.selenium.By
waitForFirstElementOfGrid
org.openqa.selenium.By
waitForFirstElementOfTagGrid
org.openqa.selenium.By
waitForLocationFilter
org.openqa.selenium.By
waitForRedCount
-
Constructor Summary
Constructors Constructor Description FilterPage()
FilterPage(java.lang.String drv)
-
Method Summary
Modifier and Type Method Description void
clickOnAssetFilter()
void
clickOnClearallFilter()
void
clickOnDateFilter()
void
clickOnFilterMenu()
void
clickOnFilterOkButton()
void
clickOnFirstRecordOfRecord()
void
clickOnFirstRecordOfTagRecord()
void
clickOnLocationFilter()
void
clickOnSecondRecordOfRecord()
void
clickOnTagFilter()
void
clickOnUserFilter()
void
searchUser()
boolean
verifyCountOfGridAndStaticCountOfRed(java.lang.String count)
void
verifyCountOfGridAndStatusCountOfAsset()
void
verifyCountOfGridAndStatusCountOfTag()
void
waitForFilterMenu()
void
waitForFirstRecordOfFilter()
void
waitForFirstRecordOfTagFilter()
void
waitForLocationFilter()
void
waitForRedCount()
Methods inherited from class com.snapfix.core.Driver
backNavigate, lauchApp, tearDown
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
waitForFilterMenu
public org.openqa.selenium.By waitForFilterMenu -
waitForLocationFilter
public org.openqa.selenium.By waitForLocationFilter -
waitForFirstElementOfGrid
public org.openqa.selenium.By waitForFirstElementOfGrid -
waitForFirstElementOfTagGrid
public org.openqa.selenium.By waitForFirstElementOfTagGrid -
waitForRedCount
public org.openqa.selenium.By waitForRedCount
-
-
Constructor Details
-
FilterPage
public FilterPage() -
FilterPage
public FilterPage(java.lang.String drv)
-
-
Method Details
-
waitForFilterMenu
public void waitForFilterMenu() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForRedCount
public void waitForRedCount() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForLocationFilter
public void waitForLocationFilter() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForFirstRecordOfFilter
public void waitForFirstRecordOfFilter() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForFirstRecordOfTagFilter
public void waitForFirstRecordOfTagFilter() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnFirstRecordOfTagRecord
public void clickOnFirstRecordOfTagRecord() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnClearallFilter
public void clickOnClearallFilter() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnFirstRecordOfRecord
public void clickOnFirstRecordOfRecord() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondRecordOfRecord
public void clickOnSecondRecordOfRecord() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnFilterMenu
public void clickOnFilterMenu() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnLocationFilter
public void clickOnLocationFilter() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnAssetFilter
public void clickOnAssetFilter() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnUserFilter
public void clickOnUserFilter() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnTagFilter
public void clickOnTagFilter() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnDateFilter
public void clickOnDateFilter() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnFilterOkButton
public void clickOnFilterOkButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
searchUser
public void searchUser() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
verifyCountOfGridAndStaticCountOfRed
public boolean verifyCountOfGridAndStaticCountOfRed(java.lang.String count) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
verifyCountOfGridAndStatusCountOfAsset
public void verifyCountOfGridAndStatusCountOfAsset() -
verifyCountOfGridAndStatusCountOfTag
public void verifyCountOfGridAndStatusCountOfTag()
-