<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Hacker.Net</title><subtitle type="text">谈谈安全</subtitle><id>http://feed.cnblogs.com/blog/u/4401/rss</id><updated>2010-06-08T14:40:52Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/4401/rss"/><entry><id>http://www.cnblogs.com/Hacker/archive/2010/06/08/1754349.html</id><title type="text">51IT最全的自动化测试工具QTP资料</title><summary type="text">最近发了很多QTP的资料和帖子，搞得我自己都有点头大，特此做一个索引贴，希望对大家阅读有帮助。每一个都带着难度和我自己的评价，大家根据自己的水平去选择。今年的QTP招聘非常多，pay的也很不错，大家有时间多读读这里中高级的题目，并且照着连连。-JamesQTP索引贴QTP Tutorial说明: 只有一百来页，短小精悍，推荐QTP第一读物。技术难度：入门,初级http://51it.ca/bbs/...</summary><published>2010-06-08T14:41:00Z</published><updated>2010-06-08T14:41:00Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Hacker/archive/2010/06/08/1754349.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/archive/2010/06/08/1754349.html"/><content type="html">&lt;span  style="font-family: verdana, tahoma, 'lucida grande', sans-serif; line-height: normal; color: #333333; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;最近发了很多QTP的资料和帖子，搞得我自己都有点头大，特此做一个索引贴，希望对大家阅读有帮助。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;每一个都带着难度和我自己的评价，大家根据自己的水平去选择。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;今年的QTP招聘非常多，pay的也很不错，大家有时间多读读这里中高级的题目，并且照着连连。&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;-James&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP索引贴&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Tutorial&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: 只有一百来页，短小精悍，推荐QTP第一读物。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：入门,初级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-200-1-3.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-200-1-3.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Quick Test Pro(QTP) user guide(中文版)&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: Mercury的中文版用户手册，8.0版的，有800多页。新版的都有1600多页了。手册，按内容排序，而不是按照难度。有些章节比较难，有些简单。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：入门,初级，中级，高级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-201-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-201-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QuickTest Pro(QTP) 学习与实践经验总结(1-5)&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明:非常不错的学习经验总结。全是经验总结，不是教程。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：中级，高级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-202-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-202-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QuickTest Pro(QTP) 中的VBScript速查手册&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明:教程加常用函数速查手册，非常推荐，学习VBScript的第一本书。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：入门,初级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-203-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-203-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QuickTest Pro(QTP)分析测试结果&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明:如何分析运行结果，没有用过QTP的可以一看，上我们课的就可以省了&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：入门&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-204-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-204-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QuikcTest Pro (QTP) regular expression usage&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明:讲述如何在QTP中使用正则表达式，也就是我们常说的模式匹配&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：初级，中级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-206-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-206-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Quick Test Pro(QTP) FAQ&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: 问题和解答，看起来不是FAQ,而是一些面试题，有些还是很有难度的&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：初级，中级，高级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-207-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-207-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;一份QuickTest Pro(QTP) 学习笔记&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: 某某大侠的学习笔记，不过看起来更像是工作中遇到问题和解决办法的note&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：中级，高级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-213-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-213-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;管理QTP测试脚本的对象仓库&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: 如何管理QTP的对象仓库，以便能让对象仓库易于维护、管理。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：初级，中级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-223-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-223-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;How to connect QTP with Testdirct&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: 如何是QTP和QC链接&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：初级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-229-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-229-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Quick Test Pro FAQ&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: 这是一份真正的FAQ,把QTP常见的问题罗列出来，100多页，非常适合学过QTP的同学一读。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：初级，中级，高级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-238-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-238-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Quick Test Professional - handbook&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: 入门教程，34页。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：入门,初级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-239-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-239-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Programming concepts in QTP with some Basic Examples&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: 讲述了QTP中编程方面的一些例子，不是单单VBScript,是结合中如何使用QTP中的一些对象。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：中级，高级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-240-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-240-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting Quicktest professional - 03 VBScript The Basics&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: VBScript进阶读物，想深入学习者读&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：初级，中级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-255-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-255-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting Quicktest professional - 04 VBScript Intrinsic procedures&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明:VBScript进阶读物，想深入学习者读，比起上篇来，这个更加一阶。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：中级，高级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-256-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-256-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting QTP系列&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: QTP与VBSCript的完美结合，非常有深度，恐怕用过多年QTP的人读起来都非常受教。不全，我只能找这么多了。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：高级&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting QTP - CH04 - Advanced VBScrict&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-278-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-278-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting QTP - CH05 - Regular Expressions&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-277-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-277-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting QTP - CH07 - Working With Files&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-279-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-279-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting Qtp - Ch08 - Adob&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-280-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-280-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting Qtp - Ch09 - Wsh&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-285-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-285-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting Qtp - Ch10 - Svg&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-281-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-281-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting QTP - CH11 - Shell32&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-282-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-282-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting QTP - CH13 - Win32API&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-283-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-283-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Scripting QTP - CH14 - DotNet&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-284-1-2.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-284-1-2.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;Mercury QuickTest Professional 8.0 Shortcut Key Reference Card&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: 快捷键列表，2页。打出来放到墙上，上班时候参考。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：入门&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-360-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-360-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 系列&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明:介绍了不同场合下VBScript的应用，适用性强，难度适中&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：初级，中级&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 1/14, How to launch a QTP application&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-321-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-321-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 2, How to get data from Excel into QTP without importing the Excel.&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-322-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-322-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 3 How to launch QTP, open a test, run it,&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-323-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-323-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 4 Write the below code in a new test in qtp and run it.&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-324-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-324-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 5 How to import excel into datatable in QTP.&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-325-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-325-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 6 How to pass output parameter&amp;#8217;s value&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-326-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-326-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 7 How to copy data from Excel sheet to a Text file?&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-330-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-330-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 8 How to count and get the path &amp;amp; name repositories&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-331-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-331-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 9 How to move data from a text file to excel sheet.&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-332-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-332-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 10 How to get all files and folders within a given folder?&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-333-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-333-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 11 How to connect to Oracle 10g from QTP 9.5 and run a SQL query.&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-334-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-334-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 12 get name of all the Recovery Scenarios associated with the test?&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-335-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-335-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 13 check if a particular library file is associated with a test&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-336-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-336-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 14 How to view the information about all the actions&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-337-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-337-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP Script 15 How to view the action information a Excel file?&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-338-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-338-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP帮助文档的使用&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明:如何使用QTP自带的帮助&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：入门&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-316-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-316-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;QTP: 怎么能够批量执行已经存在的测试呢？&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明: QTP如何批量执行多个测试，&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：入门&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-314-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-314-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 14px; line-height: 1.7; text-align: justify; "&gt;如何使用qtp检查网页中显示的文字颜色为指定的颜色&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;说明:这个比较有难度，不过这种情况很少见，遇到可以参考一下。&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;技术难度：中级，高级&lt;br style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " /&gt;&lt;a href="http://51it.ca/bbs/thread-312-1-1.html" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: none !important; color: #265e15; border-bottom-color: #999999; border-bottom-width: 1px; border-bottom-style: dashed; " target="_blank"&gt;http://51it.ca/bbs/thread-312-1-1.html&lt;/a&gt;&lt;/p&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/Hacker/aggbug/1754349.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Hacker/archive/2010/06/08/1754349.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Hacker/archive/2010/06/08/1754343.html</id><title type="text">QTP如何启动应用程序(转)</title><summary type="text">QTP提供了很多自动启动应用程序的办法，方法如下： 1)SystemUtil.Run 允许启动新的进程 格式：SystemUtil.Run file, [params], [dir], [op], [mode] 下面代码利用SystemUtil对象如何启动进程。 '启动IE SystemUtil.Run "iexplore.exe" SystemUtil.Run "iexplore.exe", "...</summary><published>2010-06-08T14:34:00Z</published><updated>2010-06-08T14:34:00Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Hacker/archive/2010/06/08/1754343.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/archive/2010/06/08/1754343.html"/><content type="html">&lt;div&gt;QTP提供了很多自动启动应用程序的办法，方法如下：&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1)SystemUtil.Run 允许启动新的进程&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;格式：SystemUtil.Run file, [params], [dir], [op], [mode]&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;下面代码利用SystemUtil对象如何启动进程。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'启动IE&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SystemUtil.Run "iexplore.exe"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SystemUtil.Run "iexplore.exe", "http://www.51testing.com/?72" '打开pcl blog&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SystemUtil.Run "iexplore.exe", "http://www.knowledgeinbox.com", , , 3&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;打开其他软件:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SystemUtil.Run "E:\software\xshell30.exe" &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2)InvokeApplication 启动应用程序&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;格式：InvokeApplication(Command [,StartIn])&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;例子：&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'启动ie&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InvokeApplication "IEXPLORE.EXE"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'启动计算器&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InvokeApplication "calc.exe"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3) COM - Wsh&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 利用Wsh对象进行启动&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;例子：&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim oShell&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set ōShell= CreateObject ("Wscrīpt.shell")&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oShell.Run "IEXPLORE.EXE"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Set ōShell = Nothing&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;oShell.Run "E:\software\xshell30.exe"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4)Qtp自动启动应用程序&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Qtp打开 Automation-〉Record and Run Settings 下进行设置&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5)录制启动过程&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;也可以手动将Dialog：运行的所有对象添加到对象库中，并首先启动dialog:运行&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dialog("运行").WinEdit("打开(O):").Set "calc"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dialog("运行").WinButton("确定").Click&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/Hacker/aggbug/1754343.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Hacker/archive/2010/06/08/1754343.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Hacker/archive/2010/06/04/1751131.html</id><title type="text">找出用户表中有重复密码的用户</title><summary type="text">这个例子是psql的，其他的也是一样，语法可能稍有不同。[代码]</summary><published>2010-06-03T18:34:00Z</published><updated>2010-06-03T18:34:00Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Hacker/archive/2010/06/04/1751131.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/archive/2010/06/04/1751131.html"/><content type="html">&lt;p&gt;这个例子是psql的，其他的也是一样，语法可能稍有不同。&lt;/p&gt;&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&lt;!--&lt;br/ /&gt;&lt;br/ /&gt;Code highlighting produced by Actipro CodeHighlighter (freeware)&lt;br/ /&gt;http://www.CodeHighlighter.com/&lt;br/ /&gt;&lt;br/ /&gt;--&gt;&lt;span style="color: #0000FF;"&gt;select&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;*&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;from&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;users&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;where&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;password&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;in&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;(&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;select&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;distinct&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;password&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;from&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;users&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;group&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;by&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;password&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;having&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF00FF;"&gt;count&lt;/span&gt;&lt;span style="color: #000000;"&gt;(password)&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;)&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Hacker/aggbug/1751131.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Hacker/archive/2010/06/04/1751131.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Hacker/archive/2010/06/04/1751129.html</id><title type="text">如何改变Linux Kennel中的shmmax参数</title><summary type="text">1，首先，看看你现在是多少，将来恢复的时候还用得上。sysctl -a | grep shmmaxkernel.shmmax = 335544322，然后，改掉它#sysctl -w kernel.shmmax=4294967296这种改变只是暂时的，下次重新启动还会改回来。要想永久改变，就要把这个加到/etc/sysctl.confkernel.shmmax = 4294967296</summary><published>2010-06-03T18:10:00Z</published><updated>2010-06-03T18:10:00Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Hacker/archive/2010/06/04/1751129.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/archive/2010/06/04/1751129.html"/><content type="html">&lt;p&gt;1，首先，看看你现在是多少，将来恢复的时候还用得上。&lt;/p&gt;&lt;div&gt;&lt;span style="border-collapse: separate; color: #000000; font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: 14pt;"&gt;&lt;font size="4"&gt;sysctl -a | grep shmmax&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&#xD;
&lt;p&gt;&lt;span  style="font-family: Arial; line-height: normal; font-size: large; "&gt;kernel.shmmax = 33554432&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2，然后，改掉它&lt;/p&gt;&lt;p&gt;&lt;span  style="font-family: Arial; line-height: normal; font-size: large; "&gt;#sysctl -w kernel.shmmax=4294967296&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;这种改变只是暂时的，下次重新启动还会改回来。要想永久改变，就要把这个加到&lt;span  style="font-family: Arial; line-height: normal; font-size: large; "&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;/etc/sysctl.conf&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span  style="font-family: Arial; line-height: normal; font-size: large; "&gt;kernel.shmmax = 4294967296&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Hacker/aggbug/1751129.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Hacker/archive/2010/06/04/1751129.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Hacker/archive/2010/06/02/1750383.html</id><title type="text">如何在C语言中使用constructor和destructor,gcc环境</title><summary type="text">使用这个功能，你就可以在main函数执行之前，和main函数退出之后，执行你自己想要的操作。具体原理，网上很多，自己google一下就找到了，这里只是给一个例子。[代码]运行结果:hello world!start == 0x4005fbstop == 0x40060bgoodbye world!</summary><published>2010-06-02T15:36:00Z</published><updated>2010-06-02T15:36:00Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Hacker/archive/2010/06/02/1750383.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/archive/2010/06/02/1750383.html"/><content type="html">&lt;p&gt;使用这个功能，你就可以在main函数执行之前，和main函数退出之后，执行你自己想要的操作。具体原理，网上很多，自己google一下就找到了，这里只是给一个例子。&lt;/p&gt;&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&lt;!--&lt;br/ /&gt;&lt;br/ /&gt;Code highlighting produced by Actipro CodeHighlighter (freeware)&lt;br/ /&gt;http://www.CodeHighlighter.com/&lt;br/ /&gt;&lt;br/ /&gt;--&gt;&lt;span style="color: #008080;"&gt;&amp;nbsp;1&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;#include&amp;nbsp;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;stdio.h&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;&amp;nbsp;2&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;#include&amp;nbsp;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;stdlib.h&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;&amp;nbsp;3&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;&amp;nbsp;4&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;start(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&amp;nbsp;__attribute__&amp;nbsp;((constructor));&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;&amp;nbsp;5&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;stop(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&amp;nbsp;__attribute__&amp;nbsp;((destructor));&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;&amp;nbsp;6&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;&amp;nbsp;7&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;&amp;nbsp;8&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;main(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;argc,&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;char&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #000000;"&gt;*&lt;/span&gt;&lt;span style="color: #000000;"&gt;argv[])&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;&amp;nbsp;9&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;10&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;start&amp;nbsp;==&amp;nbsp;%p\n&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&amp;nbsp;start);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;11&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;stop&amp;nbsp;==&amp;nbsp;%p\n&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&amp;nbsp;stop);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;12&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;13&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit(EXIT_SUCCESS);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;14&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;15&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;16&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;17&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;start(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;18&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;19&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;hello&amp;nbsp;world!\n&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;20&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;21&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;22&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;23&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;stop(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;24&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;25&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;goodbye&amp;nbsp;world!\n&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;26&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;27&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;运行结果:&lt;/p&gt;&lt;p&gt;hello world!&lt;/p&gt;&lt;p&gt;start == 0x4005fb&lt;/p&gt;&lt;p&gt;stop == 0x40060b&lt;/p&gt;&lt;p&gt;goodbye world!&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Hacker/aggbug/1750383.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Hacker/archive/2010/06/02/1750383.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Hacker/archive/2010/06/02/1750381.html</id><title type="text">如何在Ubuntu上update gem for ruby 1.9.1的版本</title><summary type="text">gem install rubygems-updatecd /var/lib/gems/1.9.1/binsudo ./update_rubygems</summary><published>2010-06-02T15:30:00Z</published><updated>2010-06-02T15:30:00Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Hacker/archive/2010/06/02/1750381.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/archive/2010/06/02/1750381.html"/><content type="html">&lt;div&gt;gem install rubygems-update&amp;nbsp;&lt;/div&gt;&lt;div&gt;cd /var/lib/gems/1.9.1/bin&lt;/div&gt;&lt;div&gt;sudo ./update_rubygems&lt;/div&gt;&lt;img src="http://www.cnblogs.com/Hacker/aggbug/1750381.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Hacker/archive/2010/06/02/1750381.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Hacker/archive/2010/05/21/1741292.html</id><title type="text">google疯了</title><summary type="text">我的主要设置的是google,今天电脑突然"呜呜"的怪叫，找不出什么毛病来，最后才发现，google今天的图片换成这个了经典游戏。好是好，但是上班的时候，电脑这么叫，的确很吓人啊。能不能先设置成静音，玩的时候在打开声音啊。今天google疯了！</summary><published>2010-05-21T15:43:00Z</published><updated>2010-05-21T15:43:00Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Hacker/archive/2010/05/21/1741292.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/archive/2010/05/21/1741292.html"/><content type="html">&lt;p&gt;&lt;img src="http://images.cnblogs.com/cnblogs_com/hacker/246964/r_google_game.PNG" width="640" height="302" alt="" /&gt;&lt;/p&gt;&lt;p&gt;我的主要设置的是google,今天电脑突然"呜呜"的怪叫，找不出什么毛病来，最后才发现，google今天的图片换成这个了经典游戏。好是好，但是上班的时候，电脑这么叫，的确很吓人啊。能不能先设置成静音，玩的时候在打开声音啊。&lt;/p&gt;&lt;p&gt;今天google疯了！&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Hacker/aggbug/1741292.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Hacker/archive/2010/05/21/1741292.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Hacker/archive/2010/05/19/1738874.html</id><title type="text">碰巧遇到一些智力面试题，解答一下</title><summary type="text">1，说澳大利亚的父母喜欢女孩，如果生出来的第一个女孩，就不再生了，如果是男孩就继续生，直到生到第一个女孩为止，问若干年后，男女的比例是多少；这个问题 我以为是什么智力问题，因为也看过不少有些面试官问问题，不一定要得到你的标准答案或者说根本就没有答案，他们只是想看到你对问题的处理能力，我就往社会 问题上答&amp;#8220;如果社会不平衡......&amp;#8221;，答了一会儿，他说不要将这个理解为社会问题...</summary><published>2010-05-19T01:27:00Z</published><updated>2010-05-19T01:27:00Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Hacker/archive/2010/05/19/1738874.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/archive/2010/05/19/1738874.html"/><content type="html">&lt;div&gt;1，说澳大利亚的父母喜欢女孩，如果生出来的第一个女孩，就不再生了，如果是男孩就继续生，直到生到第一个女孩为止，问若干年后，男女的比例是多少；这个问题 我以为是什么智力问题，因为也看过不少有些面试官问问题，不一定要得到你的标准答案或者说根本就没有答案，他们只是想看到你对问题的处理能力，我就往社会 问题上答&amp;#8220;如果社会不平衡......&amp;#8221;，答了一会儿，他说不要将这个理解为社会问题，就是一个简单的数学计算题。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;其实这个最简单，50%。很多人想不明白，是因为题目给了太多迷惑。反问你一个最简单的问题你就明白了，从来没有生过小孩的妈妈和生过一个小男孩的妈妈，在生下一个宝宝的时候，生男生女概率有什么不一样吗？&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2，第三，3点15的时针和分针的夹角是多少度，这个简单，有没有拐弯抹角，。时针转速是分钟的1/12,所以角度应该是90/12=7.5.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3， 有8瓶水，其中有一瓶有毒，最少尝试几次可以找出来。简单的说，就是二分法。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;其实对于这个题目，我一直有不同的看法，出题的往往说用小老鼠来试验，二分法如果是走极端情况下，要牺牲3个小老鼠。但是现实情况是，一只小老鼠往往比8瓶水还贵，所以应该用一只小老鼠，挨个挨个的试，试8次，牺牲一只小老鼠。呵呵，其实真正写程序也是这样，空间重要还是时间重要，往往要看需求。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/Hacker/aggbug/1738874.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Hacker/archive/2010/05/19/1738874.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Hacker/archive/2010/05/18/1737871.html</id><title type="text">避免在电脑上浪费时间的好办法</title><summary type="text">自己总结的，可能也只是对自己有用。第一，有明确目标，目标高尚好，不高尚也凑合，但是一定要明确。比如，当你按下电源，电脑开启的时候，你就要想清楚这次打开电脑的目的，完成了就关上。当你用鼠标点击屏幕上每一个像素，浏览器中每一个一个链接的时候，一定要清楚你要什么，达到就手工，别乱看。第二个，多用键盘，少用鼠标，你会发现用键盘的目标性比用鼠标要强10倍以上。</summary><published>2010-05-18T00:09:00Z</published><updated>2010-05-18T00:09:00Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Hacker/archive/2010/05/18/1737871.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/archive/2010/05/18/1737871.html"/><content type="html">&lt;span  style="font-family: Verdana, san-serif, 宋体; line-height: 20px; font-size: 12px; color: #555555; "&gt;&lt;div  style="margin-top: 20px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;&lt;p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;自己总结的，可能也只是对自己有用。&lt;/p&gt;&lt;p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;第一，有明确目标，目标高尚好，不高尚也凑合，但是一定要明确。比如，当你按下电源，电脑开启的时候，你就要想清楚这次打开电脑的目的，完成了就关上。当你用鼠标点击屏幕上每一个像素，浏览器中每一个一个链接的时候，一定要清楚你要什么，达到就手工，别乱看。&lt;/p&gt;&lt;p style="margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;第二个，多用键盘，少用鼠标，你会发现用键盘的目标性比用鼠标要强10倍以上。&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/Hacker/aggbug/1737871.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Hacker/archive/2010/05/18/1737871.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Hacker/archive/2010/05/18/1737868.html</id><title type="text">如何在Postgresql中产生自己的集合function</title><summary type="text">[代码]</summary><published>2010-05-18T00:05:00Z</published><updated>2010-05-18T00:05:00Z</updated><author><name>James</name><uri>http://www.cnblogs.com/Hacker/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Hacker/archive/2010/05/18/1737868.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Hacker/archive/2010/05/18/1737868.html"/><content type="html">&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&lt;!--&lt;br/ /&gt;&lt;br/ /&gt;Code highlighting produced by Actipro CodeHighlighter (freeware)&lt;br/ /&gt;http://www.CodeHighlighter.com/&lt;br/ /&gt;&lt;br/ /&gt;--&gt;&lt;span style="color: #0000FF;"&gt;CREATE&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;FUNCTION&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;join_two_with_comma(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;text&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;text&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;RETURNS&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;text&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LANGUAGE&amp;nbsp;sql&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;AS&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;$_$&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;SELECT&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF00FF;"&gt;CASE&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;WHEN&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;$&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;IS&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;NULL&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;OR&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;$&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;THEN&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;$&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;WHEN&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;$&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;IS&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;NULL&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;OR&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;$&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;THEN&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;$&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;ELSE&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;$&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;'&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;$&lt;/span&gt;&lt;span style="color: #800000; font-weight: bold;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;END&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;$_$;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;CREATE&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;AGGREGATE&amp;nbsp;join_with_comma(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;text&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&amp;nbsp;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SFUNC&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;join_two_with_comma,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;STYPE&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;text&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INITCOND&amp;nbsp;&lt;/span&gt;&lt;span style="color: #808080;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;);&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Hacker/aggbug/1737868.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Hacker/archive/2010/05/18/1737868.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry></feed>
