51Testing软件测试论坛

标题: 求助!!! [打印本页]

作者: jtxsdhannah    时间: 2015-10-19 21:48
标题: 求助!!!
cucumber -f html -o r.html
*** WARNING: You must use ANSICON 1.31 or higher (https://github.com/adoxa/ansicon/) to get coloured output on Windows
unknown error: cannot find Chrome binary
  (Driver info: chromedriver=2.9.248315,platform=Windows NT 6.1 x86_64)




执行  cucumber -f html -o r.html

后  提示如下:到底是什么原因呀????
*** WARNING: You must use ANSICON 1.31 or higher (https://github.com/adoxa/ansicon/) to get coloured output on Windows
unknown error: cannot find Chrome binary
  (Driver info: chromedriver=2.9.248315,platform=Windows NT 6.1 x86_64)




作者: jingzizx    时间: 2015-10-20 14:53
安装cucumber
(安装cucumber前需先安装Devkit)


  
gem install cucumber
------

ERROR:  While generating documentation for builder-3.0.0

出现错误重新安装一下
gem install cucumber

------



Step9,运行cucumber
  
cucumber
------

*** WARNING: You must use ANSICON 1.31 or higher (http://adoxa.110mb.com/ansicon) to get coloured output on
Windows
    Download Ansicon from http://adoxa.3eeweb.com/ansicon/ and unzip it
    Use a cmd prompt and navigate to where you unzipped it.
    CD into the x64 directory (unless you have a 32bit machine, then use the x86 one)
    Type "ansicon.exe --i" (without quotes)
    Open a new cmd prompt
ansi151.zip
ansicon.exe -i
ansicon.exe -u 删除

不影响使用,可以装颜色,但是对utf-8的处理有问题,不建议安装。
(摘抄的)




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2