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.BywaitForFilterMenuorg.openqa.selenium.BywaitForFirstElementOfGridorg.openqa.selenium.BywaitForFirstElementOfTagGridorg.openqa.selenium.BywaitForLocationFilterorg.openqa.selenium.BywaitForRedCount -
Constructor Summary
Constructors Constructor Description FilterPage()FilterPage(java.lang.String drv) -
Method Summary
Modifier and Type Method Description voidclickOnAssetFilter()voidclickOnClearallFilter()voidclickOnDateFilter()voidclickOnFilterMenu()voidclickOnFilterOkButton()voidclickOnFirstRecordOfRecord()voidclickOnFirstRecordOfTagRecord()voidclickOnLocationFilter()voidclickOnSecondRecordOfRecord()voidclickOnTagFilter()voidclickOnUserFilter()voidsearchUser()booleanverifyCountOfGridAndStaticCountOfRed(java.lang.String count)voidverifyCountOfGridAndStatusCountOfAsset()voidverifyCountOfGridAndStatusCountOfTag()voidwaitForFilterMenu()voidwaitForFirstRecordOfFilter()voidwaitForFirstRecordOfTagFilter()voidwaitForLocationFilter()voidwaitForRedCount()Methods inherited from class com.snapfix.core.Driver
backNavigate, lauchApp, tearDownMethods 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()
-