Skip to content

Instantly share code, notes, and snippets.

View test-case.robot
*** Settings ***
Library AppiumLibrary
Library String
Resource Keyword/${DEVICE}/keyword.robot
Resource Data/${LANGE}/data.robot
Suite Teardown Close All Applications
@yotswd
yotswd / keyword.robot
Last active Feb 8, 2019
keyword android
View keyword.robot
#keyword Android
*** Variables ***
${REMOTE_URL} http://localhost:4723/wd/hub # URL to appium server
${PLATFORM_NAME} Android
${PLATFORM_VERSION} 7.0
${DEVICE_NAME} Samsung Galaxy S6
${APP_PACKAGE} jobthai.androidv1
${APP_ACTIVITY} jobthai.androidv1.MainActivity
${APP_LOCATION} /Users/yotsawadee/Downloads/file/jobthai.apk
View keyword.robot
# 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