public class IOSMobileCommandHelper extends MobileCommand
ACTIVATE_APP, CLOSE_APP, commandRepository, COMPARE_IMAGES, CURRENT_ACTIVITY, END_TEST_COVERAGE, FINGER_PRINT, GET_CLIPBOARD, GET_CURRENT_PACKAGE, GET_DEVICE_TIME, GET_DISPLAY_DENSITY, GET_NETWORK_CONNECTION, GET_PERFORMANCE_DATA, GET_SESSION, GET_SETTINGS, GET_STRINGS, GET_SUPPORTED_PERFORMANCE_DATA_TYPES, GET_SYSTEM_BARS, GSM_CALL, GSM_SIGNAL, GSM_VOICE, HIDE_KEYBOARD, INSTALL_APP, IS_APP_INSTALLED, IS_KEYBOARD_SHOWN, IS_LOCKED, LAUNCH_APP, LOCK, LONG_PRESS_KEY_CODE, NETWORK_SPEED, OPEN_NOTIFICATIONS, PERFORM_MULTI_TOUCH, PERFORM_TOUCH_ACTION, POWER_AC_STATE, POWER_CAPACITY, PRESS_KEY_CODE, PULL_FILE, PULL_FOLDER, PUSH_FILE, QUERY_APP_STATE, REMOVE_APP, REPLACE_VALUE, RESET, RUN_APP_IN_BACKGROUND, SEND_SMS, SET_CLIPBOARD, SET_NETWORK_CONNECTION, SET_SETTINGS, SET_VALUE, SHAKE, START_ACTIVITY, START_RECORDING_SCREEN, STOP_RECORDING_SCREEN, TERMINATE_APP, TOGGLE_AIRPLANE_MODE, TOGGLE_DATA, TOGGLE_LOCATION_SERVICES, TOGGLE_WIFI, TOUCH_ID, TOUCH_ID_ENROLLMENT, UNLOCK
Constructor and Description |
---|
IOSMobileCommandHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> |
shakeCommand()
This method forms a
Map of parameters for the device shaking. |
static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> |
toggleTouchIdEnrollmentCommand(boolean enabled)
This method forms a
Map of parameters for the toggling touchId
enrollment in simulator. |
static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> |
touchIdCommand(boolean match)
This method forms a
Map of parameters for the touchId simulator. |
compareImagesCommand, deleteC, getC, getIsDeviceLockedCommand, getSettingsCommand, hideKeyboardCommand, hideKeyboardCommand, isKeyboardShownCommand, lockDeviceCommand, longPressKeyCodeCommand, longPressKeyCodeCommand, postC, prepareArguments, prepareArguments, pressKeyCodeCommand, pressKeyCodeCommand, pushFileCommand, setSettingsCommand, startRecordingScreenCommand, stopRecordingScreenCommand, unlockDeviceCommand
public static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> shakeCommand()
Map
of parameters for the device shaking.Map
command arguments.public static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> touchIdCommand(boolean match)
Map
of parameters for the touchId simulator.match
- If true, simulates a successful fingerprint scan. If false, simulates a failed fingerprint scan.Map
command arguments.public static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> toggleTouchIdEnrollmentCommand(boolean enabled)
Map
of parameters for the toggling touchId
enrollment in simulator.enabled
- Whether to enable or disable Touch ID Enrollment for Simulator.Map
command arguments.