• mac appium 启动genymotion


    mac eclipse  appium 启动genymotion 模拟器,设置红框中的三项内容就可以。2个红色箭头不需要设置。

    如果launch_avd 设置,就会提示:Emulator xxx not running,无法运行测试

    [debug] [ADB] Trying to find and_device emulator

     

    [debug] [ADB] Getting connected emulators

    [debug] [ADB] Getting connected devices...

     

    [debug] [ADB] 1 device(s) connected

    [debug] [ADB] 0 emulator(s) connected

    [debug] [ADB] Emulator and_device not running

    Devices Name  也可以不用设置,要设置可以设置成和命令行中adb devices 的值一样也可以,不过发现设置任意值也没有关系

    启动命令:

    eexport ANDROID_HOME="/Users/apptest/myapp/android-sdk-macosx"; '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --address "127.0.0.1" --session-override --debug-log-spacing --automation-name "Appium" --platform-name "Android" --platform-version "4.4" --dont-stop-app-on-reset

  • 相关阅读:
    重构与模式:改善代码三部曲中的第三部
    将博客搬至CSDN
    管理之道(二十二)
    管理之道(二十一)
    管理之道(二十)
    管理之道(十九)
    管理之道(十八)
    管理之道(十七)
    管理之道(十六)
    管理之道(十五)
  • 原文地址:https://www.cnblogs.com/testway/p/6288972.html
Copyright © 2020-2023  润新知