error: The instrumentation process cannot be initialized. APPium OPPO手機測試時遇到的問題

APPium OPPO手機測試時遇到的問題

啓動不了

問題:selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.

因爲之前測試的VIVO手機,根據OPPO手機的系統版本修改了platformVersion和deviceName配置,其它參數一致,VIVO手機測試沒有問題,但是OPPO手機無法啓動,查看後臺日誌:

日誌中顯示無法找到uiautomator,那麼修改automationName的值爲uiautomator,啓動正常。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章