Is it now possible to Automate an App Store App using Appium

前端 未结 2 747
不思量自难忘°
不思量自难忘° 2021-01-15 11:24

Historically, it was not possible to automate iOS app store apps using Appium (e.g. due to the Distribution Certificate used on all app store apps meaning you couldn\'t acce

相关标签:
2条回答
  • 2021-01-15 12:06

    You can not Automate an Appstore app using Appium.

    To do automation testing on a ios app it should be signed with development certificate.

    0 讨论(0)
  • 2021-01-15 12:13

    You can launch almost any iOS system app if you know it's bundle identifier.

    I use ruby:

    def launch_app(bundle_id)
      @driver.execute_script('mobile: launchApp',{'bundleId': "#{bundle_id}"});
    end
    
    def terminate_app(app_path)
      @driver.execute_script('mobile: terminateApp',{'app': "#{app_path}"});
    end
    

    To launch App Store:

    launch_app("com.apple.AppStore")
    
    0 讨论(0)
提交回复
热议问题