">http://zombie.labnotes.org/
Zombie.js 也是一个无界面的,基于Node.js的测试套件。安装它之前需要先安装Node.js、NPM、C++ Compiler以及Python。语法风格很友好,Dom操作使用Sizzle.js,学习成本低。就是在windows下安装比较麻烦,折腾。
C++ Compiler 编辑器列表
http://www.stroustrup.com/compilers.html
windows下可以选择mingw http://mingw.org/
Zombie.js 支持以下功能:
Watir基于Ruby,支持多浏览器。这里说一下Watir的安装(windows)
对于使用代理上网的,需要设置代理
set HTTP_PROXY=127.0.0.1:8888
gem install watir-webdriver
safari安装参考:
http://code.google.com/p/selenium/wiki/SafariDriver
http://17test.info/?page_id=625
Selenium2是一个集成了WebDriver的测试框架
Watir WebDriver是Selenium WebDriver的一个封装,api更友好。但watir使用ruby进行开发,而selenium2可使用多种语言,如ruby、java等进行开发
IBM Selenium 2 入门
http://www.ibm.com/developerworks/cn/web/wa-selenium2/index.html
详见我的博客:http://www.zawaliang.com/2013/02/214.html
4.启动命令windows:chrome --remote-debugging-port=9222启动命令mac:Google\ Chrome --remote-debugging-port=9222