新手学appium-python-client+appium api 4-mobilecommand

 1 class MobileCommand(object):
 2     CONTEXTS = 'getContexts',
 3     GET_CURRENT_CONTEXT = 'getCurrentContext',
 4     SWITCH_TO_CONTEXT = 'switchToContext'
 5     TOUCH_ACTION = 'touchAction'
 6     MULTI_ACTION = 'multiAction'
 7     OPEN_NOTIFICATIONS = 'openNotifications'
 8 
 9     # Appium Commands
10     GET_APP_STRINGS = 'getAppStrings'
11     PRESS_KEYCODE = 'pressKeyCode'
12     # TODO: remove when new Appium is out
13     KEY_EVENT = 'keyEvent'
14     LONG_PRESS_KEYCODE = 'longPressKeyCode'
15     GET_CURRENT_ACTIVITY = 'getCurrentActivity'
16     SET_IMMEDIATE_VALUE = 'setImmediateValue'
17     PULL_FILE = 'pullFile'
18     PUSH_FILE = 'pushFile'
19     COMPLEX_FIND = 'complexFind'
20     BACKGROUND = 'background'
21     IS_APP_INSTALLED = 'isAppInstalled'
22     INSTALL_APP = 'installApp'
23     REMOVE_APP = 'removeApp'
24     LAUNCH_APP = 'launchApp'
25     CLOSE_APP = 'closeApp'
26     END_TEST_COVERAGE = 'endTestCoverage'
27     LOCK = 'lock'
28     SHAKE = 'shake'
29     RESET = 'reset'
30     HIDE_KEYBOARD = 'hideKeyboard'

 

posted @ 2015-05-08 22:04  Mr.Dantes  阅读(548)  评论(0编辑  收藏  举报