• java + kotlin 调用链有小伙伴有方案吗?

  • 测试计划偏重于规划,比如项目的各个阶段是什么时间,在这个阶段你准备做什么。
    测试方案则偏重于方案,比如你准备怎么测什么功能,用什么方法,用什么工具,怎么测试。

  • 你上面提取的是:
    extract:
    X_CSRF_Token:
    下面使用的是:
    X-CSRF-Token: $X-CSRF-Token
    肯定有问题了

  • 已经搞定,Jenkins 环境变量配置不对

  • driver.find_element_by_id("com.tencent.mm:id/ekn").send_keys("摩拜单车")
    微信的 send_keys 无效

  • 已经搞定了,我把 android-sdk 全删了,SDK tool 安装 25.0.2,API 装 26,然后就全好了

  • macaca doctor 是全绿的。但是安装安装 macaca-android 一直是这个问题,尝试了各种办法都无法解决,请问楼主这个问题应该怎么解决。万分感谢 。

    C:\Users\sharl>npm install -g macaca-android
    npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
    npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
    npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version.
    npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version.

    macaca-chromedriver@1.0.44 install D:\nodejs\node_global\node_modules\macaca-android\node_modules\macaca-chromedriver
    node ./bin/macaca-chromedriver install

    version: 2.33
    chromedriver cdn url: https://chromedriver.storage.googleapis.com/2.33/chromedriver_win32.zip
    chromedriver local in D:\nodejs\node_global\node_modules\macaca-android\node_modules\macaca-chromedriver\exec\chromedriver2.33.exe

    uiautomatorwd@1.0.60 install D:\nodejs\node_global\node_modules\macaca-android\node_modules\uiautomatorwd
    node ./scripts/build.js

    (node:5444) UnhandledPromiseRejectionWarning: ,

    Configure project :app
    NDK is missing a "platforms" directory.
    If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to D:\android-sdk-windows\ndk-bundle.
    If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

    Checking the license for package Android SDK Platform 26 in D:\android-sdk-windows\licenses
    Warning: License for package Android SDK Platform 26 not accepted.
    ,
    FAILURE: Build failed with an exception.

    • What went wrong:
      A problem occurred configuring project ':app'.

      You have not accepted the license agreements of the following SDK components:
      [Android SDK Platform 26].
      Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
      Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

    • Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 1s

    (node:5444) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
    (node:5444) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

    unlock-apk@1.0.8 install D:\nodejs\node_global\node_modules\macaca-android\node_modules\unlock-apk
    node ./script/build.js

    (node:1352) UnhandledPromiseRejectionWarning: ,

    Configure project :app
    NDK is missing a "platforms" directory.
    If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to D:\android-sdk-windows\ndk-bundle.
    If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

    Checking the license for package Android SDK Platform 26 in D:\android-sdk-windows\licenses
    Warning: License for package Android SDK Platform 26 not accepted.
    ,
    FAILURE: Build failed with an exception.

    • What went wrong:
      A problem occurred configuring project ':app'.

      You have not accepted the license agreements of the following SDK components:
      [Android SDK Platform 26].
      Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
      Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

    • Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 1s

    (node:1352) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
    (node:1352) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

    • macaca-android@2.0.48 added 157 packages from 117 contributors in 12.276s