I use alibaba macaca 。The tools‘ github url is https://macacajs.github.io/macaca/.
It is testcase url is https://github.com/macacajs/macaca-test-sample。
Then I use devtool to do this。 I am sure the environment and operate is correct,Because the testcase can run alone by use macaca run .
example like this:
D:\macaca\macaca-test-sample-master\macaca-test>macaca run -d macaca-desktop-sample.test.js
I use alibaba macaca 。The tools‘ github url is https://macacajs.github.io/macaca/. It is testcase url is https://github.com/macacajs/macaca-test-sample。 Then I use devtool to do this。 I am sure the environment and operate is correct,Because the testcase can run alone by use macaca run . example like this: D:\macaca\macaca-test-sample-master\macaca-test>macaca run -d macaca-desktop-sample.test.js
PS:I just do this learn by this article https://testerhome.com/topics/4563
Now the devtool wrong like this: 1 Failed to load resource: net::ERR_FILE_NOT_FOUND file:///D:/nodejs/node-global/node_modules/devtool/index.html
This problem appear in win10 environment,But in ubuntu 16.04 it is OK can find this /devtool/index.html
2
This problem appear in win10 and ubuntu16.04 all。
C:\Users\cmd>devtool --version devtool 2.0.3 electron 1.1.1 node 6.1.0 chrome 50.0.2661.102
Thank you. I hope can resolve this promblem。
This use
D:\macaca\macaca-test-sample-master\macaca-test>devtool macaca-mobile-sample.test.js --console --watch