GamesTestAutomationExample icon indicating copy to clipboard operation
GamesTestAutomationExample copied to clipboard

The desiredCapabilities object was not valid for the following reason(s)

Open MildaGenius opened this issue 7 years ago • 0 comments

Hello, I want to test automation example, but got this error when run ./run-tests-android.sh.

` Error: [init({"app":"/Users/mmalek/work_tests/Tests/GamesTestAutomationExample/example-unity-project/example-app.apk","automationName":"Android","deviceName":"Local Device","platformName":"android"})] The environment you requested was unavailable. A new session could not be created. Details: The desiredCapabilities object was not valid for the following reason(s): 'automationName' Android not part of Appium,Selendroid,UiAutomator2,XCUITest,YouiEngine,Espresso,Fake

at /Users/work/GamesTestAutomationExample/tests/node_modules/wd/lib/webdriver.js:140:15 at Request._callback (node_modules/wd/lib/http-utils.js:89:7) at Request.self.callback (node_modules/request/request.js:186:22) at Request. (node_modules/request/request.js:1163:10) at IncomingMessage. (node_modules/request/request.js:1085:12) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) ` Appium v1.8.1 Node v8.11.4

MildaGenius avatar Aug 17 '18 09:08 MildaGenius