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

질문됨 2년 전596회 조회
1개 답변
0
수락된 답변

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
답변함 2년 전
profile picture
전문가
검토됨 한 달 전
  • 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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠