Class LoginPage

java.lang.Object

public class LoginPage
extends Driver
  • 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