摘要: 如果我们需要的AWK指令很多,在命令行中敲入大量命令行很不方便,这时候我们就可以把这些命令写入一个文件,然后让AWK去通过文件区运行这些命令:awk -f <awk program file name> inputfilename注意:1. 注释以#开始2. 多个语句可以写在一行,每个语句之间通过";"分割3.printf("<format_code>",<param... 阅读全文
posted @ 2010-01-08 22:02 小楼 阅读(261) 评论(0) 推荐(0)
摘要: AWK is a programming language that is designed for processing text-based data, either in files or data streams, and was created at Bell Labs in the 1970s.Basic Concept of AWK:A file consists of record... 阅读全文
posted @ 2010-01-08 21:09 小楼 阅读(508) 评论(0) 推荐(0)
摘要: Django is an MVC framework.The view in Django is the component which retrieves and manipulates data, whereas the template is the component that presents data to the user.Django是个MVC 框架,或叫做MTC框架。Django... 阅读全文
posted @ 2010-01-05 22:55 小楼 阅读(281) 评论(0) 推荐(0)
摘要: 因为项目需要,最近开始学习Selenium,发现Selenium不如它主页说的那么好,只是在处理弹出窗口上就很让人头痛。我利用selenium-core-1.0.1来熟悉各种Java方法,但是在实际编码中遇到问题,不知道如何解决.代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHigh... 阅读全文
posted @ 2010-01-05 22:16 小楼 阅读(7974) 评论(0) 推荐(0)
摘要: 最近在学习Seleniunm的时候,发现在调用SeleniumServer.getDefaultPort() 时候出错:The method getDefaultPort() is undefined for the type SeleniumServer。查了资料才知道,这个方法被移到RemoteControlConfiguration class了。使用方法 -> RemoteContr... 阅读全文
posted @ 2009-12-31 14:59 小楼 阅读(836) 评论(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 小楼 阅读(1370) 评论(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 小楼 阅读(2077) 评论(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 小楼 阅读(251) 评论(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 小楼 阅读(194) 评论(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 小楼 阅读(5464) 评论(0) 推荐(0)