Package com.snapfix.pages
Class WalkThroughPage
java.lang.Object
com.snapfix.core.BaseSetup
com.snapfix.core.Driver
com.snapfix.pages.WalkThroughPage
public class WalkThroughPage extends Driver
-
Field Summary
Fields Modifier and Type Field Description org.openqa.selenium.support.ui.WebDriverWait
wait
org.openqa.selenium.By
walkthroughScreen
-
Constructor Summary
Constructors Constructor Description WalkThroughPage()
WalkThroughPage(java.lang.String drv)
-
Method Summary
Modifier and Type Method Description boolean
checkRedButtonExist()
void
ClickOnAmberNextButton()
void
ClickOnGreenContinueButton()
void
ClickOnGreenNextButton()
void
ClickOnRedNextButton()
void
isDisplayElement()
void
waitForWalkthroughtScreen()
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
-
walkthroughScreen
public org.openqa.selenium.By walkthroughScreen -
wait
public org.openqa.selenium.support.ui.WebDriverWait wait
-
-
Constructor Details
-
WalkThroughPage
public WalkThroughPage() -
WalkThroughPage
public WalkThroughPage(java.lang.String drv)
-
-
Method Details
-
ClickOnRedNextButton
public void ClickOnRedNextButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
ClickOnAmberNextButton
public void ClickOnAmberNextButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
ClickOnGreenNextButton
public void ClickOnGreenNextButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
ClickOnGreenContinueButton
public void ClickOnGreenContinueButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
checkRedButtonExist
public boolean checkRedButtonExist() -
isDisplayElement
public void isDisplayElement() -
waitForWalkthroughtScreen
public void waitForWalkthroughtScreen() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-