Voice assistant inject command
Sends a text string to the device's Voice Assistant (Siri) and allows the assistant to complete the action.
Restriction: Voice assistant injection is supported on devices running iOS 10.3 or later, configured for the XCUITest framework.
Parameters
Name | Type | Possible values | Description |
---|---|---|---|
Device ID* |
String |
The device for this command. By default, this is the device under test (DUT). |
|
Text string* |
String |
Text of the input to send to the voice assistant. |
|
Comment |
String |
Adds a comment to the script |
|
On-fail Result* |
Condition |
Ignore | Break | Continue | Abort | Catch |
The behavior when the command fails. |
* Mandatory parameter