我想使用Appium从“ Play商店”模拟并安装一个应用。例如,我使用以下方法安装了此应用:
desiredCapabilities.setCapability(MobileCapabilityType.APP,
System.getProperty("user.dir") + "/src/main/resources/sample.apk");
try {
driver = new AndroidDriver(new URL("http://localhost:4723/wd/hub"), desiredCapabilities);
但是问题在于此应用程序具有验证功能,我只能在官方商店(例如“ Play Store” /“ App Store”)中进行安装。使用上述通过Appium的方法,将显示此消息,而我无法继续测试脚本:
Validation - Message App Unverified
我很高兴有人可以帮助我解决这个问题。
谢谢。