Unable to create new remote session while testing an Android application with Appium

后端 未结 3 709
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-16 23:56

I\'m trying to run an Example of test scripts coded with java in Eclipse with Appium. I run Appium by npm (i\'m using Appium 1.6.3, i\'m not new to Appium i run it before on

3条回答
  •  萌比男神i
    2021-01-17 00:39

    The reason is because your Appium is running already the app using GUI settings.

    Simultaneously you are trying to run it again from your code.

    What should help : In Appium UI go to Android settings (basic)

    1. Application panel: do not define / launch the app and its activities.

    2. Capabilities panel: define and select {Platform Name, Automation Name, Platform Version}

提交回复
热议问题