最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

iOS自動(dòng)化真機(jī)測(cè)試驗(yàn)證環(huán)境過(guò)程中常見(jiàn)問(wèn)題解析

2022-10-31 15:18 作者:愛(ài)測(cè)軟件測(cè)試  | 我要投稿

本章節(jié)主要講解 iOS 自動(dòng)化真機(jī)配置以及在 iOS 真機(jī)執(zhí)行自動(dòng)化時(shí)常見(jiàn)問(wèn)題與解決方法。

真機(jī)使用的Capability

與模擬器不同,真機(jī)測(cè)試需要如下的 Capability
方式一:設(shè)置 App 路徑,啟動(dòng) App(自動(dòng)安裝 App)

{ ?"app": "/Users/seveniruby/Library/Developer/Xcode/DerivedData/UICatalog-ftyzdbgapjmxxobezrnrxsshpdqh/Build/Products/Debug-iphoneos/UICatalog.app", ?"automationName": "XCUITest", ?"platformName": "ios", ?"xcodeOrgId": "xxxxxx", ?"xcodeSigningId": "iPhone Developer", ?"udid": "9df22446af15919c494c85b4c1c8b00eaa3a5bd0" }

方式二:根據(jù) App 包名啟動(dòng) App

{ ?"platformName": "ios", ?"bundleId": "com.example.apple-samplecode.UICatalog", ?"automationName": "XCUITest", ?"deviceName": "iPhone", ?"udid": "auto", ?"xcodeOrgId": "xxxxx", ?"xcodeSigningId": "iPhone Developer" }

使用Appium Desktop驗(yàn)證環(huán)境

以上步驟完成后,出現(xiàn)下圖表示真機(jī)環(huán)境配置成功

常見(jiàn)問(wèn)題

問(wèn)題一
問(wèn)題二

問(wèn)題三

  • 解決方法:重啟手機(jī)或者拔掉 IOS 數(shù)據(jù)線,重新連接電腦

問(wèn)題四

note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description error: No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "L62JHCGMQW" with a private key was found. (in target 'WebDriverAgentLib' from project 'WebDriverAgent') error: No profiles for 'com.facebook.WebDriverAgentRunner.xctrunner' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.facebook.WebDriverAgentRunner.xctrunner'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')

問(wèn)題五

Assertions: System: Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. (Underlying Error: The test runner exited with code 74 before checking in. If you believe this error represents a bug, please attach the result bundle at /Users/dzkair/Library/Developer/Xcode/DerivedData/WebDriverAgent- alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.11.26_10-47-38-+0800.xcresult)

  • 解決方法:重新插拔手機(jī)即可
    常見(jiàn)問(wèn)題給大家總結(jié)了這些,如果大家有遇到其他的問(wèn)題也可以在下方留言哦~


iOS自動(dòng)化真機(jī)測(cè)試驗(yàn)證環(huán)境過(guò)程中常見(jiàn)問(wèn)題解析的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
峨边| 沙田区| 阿拉善盟| 罗田县| 阿荣旗| 三原县| 镇江市| 景洪市| 马山县| 泗洪县| 沭阳县| 容城县| 阿坝县| 聂荣县| 油尖旺区| 扶绥县| 揭阳市| 许昌县| 林周县| 治县。| 嵊泗县| 盐源县| 浦城县| 成武县| 永胜县| 嘉黎县| 曲水县| 分宜县| 商河县| 平原县| 合山市| 华宁县| 新和县| 长白| 黑山县| 桓仁| 类乌齐县| 四子王旗| 奉节县| 子洲县| 福安市|