Hi All,
I can see UiPath Studio and MDM is accepting all mobile Capabilities as String only even after having others Types option under dropdown and throwing error
When ever i am trying to connect Android device i am getting below Error:
A new session could not be created. Details: io.appium.uiautomator2.common.exceptions.InvalidArgumentException: Invalid ‘shouldUseCompactResponses’ setting value type. Got: java.lang.String. Expected: java.lang.Boolean. (SessionNotCreated)
From the logs i found out the capability “shouldUseCompactResponses’” is getting sent as String/Text value , whereas the Appium server is expecting a Boolean.
To cross check this error, we tried connecting again by adding capability ‘shouldUseCompactResponses’ as Text instead of Boolean and we were able to reproduce this issue in open-source Appium-Inspector. This is the same error message we are encountering in UiPath.
Let me know if any one has encountered this issue.
Below are my Configuration:
- We are testing on Mobile Center Devices (real devices on Cloud).
- Appium Version - v2beta40
- All Android Devices
- UiPath.MobileAutomation.Activities=24.2.0 -preview

