• 模拟器是在线的,但是stf检测不到设备,这个要怎么解决?

  • 使用最新的 xmind 软件,不要用那个 ZEN 的,应该就可以了

  • Author only
  • 考虑很全面,我们公司目前也在搞这么一套东西,但是目前还是有不少问题。

    主要是:
    1:xmind 文件格式,不是文本格式,每次更新无法量化,不知道改了啥,无法做版本管理
    2:转化为 km 的 json 格式后,使用百度开源框架来编辑 TC,样式丢失较多,导致多样化的标识,都需要重新开发~
    3:如果说是需要导入其它系统里,不管是禅道还是 testlink,如果有更新,是直接重新导入吗?去重如何做?更新如何做?

  • Author only
  • 稳定运行了快1年的系统,到目前为止,新人进入首次在测试环境走流程,还是需要几乎整整两天的时间还不能完全走完,测试服务各种报错,知道只是一种怎么样的体验嘛。。。😹

  • 安卓模拟器,报这个错,请问有解吗?

      ~ app-inspector -u 127.0.0.1:62001
    INSTRUMENTATION_STATUS: numtests=1
    INSTRUMENTATION_STATUS: stream=
    com.android.uiautomator.client.Initialize:
    >> socket server ready
    >> socket client ready
    >> Android device started: 127.0.0.1:62001
    >> inspector start at: http://192.168.31.20:5678
    <-- GET /
    recive: {"cmd":"getSource","args":{}}

    return: {"data":{"value":true,"status":0},"success":true}

    >> Dump Android XML success, save to /usr/local/lib/node_modules/app-inspector/.temp/android.json

    TypeError: Cannot read property 'node' of undefined
    at Object.exports.dumpXMLAndScreenShot (/usr/local/lib/node_modules/app-inspector/lib/android.js:55:31)
    at next (native)
    at onFulfilled (/usr/local/lib/node_modules/app-inspector/node_modules/co/index.js:65:19)
    at process._tickCallback (internal/process/next_tick.js:103:7)

    <-- GET /favicon.ico
    --> GET /favicon.ico 404

  •   ~ app-inspector -u LGF800S4fe1ded1
    Warning: This version of UI Automator is deprecated. New tests should be written using
    UI Automator 2.0 which is available as part of the Android Testing Support Library.
    See https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html
    for more details.

    INSTRUMENTATION_STATUS: numtests=1
    INSTRUMENTATION_STATUS: stream=
    com.android.uiautomator.client.Initialize:

    INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
    INSTRUMENTATION_STATUS: test=testStartServer
    INSTRUMENTATION_STATUS: class=com.android.uiautomator.client.Initialize
    INSTRUMENTATION_STATUS: current=1

    INSTRUMENTATION_STATUS_CODE: 1

    uiautomator start socket server.

    >> socket server ready
    >> socket client ready
    >> Android device started: LGF800S4fe1ded1
    >> inspector start at: http://172.16.8.99:5678
    <-- GET /
    recive: {"cmd":"getSource","args":{}}

    return: {"success":true,"data":{"status":0,"value":true}}


    Error: Command failed: /opt/android-sdk-macosx/platform-tools/adb -s LGF800S4fe1ded1 shell "cat /data/local/tmp/macaca-dump.xml"
    /system/bin/sh: cat: /data/local/tmp/macaca-dump.xml: No such file or directory

    at ChildProcess.exithandler (child_process.js:206:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Socket.<anonymous> (internal/child_process.js:334:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:498:12)

    <-- GET /favicon.ico
    --> GET /favicon.ico 404

    这个文件没找到
    这个文件怎么才能有?

    /system/bin/sh: cat: /data/local/tmp/macaca-dump.xml: No such file or directory
  • #5楼 @yzx200712256 然后还有一个问题想请教下:一个页面,其中可能会有点击打开的popwindow,然后也可能点击打开是省份城市选择的新页面,这些是写在同一个页面类里好,还是都分开写比较好?或者说如果写在一起会有什么暗坑嘛?😂