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,启动正常。