Package com.snapfix.pages
Class LoginPage
java.lang.Object
com.snapfix.core.BaseSetup
com.snapfix.core.Driver
com.snapfix.pages.LoginPage
public class LoginPage extends Driver
-
Field Summary
Fields Modifier and Type Field Description org.openqa.selenium.By
alertMessage
org.openqa.selenium.By
loginButton
org.openqa.selenium.By
memory_exceed_message
org.openqa.selenium.By
message
org.openqa.selenium.By
myGroupText
org.openqa.selenium.By
passwordTextbox
org.openqa.selenium.By
processingBar
org.openqa.selenium.By
usernameTextbox
org.openqa.selenium.By
userProfileImage
org.openqa.selenium.By
waitForAcceptTermAndCondition
-
Constructor Summary
-
Method Summary
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
-
usernameTextbox
public org.openqa.selenium.By usernameTextbox -
passwordTextbox
public org.openqa.selenium.By passwordTextbox -
userProfileImage
public org.openqa.selenium.By userProfileImage -
alertMessage
public org.openqa.selenium.By alertMessage -
loginButton
public org.openqa.selenium.By loginButton -
processingBar
public org.openqa.selenium.By processingBar -
message
public org.openqa.selenium.By message -
memory_exceed_message
public org.openqa.selenium.By memory_exceed_message -
myGroupText
public org.openqa.selenium.By myGroupText -
waitForAcceptTermAndCondition
public org.openqa.selenium.By waitForAcceptTermAndCondition
-
-
Constructor Details
-
LoginPage
public LoginPage() -
LoginPage
public LoginPage(java.lang.String drv)
-
-
Method Details
-
checkRedButtonExist
public boolean checkRedButtonExist() throws java.lang.InterruptedException- Returns:
- Throws:
java.lang.InterruptedException
-
checkMemoryExceedMessage
public boolean checkMemoryExceedMessage() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
withoutCheckMemoryExceedMessage
public boolean withoutCheckMemoryExceedMessage() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clcikOnMemmoryExccedMessage
public void clcikOnMemmoryExccedMessage() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
checkFilePermission
public boolean checkFilePermission() -
checkFetchingLocationMessage
public boolean checkFetchingLocationMessage() -
checkGroupScreenElement
public boolean checkGroupScreenElement() -
checkPoorInternetConnectNamePresent
public boolean checkPoorInternetConnectNamePresent() -
checkProcesingBarPresent
public boolean checkProcesingBarPresent() -
checkIncorrectUserAndPasswordORPoorInternetConnection
public boolean checkIncorrectUserAndPasswordORPoorInternetConnection() -
checkProcessingBarScreenPresent
public boolean checkProcessingBarScreenPresent() -
checkMediaPhotoFilePermissionScreenPresent
public boolean checkMediaPhotoFilePermissionScreenPresent() -
checkTermAndConditionCheckbox
public boolean checkTermAndConditionCheckbox() -
checkStatusInAppMessagePresent
public boolean checkStatusInAppMessagePresent() -
checkPoorInternelConnection
public boolean checkPoorInternelConnection() -
checkOopsSomethingWrong
public boolean checkOopsSomethingWrong() -
waitForGroupScreenWaitElement
public void waitForGroupScreenWaitElement() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForAlertMessageWaitElement
public void waitForAlertMessageWaitElement() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForLoginButtonWaitElement
public void waitForLoginButtonWaitElement() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForPoorInternetConnectionElement
public void waitForPoorInternetConnectionElement() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForMyGroupText
public void waitForMyGroupText() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
getIncorrectUserCredentailMessage
public void getIncorrectUserCredentailMessage() -
getNotUsernameNoPasswordMessage
public void getNotUsernameNoPasswordMessage() -
enterValidEmailAddress
public void enterValidEmailAddress() -
getUsernameNoPasswordMessage
public void getUsernameNoPasswordMessage() -
isDisplayProfileImage
public void isDisplayProfileImage() -
isFetchingLocationMessage
public void isFetchingLocationMessage() -
internetPoorConnectionForMessage
public void internetPoorConnectionForMessage() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
incorrectUserCredencialORPoorConnection
public void incorrectUserCredencialORPoorConnection() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
LoginCheck
public void LoginCheck() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
internetPoorConnection
public void internetPoorConnection() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
fetchLocation
public void fetchLocation() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
ClickOnAllowBtn
public void ClickOnAllowBtn() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
ClickOnLocationAllowButton
public void ClickOnLocationAllowButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
ClickOnOkBtn
public void ClickOnOkBtn() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
EnterUserCredentias
public void EnterUserCredentias(java.lang.String userName, java.lang.String password) throws java.lang.Exception- Throws:
java.lang.Exception
-
EnterUserCredentias
public void EnterUserCredentias(java.lang.String userName, java.lang.String password, java.lang.String drv) throws java.lang.Exception- Throws:
java.lang.Exception
-