上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: Dim RepositorySet Repository = CreateObject("Mercury.ObjectRepositoryUtil.1")Repository.Load "C:\Test.tsr"'Set Repository = XMLUtil.CreateXMLFromFile("C:\Temp\TestOR.xml")'This array will be used to store all the object definitionsDim outArrayRedim outArray(0)&# 阅读全文
posted @ 2013-06-14 16:37 dushuai 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1.The SIEBEL add-in uses SIEBEL Automation API, so if a SIEBEL application is lauched before QTP, QTP will still be able to indentify the Siebel objects. This is because even though Siebel runs inside a web Browser, QTP will not identify the Browser properly but rather identify it as a normal native 阅读全文
posted @ 2013-06-14 15:22 dushuai 阅读(169) 评论(0) 推荐(0) 编辑
摘要: JAVA性能剖析1——JVM内存管理与垃圾回收内存管理和垃圾回收是JVM非常关键的点,对Java性能的剖析而言,了解内存管理和垃圾回收的基本策略非常重要。最近进行了系列性能测试培训,对JVM内存管理涉及到的概念重新学习梳理了遍,总结下方便大家共同学习进步。一、为什么要分代在程序运行过程当中,会创建大量的对象,这些对象大部分是短周期的对象,小部分是长周期的对象。对于短周期的对象,需要频繁地进行垃圾回收以保证无用对象尽早被释放掉,对于长周期对象,则不需要频繁垃圾回收以确保无谓地垃圾扫描检测。为了解决这种矛盾,Sun JVM的内存管理采用分代的策略。二、如何分代这里先上传一张模型图:如图所示,虚拟机 阅读全文
posted @ 2013-05-09 16:13 dushuai 阅读(196) 评论(0) 推荐(0) 编辑
摘要: TC_Path = "***"process_name = "BL"Set fso = CreateObject("Scripting.FileSystemObject")Set parentFolders = fso.GetFolder(TC_Path & process_name)Set fc = parentFolders.SubFolderstcid = ""For Each f in fc tc_name = f.name' index = Instr(1, tc_name, " 阅读全文
posted @ 2013-04-16 18:17 dushuai 阅读(275) 评论(0) 推荐(0) 编辑
摘要: Possible fixOpen a command prompt (Start > Run > type "cmd" > "Ok")Navigate to "/bin" directory (for example: "cd C:\Program Files\HP\QuickTest Professional")Run the following command:nt_tr.exe -removeReboot the machine. 阅读全文
posted @ 2013-01-10 15:50 dushuai 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Public Function QTP_Release_Memory(hwnd) Extern.Declare micVoid,"SendMessageA","user32.dll","SendMessageA",micHwnd,micInteger,micInteger,micInteger SC_MINIMIZE = &HF020& SC_MAXIMIZE = &HF030& WM_SYSCOMMAND = &H112 Extern.SendMessageA hwnd,WM_SYSCOMMA 阅读全文
posted @ 2012-12-25 17:05 dushuai 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-09-26 16:35 dushuai 阅读(58) 评论(0) 推荐(0) 编辑
摘要: Index - Indicates the order in which the object appears in the application coderelative to other objects. Location - Indicates the order in which the object appears on the screen. Values areassigned from top to bottom, and then left to right. CreationTime - Indicates the order in which the Brows... 阅读全文
posted @ 2012-09-26 16:32 dushuai 阅读(181) 评论(0) 推荐(0) 编辑
摘要: The SIEBEL add-in uses SIEBEL Automation API, so if a SIEBEL application islaunched before QTP, QTP will still be able to identify the Siebel objects. This isbecause even though Siebel runs inside a web Browser, QTP will not identify theBrowser properly but rather identify it as a normal native wind 阅读全文
posted @ 2012-09-26 09:56 dushuai 阅读(188) 评论(0) 推荐(0) 编辑
摘要: '这里通过把百度搜索封装成GUI层作为例子来举例:Class BaiduSearchPrivate m_htChildObjects '定义变量作为Scripting.Dictionary'***********为变量设置Get Set方法*************Public Property Get ChildObjects()Set ChildObjects = m_htChildObjectsEnd PropertyPublic Property Let ChildObjects(ByRef dic)Set m_htChildObjects = dicEnd P 阅读全文
posted @ 2012-09-15 21:51 dushuai 阅读(451) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页