【问题标题】:selenium android test scriptsselenium android 测试脚本
【发布时间】:2014-09-25 05:03:12
【问题描述】:

我需要为 android 应用 编写 selenium 测试脚本,并使用 appium 对其进行测试。到目前为止,我已经为 Web 应用程序编写了 selenium 测试脚本,我们执行“检查元素”来定位 Web 元素并将它们包含在我们的测试脚本中。但我不知道如何在 android 应用程序定位元素 来为其编写测试脚本。谁能告诉我如何定位元素并为 android 应用编写 selenium 脚本???

【问题讨论】:

    标签: android selenium appium


    【解决方案1】:

    假设您的机器上安装了 Android SDK,请从 /adt-bundle-windows-x86-20140702/sdk/tools 打开 uiautomatorviewer.bat 文件,并确保 android 应用程序正在真实设备或移动模拟器上运行。为了开始为移动自动化编写脚本,很多人都想参考以下链接:AppiumAppium guide

    【讨论】:

      猜你喜欢
      • 2017-04-05
      • 1970-01-01
      • 2011-12-01
      • 1970-01-01
      • 2017-03-22
      • 2017-05-26
      • 2018-02-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多