【问题标题】:Appium integration in Android Studio(Ubuntu)?Android Studio(Ubuntu)中的Appium集成?
【发布时间】:2015-12-03 22:10:49
【问题描述】:

您好,任何人都可以为我提供在适用于 Ubuntu OS 的 Android Studio 中集成 Appium(自动化工具)的步骤。

或提供任何链接(我浏览了一些博客,但大多数都在 Windows、Mac OS 中进行了解释?)。

提前致谢。

【问题讨论】:

    标签: android-studio appium


    【解决方案1】:

    您需要做的是在您的 Android Studio 项目中从 Maven 下载 Appium、junit 依赖项并配置 Android Studio 以运行 Appium Java junit/TestNG 测试用例:


    您需要下载:

    一个。 io.appium:java-client:3.1.0 或最新版本

    b. org.junit:com.springsource.org.junit:4.11.0 或最新

    不仅仅是通过提供 Appium 服务器功能和 Setup/Teardown 方法来编写您的测试套件。启动 Appium Server 还会在您的代码中提供正确的端口号。喜欢:

    driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
    

    How to import Maven Dependencies in Android Studio

    (我假设您的系统上已经安装了 Appium)如果不是 Use This Link

    【讨论】:

    • 感谢 Darshan 的支持...让我尝试这些步骤...如果您不介意我可以要您的邮件 ID。
    • 我已经在我的 ubuntu 上安装了 apppium 服务器。但我无法理解如何在 android studio 中下载 a 和 b (io.appium:java-client) 和 junit.com spring 源
    猜你喜欢
    • 2015-11-02
    • 2015-12-06
    • 2013-12-06
    • 2018-04-09
    • 2014-01-21
    • 2014-01-01
    • 2018-06-17
    • 1970-01-01
    • 2013-09-03
    相关资源
    最近更新 更多