Class CameraPage

java.lang.Object

public class CameraPage
extends Driver
  • Field Details

    • cameraButton

      public org.openqa.selenium.By cameraButton
    • textButton

      public org.openqa.selenium.By textButton
    • videoButton

      public org.openqa.selenium.By videoButton
    • galleryButton

      public org.openqa.selenium.By galleryButton
    • captureButton

      public org.openqa.selenium.By captureButton
    • flashToggleButton

      public org.openqa.selenium.By flashToggleButton
    • cameraFlipButton

      public org.openqa.selenium.By cameraFlipButton
    • closeButton

      public org.openqa.selenium.By closeButton
    • cameraView

      public org.openqa.selenium.By cameraView
    • backButtonElement

      public org.openqa.selenium.By backButtonElement
  • Constructor Details

    • CameraPage

      public CameraPage()
    • CameraPage

      public CameraPage​(java.lang.String drv)
  • Method Details

    • clickOnCamera

      public void clickOnCamera() throws java.lang.InterruptedException
      This method is use for click on camera option.
      Throws:
      java.lang.InterruptedException
    • clickOnVideo

      public void clickOnVideo() throws java.lang.InterruptedException
      This method is use for click on video option.
      Throws:
      java.lang.InterruptedException
    • clickOnGallery

      public void clickOnGallery() throws java.lang.InterruptedException
      This method is use for click on Gallery option.
      Throws:
      java.lang.InterruptedException
    • clickOnText

      public void clickOnText() throws java.lang.InterruptedException
      This method is use for click on text/drawing option.
      Throws:
      java.lang.InterruptedException
    • clickOnCapture

      public void clickOnCapture() throws java.lang.InterruptedException
      This method is use for click on capture floating button.
      Throws:
      java.lang.InterruptedException
    • clickOnFlashToggle

      public void clickOnFlashToggle() throws java.lang.InterruptedException
      This method is use for click on flash icons for change mode of flash.
      Throws:
      java.lang.InterruptedException
    • clickOnFlipCamera

      public void clickOnFlipCamera() throws java.lang.InterruptedException
      This method is use for click on flip camera option.
      Throws:
      java.lang.InterruptedException
    • clickCloseCamera

      public void clickCloseCamera() throws java.lang.InterruptedException
      This method is use for close camera screen.
      Throws:
      java.lang.InterruptedException
    • clickOnAllowPermissionButton

      public void clickOnAllowPermissionButton() throws java.lang.InterruptedException
      This method is use for click on allow permission button.
      Throws:
      java.lang.InterruptedException
    • clickOnDrawingEditIcon

      public void clickOnDrawingEditIcon() throws java.lang.InterruptedException
      Throws:
      java.lang.InterruptedException
    • waitForCameraScreen

      public void waitForCameraScreen() throws java.lang.InterruptedException
      This method is use to wait for camera screen
      Throws:
      java.lang.InterruptedException
    • checkSketchScreenElement

      public boolean checkSketchScreenElement()
      This method is use for check is sketch screen present or not
    • isDisplayProfileImage

      public void isDisplayProfileImage()
      Assert test case after click on text option sketch display
    • checkImageEditScreenElement

      public boolean checkImageEditScreenElement()
      This method is use for check is sketch screen present or not
    • isBluePencil

      public void isBluePencil()
      Assert test case after click on capture button image edit screen
    • isJobCreatedWithCamera

      public boolean isJobCreatedWithCamera()
    • isJobCreatedWithTextview

      public boolean isJobCreatedWithTextview()
    • isJobCreatedWithDrawing

      public boolean isJobCreatedWithDrawing()
    • isJobCreatedWithVideo

      public boolean isJobCreatedWithVideo()
    • isJobEditImageWithTextline

      public boolean isJobEditImageWithTextline()
    • waitForCameraIconWithTextview

      public void waitForCameraIconWithTextview() throws java.lang.InterruptedException
      Throws:
      java.lang.InterruptedException
    • waitForVideoIconWithTextview

      public void waitForVideoIconWithTextview() throws java.lang.InterruptedException
      Throws:
      java.lang.InterruptedException
    • waitForBackIcon

      public void waitForBackIcon() throws java.lang.InterruptedException
      Throws:
      java.lang.InterruptedException
    • drawLine

      public void drawLine()
    • drawLineEraser

      public void drawLineEraser()