Skip to content

I fail to run widows appium sample test #557

@ligvigfui

Description

@ligvigfui

I downloaded every item nessesery, am running the windows application driver and trying to run the up to date sample UI tests.
WAD produces this:

Accept: application/json; charset=utf-8
Content-Length: 143
Content-Type: application/json; charset=utf-8
Host: 127.0.0.1:4723
User-Agent: selenium/4.17.0 (.net windows)
X-Idempotency-Key: 40256989-53a1-4aaf-9c68-867e94fd5e4a

{"capabilities":{"firstMatch":[{"platformName":"Windows","appium:app":"com.companyname.basicappiumsample","appium:automationName":"windows"}]}}
HTTP/1.1 400 Bad Request
Content-Length: 141
Content-Type: application/json

{"status":100,"value":{"error":"invalid argument","message":"Bad capabilities. Specify either app or appTopLevelWindow to create a session"}}

I get this error from maui-samples\9.0\UITesting\BasicAppiumNunitSample\UITests.Windows\AppiumSetup.cs:line 34

OpenQA.Selenium.WebDriverArgumentException: 'Bad capabilities. Specify either app or appTopLevelWindow to create a session'

What am I doing wrong? Might the sample app be broken?

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