info: [debug] Responding to client with error: {"status":13,"value":{"message":"An unknown server-side error occurred while processing the command.","origValue":"Failed to Dump Window Hierarchy"}
sionId":"ee60dc85-73ba-489f-bfdb-c8c1c3ef18f0"}
info: <-- GET /wd/hub/session/ee60dc85-73ba-489f-bfdb-c8c1c3ef18f0/source 500 24.455 ms - 200
info: [debug] [UIAUTOMATOR STDOUT] junit.framework.TestResult.runProtected(TestResult.java:133)
info: [debug] [UIAUTOMATOR STDOUT] at junit.framework.TestResult.run(TestResult.java:118)
info: [debug] [UIAUTOMATOR STDOUT] at junit.framework.TestCase.run(TestCase.java:124)
info: [debug] [UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:160)
info: [debug] [UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:96)
info: [debug] [UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:91)
info: [debug] [UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)
info: [debug] [UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
info: [debug] [UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
info: [debug] [UIAUTOMATOR STDOUT] at dalvik.system.NativeStart.main(Native Method)
info: [debug] [UIAUTOMATOR STDOUT] Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
info: [debug] [UIAUTOMATOR STDOUT] at libcore.io.Posix.open(Native Method)
info: [debug] [UIAUTOMATOR STDOUT] at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
info: [debug] [UIAUTOMATOR STDOUT] at libcore.io.IoBridge.open(IoBridge.java:393)
info: [debug] [UIAUTOMATOR STDOUT] ... 25 more
info: [debug] [BOOTSTRAP] [debug] Command returned error:java.lang.RuntimeException: Failed to Dump Window Hierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"Failed to Dump Window Hierarchy","status":13}
楼主,请教两个问题:
看上去还是挺不错的,能开源就好了,因为需要测试环境,对外都是不开放的。
这个开源吗?
急招了,有意向的速度投了
#1 楼 @lihuazhang 携程
不错,大赞。
顺便问一下:那些功能楼主实现了自动化
喷一下,这么多人回复,还说明另外一个问题,大家对测试比较迷茫。
个人的观点,测试是离不开技术的,只有大公司养的起测试。
monkey 来不,我们虚位以待
年底前急招了,大家速度抓紧啊
加个缺点,Grid 技术不成熟,不适合大规模并发
@mic, 赞有人的地方就有江湖。
赞同:自动化一定要证明有其存在的价值。
从我的个人实践上来说: UI 自动化一定要从最简单的做起,不一定是一定要 cover 一个主流程。常常见到一些测试经理说,自动化 cover 了几个主流程(外行话)。如果主流程太长(10 多个子模块交互),我想基本上一个主流程就搞死你。
我推荐的做法是:分拆,分拆成一个个颗粒度很细的小测试。
在这方面投点资还是可以的。