简体   繁体   English

为什么Android调试版本比android发布版本更多地用于Appium自动化测试中?

[英]Why does android debug build is mostly used in Appium automation testing than the android release build?

Android debug build apk is mostly used for testing; Android debug build apk主要用于测试; is there any problem if I use android release build apk in Appium testing? 我在Appium测试中使用android release build apk会有什么问题吗?

We can use Release build also for Appium automation but if the locator value protected by the release build we have to change to debug build . 我们也可以将Release版本用于Appium自动化,但是如果定位器值受release版本保护,我们必须更改为debug版本。 So that its easy to write reliable script with right locators. 因此,使用正确的定位符可以轻松编写可靠的脚本。

You can use either build when testing this issue with using a production build for testing is performing automated tests on production is not good practice. 在测试此问题时,可以使用任一版本,而将生产版本用于测试对生产执行自动化测试不是一种好习惯。 If something were to go wrong your automation could potentially dos your production servers. 如果出现问题,您的自动化可能会影响您的生产服务器。 Many other issues can also arise, through proper setup of the app package you are using you should be able to run on either or builds. 通过正确设置正在使用的应用程序包,还可能会在其他版本或内部版本上运行,还会引起许多其他问题。 I for example am running on both a dev and qa environment with no problems. 例如,我在开发环境和质量保证环境中都可以正常运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM