Package com.snapfix.tests
Class CameraScreenTest
java.lang.Object
com.snapfix.tests.CameraScreenTest
public class CameraScreenTest
extends java.lang.Object
****************************************************************************************************************************************************************************************************
This class contains 10 test cases for Camera Screen scenario.
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.
*****************************************************************************************************************************************************************************************************
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.
*****************************************************************************************************************************************************************************************************
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.
*****************************************************************************************************************************************************************************************************
- 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 Summary
Constructors Constructor Description CameraScreenTest() -
Method Summary
Modifier and Type Method Description voidCreateJobWithCamera()voidCreateJobWithTextviewWithDrawing()voidCreateJobWithTextviewWithText()voidCreateJobWithVideo()voidEditJobImageWithBluePencil()voidEditJobImageWithCrop()voidEditJobImageWithDrawingTextview()voidEditJobImageWithEraser()voidEditJobImageWithRedPencil()voidEditJobImageWithTextview()voidgetResponseBody()voidjsonCommonData()voidLocationFetchMessage()voidLoginTest()voidsetObjectValues()voidtearDown()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
CreateJobWithTextviewWithText
public void CreateJobWithTextviewWithText() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
CreateJobWithTextviewWithDrawing
public void CreateJobWithTextviewWithDrawing() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
CreateJobWithVideo
public void CreateJobWithVideo() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
EditJobImageWithBluePencil
public void EditJobImageWithBluePencil() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
EditJobImageWithRedPencil
public void EditJobImageWithRedPencil() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
EditJobImageWithEraser
public void EditJobImageWithEraser() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
EditJobImageWithTextview
public void EditJobImageWithTextview() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
EditJobImageWithCrop
public void EditJobImageWithCrop() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
EditJobImageWithDrawingTextview
public void EditJobImageWithDrawingTextview() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
getResponseBody
public void getResponseBody() -
tearDown
@AfterSuite public void tearDown() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-