随着nativescript Appium测试应用程序

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

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

Part-1 : Views are created using xml which must have attributes like text,name,css etc. These are accessible using methods like By.name,By.cssSelector etc. 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 this and 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中格式化/整理/美化

相关推荐

  • pusher-nativescript

    Pusher plugin for NativeScript with support to iOS and Android platforms Pusher Nativescript Pusher ...

    4 个月前
  • nativescript-xmpp-client

    XMPP websocket client plugin for Nativescript. An XMPP websocket client plugin for Nativescript Inst...

    8 个月前
  • nativescript-websockets

    A WebSocket NativeScript module for Android and iOS NativeScript WebSockets This is a cross platf...

    7 个月前
  • nativescript-socket.io

    Full-featured Socket.IO client implementation for NativeScript nativescript-socket.io Full-featured ...

    4 个月前
  • nativescript-mqtt

    NativeScript MQTT plugin NativeScript MQTT 3.1.1 Module This nativescript-mqtt module is a cross-pl...

    6 个月前
  • nativescript-meteor-client

    Nativescript module enabling the use of the Meteor Meteor integration in NativeScript using nativesc...

    6 个月前
  • nativescript-meteor

    undefined Nativescript-Meteor Plugin to connect via DDP Meteor with NativeScript How to Install On N...

    6 个月前
  • nativescript-laravel-echo

    A nativescript plugin for laravel-echo. NativeScript Laravel-Echo This is a laravel-echo plugin f...

    6 个月前
  • nativescript-firebase

    A {N} compatible wrapper for the Firebase node.js sdk nativescript-firebase This is a Nativescript-c...

    6 个月前
  • nativescript-actioncable

    A nativescript plugin to use actioncable with iso and android ported actioncable.js forked from http...

    6 个月前

官方社区

扫码加入 JavaScript 社区