Package com.snapfix.tests
Class JobOrderTest
java.lang.Object
com.snapfix.tests.JobOrderTest
public class JobOrderTest
extends java.lang.Object
***********************************************************************************************************************************************************************************************************************************************
This class contains 11 test cases for Job Order scenario.
JobOrderTest Class Docs
This class contains 11 test cases for Job Order scenario.
Use static group which have already some tasks.
Create new task and in one task do all the activity which took task as first in Task listing screen.
- CreateJobOrder - This test contains create new task with camera and verify that created task display as first in task listing screen.
- SendMessageOrder - This test contains select second task from task listing screen, enter chat and verify that created task display as first in task listing screen.
- ChangeStatusOrder - This test contains select second task from task listing screen, change status and verify that created task display as first in task listing screen.
- AddTag1Order - This test contains select second task from task listing screen, add new location tag from bottom menu,select Location-->setting-->Tags and verify that created task display as first in task listing screen.
- AddTag2Order - This test contains select second task from task listing screen, add new asset tag from bottom menu, select Asset-->setting-->Tags and verify that created task display as first in task listing screen.
- AddTag3Order - This test contains select second task from task listing screen, add new tags tag from bottom menu, select Tag-->setting-->Tags and verify that created task display as first in task listing screen.
- AddUserOrder - This test contains select second task from task listing screen, add new user from bottom menu, select users-->setting-->Users and verify that created task display as first in task listing screen.
- AddNewTagOrder - This test contains select second task from task listing screen, in Task Detail screen add new checklist and verify that created task display as first in task listing screen.
- AddFlagOrder - This test contains select second task from task listing screen, set flag and verify that created task display as first in task listing screen.
- CheckedTagOrder - This test contains select second task from task listing screen ,checked checklist and verify that created task display as first in task listing screen.
- EditJobNameOrder - This test contains select second task from task listing screen, edit task name and verify that created task display as first in task listing screen after that go to burger menu and logout.
***********************************************************************************************************************************************************************************************************************************************
Use static group which have already some tasks.
Create new task and in one task do all the activity which took task as first in Task listing screen.
- CreateJobOrder - This test contains create new task with camera and verify that created task display as first in task listing screen.
- SendMessageOrder - This test contains select second task from task listing screen, enter chat and verify that created task display as first in task listing screen.
- ChangeStatusOrder - This test contains select second task from task listing screen, change status and verify that created task display as first in task listing screen.
- AddTag1Order - This test contains select second task from task listing screen, add new location tag from bottom menu,select Location-->setting-->Tags and verify that created task display as first in task listing screen.
- AddTag2Order - This test contains select second task from task listing screen, add new asset tag from bottom menu, select Asset-->setting-->Tags and verify that created task display as first in task listing screen.
- AddTag3Order - This test contains select second task from task listing screen, add new tags tag from bottom menu, select Tag-->setting-->Tags and verify that created task display as first in task listing screen.
- AddUserOrder - This test contains select second task from task listing screen, add new user from bottom menu, select users-->setting-->Users and verify that created task display as first in task listing screen.
- AddNewTagOrder - This test contains select second task from task listing screen, in Task Detail screen add new checklist and verify that created task display as first in task listing screen.
- AddFlagOrder - This test contains select second task from task listing screen, set flag and verify that created task display as first in task listing screen.
- CheckedTagOrder - This test contains select second task from task listing screen ,checked checklist and verify that created task display as first in task listing screen.
- EditJobNameOrder - This test contains select second task from task listing screen, edit task name and verify that created task display as first in task listing screen after that go to burger menu and logout.
***********************************************************************************************************************************************************************************************************************************************
Create new task and in one task do all the activity which took task as first in Task listing screen.
- CreateJobOrder - This test contains create new task with camera and verify that created task display as first in task listing screen.
- SendMessageOrder - This test contains select second task from task listing screen, enter chat and verify that created task display as first in task listing screen.
- ChangeStatusOrder - This test contains select second task from task listing screen, change status and verify that created task display as first in task listing screen.
- AddTag1Order - This test contains select second task from task listing screen, add new location tag from bottom menu,select Location-->setting-->Tags and verify that created task display as first in task listing screen.
- AddTag2Order - This test contains select second task from task listing screen, add new asset tag from bottom menu, select Asset-->setting-->Tags and verify that created task display as first in task listing screen.
- AddTag3Order - This test contains select second task from task listing screen, add new tags tag from bottom menu, select Tag-->setting-->Tags and verify that created task display as first in task listing screen.
- AddUserOrder - This test contains select second task from task listing screen, add new user from bottom menu, select users-->setting-->Users and verify that created task display as first in task listing screen.
- AddNewTagOrder - This test contains select second task from task listing screen, in Task Detail screen add new checklist and verify that created task display as first in task listing screen.
- AddFlagOrder - This test contains select second task from task listing screen, set flag and verify that created task display as first in task listing screen.
- CheckedTagOrder - This test contains select second task from task listing screen ,checked checklist and verify that created task display as first in task listing screen.
- EditJobNameOrder - This test contains select second task from task listing screen, edit task name and verify that created task display as first in task listing screen after that go to burger menu and logout.
***********************************************************************************************************************************************************************************************************************************************
- CreateJobOrder - This test contains create new task with camera and verify that created task display as first in task listing screen.
- SendMessageOrder - This test contains select second task from task listing screen, enter chat and verify that created task display as first in task listing screen.
- ChangeStatusOrder - This test contains select second task from task listing screen, change status and verify that created task display as first in task listing screen.
- AddTag1Order - This test contains select second task from task listing screen, add new location tag from bottom menu,select Location-->setting-->Tags and verify that created task display as first in task listing screen.
- AddTag2Order - This test contains select second task from task listing screen, add new asset tag from bottom menu, select Asset-->setting-->Tags and verify that created task display as first in task listing screen.
- AddTag3Order - This test contains select second task from task listing screen, add new tags tag from bottom menu, select Tag-->setting-->Tags and verify that created task display as first in task listing screen.
- AddUserOrder - This test contains select second task from task listing screen, add new user from bottom menu, select users-->setting-->Users and verify that created task display as first in task listing screen.
- AddNewTagOrder - This test contains select second task from task listing screen, in Task Detail screen add new checklist and verify that created task display as first in task listing screen.
- AddFlagOrder - This test contains select second task from task listing screen, set flag and verify that created task display as first in task listing screen.
- CheckedTagOrder - This test contains select second task from task listing screen ,checked checklist and verify that created task display as first in task listing screen.
- EditJobNameOrder - This test contains select second task from task listing screen, edit task name and verify that created task display as first in task listing screen after that go to burger menu and logout.
-
Constructor Summary
Constructors Constructor Description JobOrderTest()
-
Method Summary
Modifier and Type Method Description void
AddFlagOrder()
void
AddNewTagOrder()
void
AddTag1Order()
void
AddTag2Order()
void
AddTag3Order()
void
AddUserOrder()
void
CheckedTagOrder()
void
ChnageStatusOrder()
void
CreateJobOrder()
void
EditJobNameOrder()
void
getResponseBody()
void
jsonCommonData()
void
LocationFetchMessage()
void
LoginTest()
void
SendMessageOrder()
void
setObjectValues()
void
tearDown()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JobOrderTest
public JobOrderTest()
-
-
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
-
CreateJobOrder
public void CreateJobOrder() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
SendMessageOrder
public void SendMessageOrder() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
ChnageStatusOrder
public void ChnageStatusOrder() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
AddTag1Order
public void AddTag1Order() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
AddTag2Order
public void AddTag2Order() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
AddTag3Order
public void AddTag3Order() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
AddUserOrder
public void AddUserOrder() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
AddNewTagOrder
public void AddNewTagOrder() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
AddFlagOrder
public void AddFlagOrder() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
CheckedTagOrder
public void CheckedTagOrder() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
EditJobNameOrder
public void EditJobNameOrder() 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
-