Appium server error com.testroid.api.APIException: Failed to submit test run! No device model match
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Appium server error com.testroid.api.APIException: Failed to submit test run! No device model match
I downloaded the TestComplete app and I am attempting to use it to run an APK on a native device, however, no matter what device I select the result is the same:
Unable to connect to the remote device with the requested capabilities
Appium server error com.testroid.api.APIException: Failed to submit test run! No device model matching pattern 'Motorola Google Nexus 6 7.1.1' available
How can I resolve the error from occur?
- Labels:
-
com.testroid.api.APIException
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @nadavgivoni!
Normally instead of providing the name of the device in your capabilities, you would provide the Device ID. You may obtain this by using an ADB command 'adb devices' in a CLI. Once you have ADB setup, run that command and take the ID for your device and replace your 'deviceName' capability with this ID. This is most likely the issue.
For instance, to connect to my Galaxy S7, I use the below basic capabilities after retrieving the ID from ADB;
{
"platformName": "android",
"deviceName": "R52RC0E21RF"
}
I hope this helps!
Regards,
Nick
Solutions Engineer @ SmartBear
