Class CameraScreenTest

java.lang.Object
com.snapfix.tests.CameraScreenTest

public class CameraScreenTest
extends java.lang.Object
****************************************************************************************************************************************************************************************************

CameratTest Class Docs

This class contains 10 test cases for Camera Screen scenario.

Create new group with random group name and address.

Create new task with created group.

  • CreateJobWithCamera - This test contains create new task with camera and verify that created task display in task list with name.
  • CreateJobWithTextviewWithText - This test contains create new task with textview with text and verify that created task display in task list with name.
  • CreateJobWithTextviewWithDrawing - This test contains create new task with drawing and verify that created task display in task list with name.
  • CreateJobWithVideo - This test contains create new task with video and verify that created task display in task list with name.
  • EditJobImageWithBluePencil - This test contains create new task drawing with blue pencil and verify that created task display in task list with name.
  • EditJobImageWithRedPencil - This test contains create new task drawing with red pencil and verify that created task display in task list with name.
  • EditJobImageWithEraser - This test contains create new task drawing with blue pencil and erase some line of blue line and verify that created task display in task list with name.
  • EditJobImageWithTextview - This test contains create new task with camera with static Textview with text and verify that created task display in task list with name.
  • EditJobImageWithCrop - This test contains create new task with camera and crop image and verify that created task display in task list with name.
  • EditJobImageWithDrawingTextview - This test contains create new task with camera with textview text with drawing and verify that created task display in task list with name after that go to burger menu and logout.

*****************************************************************************************************************************************************************************************************

  • Constructor Details

    • CameraScreenTest

      public CameraScreenTest()
  • Method Details

    • jsonCommonData

      public void jsonCommonData()
    • setObjectValues

      public void setObjectValues()
    • LoginTest

      public void LoginTest() throws java.lang.InterruptedException
      Throws:
      java.lang.InterruptedException
    • LocationFetchMessage

      public void LocationFetchMessage() throws java.lang.InterruptedException
      Throws:
      java.lang.InterruptedException
    • CreateJobWithCamera

      public void CreateJobWithCamera() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException
      Throws:
      java.lang.InterruptedException
      java.io.IOException
      java.text.ParseException
    • CreateJobWithTextviewWithText

      public void CreateJobWithTextviewWithText() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException
      Throws:
      java.lang.InterruptedException
      java.io.IOException
      java.text.ParseException
    • CreateJobWithTextviewWithDrawing

      public void CreateJobWithTextviewWithDrawing() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException
      Throws:
      java.lang.InterruptedException
      java.io.IOException
      java.text.ParseException
    • CreateJobWithVideo

      public void CreateJobWithVideo() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException
      Throws:
      java.lang.InterruptedException
      java.io.IOException
      java.text.ParseException
    • EditJobImageWithBluePencil

      public void EditJobImageWithBluePencil() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException
      Throws:
      java.lang.InterruptedException
      java.io.IOException
      java.text.ParseException
    • EditJobImageWithRedPencil

      public void EditJobImageWithRedPencil() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException
      Throws:
      java.lang.InterruptedException
      java.io.IOException
      java.text.ParseException
    • EditJobImageWithEraser

      public void EditJobImageWithEraser() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException
      Throws:
      java.lang.InterruptedException
      java.io.IOException
      java.text.ParseException
    • EditJobImageWithTextview

      public void EditJobImageWithTextview() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException
      Throws:
      java.lang.InterruptedException
      java.io.IOException
      java.text.ParseException
    • EditJobImageWithCrop

      public void EditJobImageWithCrop() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException
      Throws:
      java.lang.InterruptedException
      java.io.IOException
      java.text.ParseException
    • EditJobImageWithDrawingTextview

      public void EditJobImageWithDrawingTextview() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException
      Throws:
      java.lang.InterruptedException
      java.io.IOException
      java.text.ParseException
    • getResponseBody

      public void getResponseBody()
    • tearDown

      @AfterSuite public void tearDown() throws java.lang.InterruptedException
      Throws:
      java.lang.InterruptedException