http://finance.joy.cn/special/langxp/index.shtml
Selenium Grid官方定义是:
Selenium Grid is a tool that dramatically speeds up functional testing of web-apps by leveraging your existing computing infrastructure. It allows you to easily run multiple tests in parallel, on multiple machines, in an heterogeneous enviroment.
Selenium Grid是一种可以显著提高Web应用功能测试的工具,他会帮你改进已有的测试架构,让你更容易的在各种各样的环境下分布式并行运行测试用例。
今天在看FleaPHP的Shop实例代码的时候,发现了有一个叫做无限分类的东西,可以有效率的做分级,所以这里特意记下来。
以下两个是一些资料:
http://tech.ddvip.com/2008-10/122484284982886.html
http://blog.chinaunix.net/u/11995/showart_527781.html
那个部署以后怎么也登陆不了的问题原因终于找到了。
安装fckeditor的时候,如果想要file upload,需要配置一个东西,那就是settings.php的cookie_domain。如果这个被钉死在了你的测试域名上面,你做迁移的时候就会出现非常郁闷的事情:
登陆时输入用户名密码,然后就会出现:access denied的报错,很郁闷。
这个会让你没有办法做任何事情。好在解决了。浪费了好多时间。
Drupal对环境的要求比较高,所以部署Drupal要有一些步骤在里面,以下是我的一些心得:
1. 如果是在虚拟空间,第一重要的是要确认空间是不是支持Drupal,所以可以先上传一个Drupal上去,安装一下试试,或者把你的网站上传上去,但是把settings.php改回默认。最重要的是吧CCK和Views模块打开,看看能不能跑,否则你部署好了哭都来不及。
转自:http://www.blogjava.net/raimundox/archive/2006/01/12/27676.html
Watir doesn't work well with chinese characters. Try the following codes.
ie.text_field(:name, 'some text field).set('某某')
It will highlight the text field but put nothing in it. I read the Watir source codes, and found an interesting code segment:
1 for i in 0 .. value.length-1
2 sleep @ieController.typingspeed # typing speed
3 c = value[i,1]
4 #@ieController.log " adding c.chr " + c #.chr.to_s
5 @o.value = @o.value.to_s + c #c.chr
6 fire_key_events
7 end
这两天遇到一个难题,就是实现中国的省市的下拉菜单联动功能,找了很多地方,像原来博客里面收藏的文章:
http://blue.live4all.co.il/~mooffie/cms/node/15 可以看到有不少方法可以实现。
但是这些方法都不是是需要Taxonomy,就是需要导入csv,我尝试了都不简单,后来想想可以使用jQuery来实现,实现效果还是不错的。下面一步一步来说一下:
转自:http://www.rickyzhu.com/472_tester-and-developer.html
最近在研究Watir的自动化测试,有了成果写文章上来。先转一个帖子:
转自:http://www.coolcode.cn/show-303-1.html
Ruby 中如何动态生成类
废话不多说,先看例子: