随着nativescript Appium测试应用程序

Zakaria Acharkiuser70192提出了一个问题:Testing NativeScript app with Appium,或许与您遇到的问题类似。

回答者nullpointer给出了该问题的处理方式:

Part-1: Views are created using xml which must have attributes like text,name,cssetc. These are accessible using methods like By.name,By.cssSelectoretc.depending on the attributes provided during development.

Part-2: I believe since Appium was built on selenium initially and supports majority of its functionality. You can go ahead and try something similar to thisand you can provide action to your suite accessing the objects as in Part-1. To run the tests created would require similar efforts to run your main test script.

希望本文对你有帮助,欢迎支持JavaScript中文网

原文链接:stackoverflow.com

上一篇:当我使用谷歌地图API时,为什么我没有得到同样的原产地政策警告呢?
下一篇:如何在javascript中格式化/整理/美化

相关推荐

官方社区

扫码加入 JavaScript 社区