摘要: 因为项目需要,最近开始学习Selenium,发现Selenium不如它主页说的那么好,只是在处理弹出窗口上就很让人头痛。我利用selenium-core-1.0.1来熟悉各种Java方法,但是在实际编码中遇到问题,不知道如何解决.代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHigh... 阅读全文
posted @ 2010-01-05 22:16 小楼 阅读(7921) 评论(0) 推荐(0) 编辑
摘要: 最近在学习Seleniunm的时候,发现在调用SeleniumServer.getDefaultPort() 时候出错:The method getDefaultPort() is undefined for the type SeleniumServer。查了资料才知道,这个方法被移到RemoteControlConfiguration class了。使用方法 -> RemoteContr... 阅读全文
posted @ 2009-12-31 14:59 小楼 阅读(812) 评论(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 小楼 阅读(1345) 评论(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 小楼 阅读(2047) 评论(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 小楼 阅读(203) 评论(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 小楼 阅读(163) 评论(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 小楼 阅读(5417) 评论(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 小楼 阅读(2524) 评论(2) 推荐(0) 编辑
摘要: 最近因工作需要,要配置一个缺陷管理工具,基于免费的要求,优先选择了bugFree,整体下来的感觉,虽然免费很诱人,但是文档的缺乏,尤其是论坛帮助的不到位,始终是开源软件的致命伤,初学者想使用,但是复杂的配置过程,文档的缺少,都会让初学者举步维艰。不多说了,下面是我的配置过程,希望可以给大家一点借鉴。1. 软件的准备和配置1.1Apache这里用的是apache_2.2.14-win32-x86-o... 阅读全文
posted @ 2009-12-21 22:44 小楼 阅读(995) 评论(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 小楼 阅读(248) 评论(0) 推荐(0) 编辑