Last active
February 8, 2019 01:35
-
-
Save yotswd/2f677eb14a365cc3bda69a5f025770cd to your computer and use it in GitHub Desktop.
test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# keyword IOS | |
*** Variables *** | |
${REMOTE_URL} http://localhost:4723/wd/hub | |
${PLATFORM_NAME} iOS | |
${PLATFORM_VERSION} 12.1 | |
${DEVICE_NAME} iPhone XR | |
${APP_LOCATION} /Users/yotsawadee/Downloads/jobthai.app | |
${BUNDLE_ID} com.THiNKNET.JobThai | |
*** Keyword *** | |
Open App Jobthai Upgrade | |
Open Application ${REMOTE_URL} platformName=${PLATFORM_NAME} platformVersion=${PLATFORM_VERSION} deviceName=${DEVICE_NAME} app=${APP_LOCATION} bundleID=${BUNDLE_ID} | |
Wait Until Element Is Visible ${IOS_BTN_NEXT} 5s | |
Skip Welcome Page | |
: FOR ${INDEX} IN RANGE 0 4 | |
\ Run Keyword IF ${INDEX}==${INDEX} Click Element ${IOS_BTN_NEXT} | |
Search Job | |
[Arguments] ${TEXT_SEARCH} | |
Scroll Down ${IOS_ICON_SEARCH} | |
Click Element ${IOS_ICON_SEARCH} | |
Wait Until Element Is Visible ${IOS_FIELD_SEARCH} 5s | |
Input Text ${IOS_FIELD_SEARCH} ${TEXT_SEARCH} | |
Click Element ${IOS_BTN_SEARCH} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment