哪些网做网站比较好,oa办公系统网站开发,宿州金融网站建设,深圳网站建设套餐一、环境准备#xff1a;
1、安装appium
2、xcode
(appium 版本#xff1a;12.1.0 xcode版本#xff1a;12.5 可正常运行#xff0c;ps:appium 版本#xff1a;12.1.0 xcode版本#xff1a;13.0 一直报奇奇怪怪的错误#xff09;
3、依赖工具包安装
brew install…一、环境准备
1、安装appium
2、xcode
(appium 版本12.1.0 xcode版本12.5 可正常运行ps:appium 版本12.1.0 xcode版本13.0 一直报奇奇怪怪的错误
3、依赖工具包安装
brew install --HEAD ideviceinstaller
brew install --HEAD libimobiledevice
brew install ios-deploy
4、测试app使用官方推荐的demo来进行测试
地址https://github.com/appium/ios-uicatalog 克隆到本地
git clone https://github.com/appium/ios-uicatalog.git
二、
1、打开xcode、打开项目 2、编译运行 成功运行 ios模拟器 3、使用appium 运行模拟器 打开测试app start session 三、执行脚本启动 import timeimport pytestfrom appium import webdriverclassTestdemo:defsetup_class(self):desired_caps {platformVersion:14.5,platformName:iOS,deviceName:iPhone 12,app:/xxxx/xxxx/DerivedData/UIKitCatalog-eppvxufmuhyeyhfxhygkhqccbfjh/Build/Products/Debug-iphonesimulator/UIKitCatalog.app}self.driver webdriver.Remote(http://127.0.0.1:4723/wd/hub, desired_caps)
如果对你有帮助的话点个赞收个藏给作者一个鼓励。也方便你下次能够快速查找。
最后感谢每一个认真阅读我文章的人礼尚往来总是要有的虽然不是什么很值钱的东西如果你用得到的话可以直接拿走
这些资料对于【软件测试】的朋友来说应该是最全面最完整的备战仓库这个仓库也陪伴上万个测试工程师们走过最艰难的路程希望也能帮助到你