Package com.snapfix.pages
Class JobOrderPage
java.lang.Object
com.snapfix.core.BaseSetup
com.snapfix.core.Driver
com.snapfix.pages.JobOrderPage
public class JobOrderPage extends Driver
-
Field Summary
Fields Modifier and Type Field Description org.openqa.selenium.By
addButton
org.openqa.selenium.By
addMoreOptionButton
org.openqa.selenium.By
addTagName
org.openqa.selenium.By
amberStatus
org.openqa.selenium.By
backButtonElement
org.openqa.selenium.By
createNewTask
org.openqa.selenium.By
editIcon
org.openqa.selenium.By
findUserTextbx
org.openqa.selenium.By
moreOptionButtonLocation
org.openqa.selenium.By
sendButton
org.openqa.selenium.By
sendMessageTextbox
org.openqa.selenium.By
tag2EditIcon
org.openqa.selenium.By
tag3EditIcon
org.openqa.selenium.By
textViewJob
org.openqa.selenium.By
userEmailTextbox
org.openqa.selenium.By
userFirstNameTextbox
org.openqa.selenium.By
userLasttNameTextbox
org.openqa.selenium.By
waitAddTagTextbox
org.openqa.selenium.By
waitForAddTagButton
org.openqa.selenium.By
waitForAllowPermission
org.openqa.selenium.By
waitForFirstRecordOfGrid
org.openqa.selenium.By
waitForMapTab
org.openqa.selenium.By
waitForTagCheckbox
-
Constructor Summary
Constructors Constructor Description JobOrderPage()
JobOrderPage(java.lang.String drv)
-
Method Summary
Methods inherited from class com.snapfix.core.Driver
backNavigate, lauchApp, tearDown
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
createNewTask
public org.openqa.selenium.By createNewTask -
textViewJob
public org.openqa.selenium.By textViewJob -
sendButton
public org.openqa.selenium.By sendButton -
editIcon
public org.openqa.selenium.By editIcon -
sendMessageTextbox
public org.openqa.selenium.By sendMessageTextbox -
amberStatus
public org.openqa.selenium.By amberStatus -
addMoreOptionButton
public org.openqa.selenium.By addMoreOptionButton -
moreOptionButtonLocation
public org.openqa.selenium.By moreOptionButtonLocation -
addButton
public org.openqa.selenium.By addButton -
backButtonElement
public org.openqa.selenium.By backButtonElement -
waitForFirstRecordOfGrid
public org.openqa.selenium.By waitForFirstRecordOfGrid -
waitForAddTagButton
public org.openqa.selenium.By waitForAddTagButton -
waitForMapTab
public org.openqa.selenium.By waitForMapTab -
waitAddTagTextbox
public org.openqa.selenium.By waitAddTagTextbox -
waitForTagCheckbox
public org.openqa.selenium.By waitForTagCheckbox -
waitForAllowPermission
public org.openqa.selenium.By waitForAllowPermission -
addTagName
public org.openqa.selenium.By addTagName -
tag2EditIcon
public org.openqa.selenium.By tag2EditIcon -
tag3EditIcon
public org.openqa.selenium.By tag3EditIcon -
userFirstNameTextbox
public org.openqa.selenium.By userFirstNameTextbox -
userLasttNameTextbox
public org.openqa.selenium.By userLasttNameTextbox -
userEmailTextbox
public org.openqa.selenium.By userEmailTextbox -
findUserTextbx
public org.openqa.selenium.By findUserTextbx
-
-
Constructor Details
-
JobOrderPage
public JobOrderPage() -
JobOrderPage
public JobOrderPage(java.lang.String drv)
-
-
Method Details
-
waitForCreateNewButton
public void waitForCreateNewButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForTextViewButton
public void waitForTextViewButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForSendButton
public void waitForSendButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForEditIcon
public void waitForEditIcon() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
waitForAllowPermission
public void waitForAllowPermission() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnEditIcon
public void clickOnEditIcon() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnTaskNotSyncOkButton
public void clickOnTaskNotSyncOkButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
checkLocationPermission
public boolean checkLocationPermission() -
checkPictureVideoPermission
public boolean checkPictureVideoPermission() -
checkGPSMessageExist
public boolean checkGPSMessageExist() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
taskNotSynPopup
public boolean taskNotSynPopup() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
checkAudioPermission
public boolean checkAudioPermission() -
allowRecordAudio
public void allowRecordAudio() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnTextViewJob
public void clickOnTextViewJob() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
allowPictureVideoPermission
public void allowPictureVideoPermission() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
allowAllTheTimeLocationPermission
public void allowAllTheTimeLocationPermission() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
createNewTask
public void createNewTask() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSendButton
public void clickOnSendButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
GPSOkButton
public void GPSOkButton() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
sendTextToTitle
public void sendTextToTitle() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondTaskOfGridAndSendMessage
public boolean clickOnSecondTaskOfGridAndSendMessage() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondTaskOfGridAndChangeStatus
public boolean clickOnSecondTaskOfGridAndChangeStatus() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondTaskOfGridAndTag1
public boolean clickOnSecondTaskOfGridAndTag1() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondTaskOfGridAndTag2
public boolean clickOnSecondTaskOfGridAndTag2() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondTaskOfGridAndTag3
public boolean clickOnSecondTaskOfGridAndTag3() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondTaskOfGridAndUser
public boolean clickOnSecondTaskOfGridAndUser() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondTaskOfGridAndAddTag
public boolean clickOnSecondTaskOfGridAndAddTag() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondTaskOfGridAndAddFlag
public boolean clickOnSecondTaskOfGridAndAddFlag() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondTaskOfGridAndCheckedTag
public boolean clickOnSecondTaskOfGridAndCheckedTag() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
clickOnSecondTaskOfGrid
public void clickOnSecondTaskOfGrid() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
verifyCreateJobFirstRecord
public boolean verifyCreateJobFirstRecord() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
verifyUpdateTaskname
public boolean verifyUpdateTaskname() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
editTaskName
public void editTaskName() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-