SeeTest Client - SendKeysWithBT
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
Description
This command sends keyboard events to the Bluetooth keyboard on the device.
The device should be paired with a Bluetooth adapter in order to use this command: How to pair the device
Sending keys without modifiers: client.sendKeysWithBT("KEYS");
Sending keys with modifiers: client.sendKeysWithBT("MODIFIERS","KEYS");
The command is available only for users in accessibility project.
For accessibility, testing refers to:
Keyboard shortcuts for VoiceOver and Talkback
Parameters:
- 
modifiers: String should contain all modifiers that should be provided to the Bluetooth keyboard.
- Supported modifiers
- 
CTRL
 - 
SHIFT
 - 
META (Command on Mac OS)
 - 
ALT (Option on Mac OS)
 
 - 
 
 - Supported modifiers
 - 
keys: Keys that will be sent to Bluetooth keyboard
- Supported special keys (must be provided in curly braces)
- ENTER
 - ESC
 - END
 - BKSP (Backspace)
 - HOME
 - TAB
 - DEL
 - HELP
 - UP
 - DOWN
 - RIGHT
 - LEFT
 - PGUP (Page Up)
 - PGDN (Page Down)
 - F1 - F12
 
 
 - Supported special keys (must be provided in curly braces)
 
Code Examples
Android / iOS Example Expand source
 client.sendKeysWithBT("CTRL+ALT","{ESC}");
 client.sendKeysWithBT("CTRL","C");
 client.sendKeysWithBT("{DOWN}");
 client.sendKeysWithBT("text");