airtest.core.android.ime module
- ensure_unicode(value)[source]
Decode UTF-8 values
- Parameters:
value – value to be decoded
- Returns:
decoded valued
- class YosemiteIme(adb)[source]
Bases:
CustomIme
Yosemite Input Method Class Object
- text(value)[source]
Input text with Yosemite input method
- Parameters:
value – text to be inputted
- Returns:
output form adb shell command
- code(code)[source]
Sending editor action
- Parameters:
code – editor action code, e.g., 2 = IME_ACTION_GO, 3 = IME_ACTION_SEARCH Editor Action Code Ref: http://developer.android.com/reference/android/view/inputmethod/EditorInfo.html
- Returns:
output form adb shell command