我已经在 Windows 操作系统上成功安装了 Dalekjs,但是当我尝试运行我的第一个测试脚本时,测试没有运行。虽然它在 PhontomJs 上运行成功,但在真正的浏览器上运行时,浏览器打开和关闭并显示错误。
Running tests
Running Browser: Google Chrome
OS: Windows NT 6.2 x86_64
Browser Version:
RUNNING TEST - "Page title is correct"
> OPEN http://google.com
x TITLE
0 EXPECTED: Google
0 FOUND: [object Object]
0 MESSAGE: It has title
x TEST - "Page title is correct" FAILED
0/1 assertions passed. Elapsed Time: 4.99 sec
在phantonJS上运行时,它显示
Running Browser: PhantomJS
OS: windows 8 32bit
Browser Version: 1.9.7
RUNNING TEST - "Page title is correct"
> OPEN http://google.com
* TITLE It has title
* 1 Assertions run
* TEST - "Page title is correct" SUCCEEDED
DalekJs 是否对 Window8 64 位系统有问题,因为它在 32 位上运行良好?