AWS Device Farm Appium 1.22.0 iOS 15 support for Appium python test?

0

Unable to start Appium server when selecting Appium 1.22.0 in testspec.yml for Appium python tests error : appium server never started in 60 seconds. Exiting

gefragt vor 2 Jahren619 Aufrufe
1 Antwort
0
Akzeptierte Antwort

Did you update the version of node first? Try adding this to your test spec file before changing the appium version

      - export NVM_DIR=$HOME/.nvm
      - . $NVM_DIR/nvm.sh
      - nvm install --lts
beantwortet vor 2 Jahren
profile picture
EXPERTE
überprüft vor 2 Monaten
  • Thanks it solved the Appium server not starting issue but now iam getting Error code 65 No application is open error on iOS 15 devices(iOS 14 works fine), iam trying solutions but let me know if you have any solutions for it, Thank you

  • Please share the part of your code where you start appium driver. Are you ensuring not to set desired capabilities when you run in device farm?

  • here is code where i start appium driver, Note : with this settings iOS 14 works as expected but iOS 15 does not yml file : version: 0.1 install: commands:- cd $DEVICEFARM_TEST_PACKAGE_PATH - . bin/activate - export NVM_DIR=$HOME/.nvm - . $NVM_DIR/nvm.sh - nvm ls-remote - nvm install --lts - pip install --upgrade pip - pip install -r requirements.txt - export APPIUM_VERSION=1.22.2 - avm $APPIUM_VERSION - ln -s /usr/local/avm/versions/$APPIUM_VERSION/node_modules/.bin/appium /usr/local/avm/versions/$APPIUM_VERSION/node_modules/appium/bin/appium.js

    for desired capabilities I only set Remote url

  • That's the .yml file There should be a place in your test where you start the driver. self.driver = webdriver.Remote(url, desired_caps) Please ensure that desired_caps is empty and that you aren't setting the platform version there

  • Yes, iam using Robotframework Open Application http://0.0.0.0:4723/wd/hub

    iOS 14 works as expected but iOS 15 does not

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen