Skip to content

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

@MildaGenius

Description

@MildaGenius

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions