12 2009 档案

摘要:最近在学习Seleniunm的时候,发现在调用SeleniumServer.getDefaultPort() 时候出错:The method getDefaultPort() is undefined for the type SeleniumServer。查了资料才知道,这个方法被移到RemoteControlConfiguration class了。使用方法 -> RemoteContr... 阅读全文
posted @ 2009-12-31 14:59 小楼 阅读(817) 评论(0) 推荐(0) 编辑
摘要:对于写Selenium RC的测试,我们必须首先启动Selenium Server,可以写一个bat文件来完成这一点:[代码]另外一种方式代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--@echooff@setSELENIUM_FRAMEWORK_... 阅读全文
posted @ 2009-12-30 22:00 小楼 阅读(1353) 评论(0) 推荐(0) 编辑
摘要:1.首先在这里下载Selenium RC,解压到C盘。2. 在C:\selenium-remote-control-1.0.1\selenium-python-client-driver-1.0.1下把selenium.py拷贝到C:\Python26\Lib\site-packages3. 现在录制或者手写的脚本就可以与浏览器交互了。 Selenium 现在存在2个版本,一个叫 selenium... 阅读全文
posted @ 2009-12-28 23:08 小楼 阅读(2055) 评论(0) 推荐(0) 编辑
摘要:Performance Tesing的定义:Performance testing is a type of testing intended to determine the responsiveness, throughput, reliability, and/or scalability of a system under a given workload. Performance tes... 阅读全文
posted @ 2009-12-22 22:16 小楼 阅读(208) 评论(0) 推荐(0) 编辑
摘要:Core Performance Testing Activities1. Identify Test Environment2. Identify Performance Acceptance CriteriaIdentify the response time, throughput, and resource utilization goal and constraints. In gene... 阅读全文
posted @ 2009-12-22 21:53 小楼 阅读(165) 评论(0) 推荐(0) 编辑
摘要:到这里下载最新的bugFree,解压之后将bugfree目录拷贝到C:\Apache2.2\htdocs目录,复制文件C:\Apache2.2\htdocs\bugfree\Include\Config.inc.Sample.php为新文件Include/Config.inc.php,编辑新创建的文件,修改数据库链接设置:/* 3. Define the username and password... 阅读全文
posted @ 2009-12-21 23:25 小楼 阅读(5436) 评论(0) 推荐(0) 编辑
摘要:这里选择的是mysql版本是mysql-5.1.41-win32.msi,安装在C:\MySQL目录。以下是MYSQLl配置:打开c:\windows\php.ini文件;查找;extension=php_mysql.dll,去掉';查找;extension=php_gd2.dll,去掉';'查找;extension=php_mbstring.dll,去掉';'查找;extension=php_d... 阅读全文
posted @ 2009-12-21 23:12 小楼 阅读(2534) 评论(2) 推荐(0) 编辑
摘要:最近因工作需要,要配置一个缺陷管理工具,基于免费的要求,优先选择了bugFree,整体下来的感觉,虽然免费很诱人,但是文档的缺乏,尤其是论坛帮助的不到位,始终是开源软件的致命伤,初学者想使用,但是复杂的配置过程,文档的缺少,都会让初学者举步维艰。不多说了,下面是我的配置过程,希望可以给大家一点借鉴。1. 软件的准备和配置1.1Apache这里用的是apache_2.2.14-win32-x86-o... 阅读全文
posted @ 2009-12-21 22:44 小楼 阅读(1002) 评论(0) 推荐(0) 编辑
摘要:Django URL配置是怎么工作的?简单的说,就是定义了一组URL模式并指明是如何与具体的code相匹配。 ADMONITION: HOW DJANGO URL CONFIGURATION WORKSA Django URL configuration file, or URLConf, defines a list of URL patterns and indicates how they ... 阅读全文
posted @ 2009-12-16 16:14 小楼 阅读(250) 评论(0) 推荐(0) 编辑
摘要:在syncdb的时候,Django都做了些什么? ADMONITION: WHAT GOES ON DURING SYNCDBWhen you run manage.py syncdb, Django actually does several things in order, and the output on your screen shows each step. First, Django... 阅读全文
posted @ 2009-12-16 16:09 小楼 阅读(274) 评论(0) 推荐(0) 编辑
摘要:之前买了个G1,用的好好的,突然想节约内存,装了个CacheToSD的软件,用来半天之后就开不了机,一直停在Android界面后来查查,此类软件还是慎用。。查询了Google大仙,发现只能恢复出厂设置,方法如下:先关机,然后,按home 键和关机键 一起按,等下出现倒三角型,会有三个选择alt+l,alt+s,alt+w ,你这种开机开不起来,只要按alt+w 就能恢复出厂设置,清空数据,就ok了... 阅读全文
posted @ 2009-12-15 11:36 小楼 阅读(2405) 评论(2) 推荐(0) 编辑
摘要:1. A Django project is a wrapper of sorts, which contains settings for one or more Django-powered applications and a list of which applications it uses. 2. ADMONITION: PERMISSION ERRORSIf you’re... 阅读全文
posted @ 2009-12-14 23:01 小楼 阅读(404) 评论(0) 推荐(0) 编辑
摘要:在下载了很多资料之后,由于分类不好,很多文件夹下都放了重复的文件,就想用python写个查找重复文件的小工具。主要思路如下: 1. 查找同命文件2. 利用了crc32,先检查出同样尺寸的文件,再计算crc32,得出相同的文件名列表。下面是转载的一个代码,虽然可以满足要求,但是在查找大量文件时候,速度很慢,我抽空把它调优。代码Code highlighting produced by Actipro... 阅读全文
posted @ 2009-12-08 22:14 小楼 阅读(3013) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示