摘要: ' ******************************** Function Library ********************************* ' Registering both functions RegisterUserFunc "WebTable", "ObjectsByMicClass", "ObjectsByMicClass" RegisterUserFun... 阅读全文
posted @ 2011-12-31 23:56 高级测试开发网 阅读(466) 评论(0) 推荐(0) 编辑
摘要: '功能:提交bug信息到QC中'函数参数:url代表连接QC的url(例如http://localhost:8080/qcbin),projectname代表需要执行'QC'连接的工程名称,username代表QC的用户名,password代表连接QC的用户的密码,buginfo代'表连接QC后提交的bug信息,数组类型,数组中第一个代表bug的状态,第二个代表bug的主题,'第三个代表bug的优... 阅读全文
posted @ 2011-12-31 22:28 高级测试开发网 阅读(733) 评论(0) 推荐(0) 编辑
摘要: 采用vbs进行调用邮箱进行发送邮件,这个主要可以使用在QTP中例如执行完用例后调用该方法进行通知项目组的人员,测试的一些执行情况。 方法如下: Function SendMail(SendTo, Subject, Body, Attachment) Set ol=CreateObject("Outlook.Application") Set Mail=ol.CreateItem(0... 阅读全文
posted @ 2011-12-31 22:08 高级测试开发网 阅读(346) 评论(0) 推荐(0) 编辑
摘要: '<--------- Browser("HTC Sense - Select your").Page("HTC Sense - Select your").Link(" United States").Click '录制点击“United States"的操作 '----------> '<--------- Browser("HTC Sense - Select your").Page("HT... 阅读全文
posted @ 2011-12-31 17:16 高级测试开发网 阅读(367) 评论(0) 推荐(0) 编辑
摘要: *******************************************************************************************'功能:时间字符串格式转换'参数:str代表时间字符串,formatdata代表需要截取的字符'返回值:获取你所需指定的单元格的值'作者:'***************************************... 阅读全文
posted @ 2011-12-31 17:15 高级测试开发网 阅读(732) 评论(0) 推荐(0) 编辑
摘要: SystemUtil.Run "http://www.kaixin001.com" ‘打开网址 SystemUtil.Run "F:\vb工程\vbscript学习\test.txt" ‘打开文件test.txt SystemUtil.CloseDescendentProcesses ‘关闭所有QTP打开的进程 SystemUtil.CloseProcessByName "iexplore.exe... 阅读全文
posted @ 2011-12-31 17:15 高级测试开发网 阅读(305) 评论(0) 推荐(0) 编辑
摘要: How to import and export sheets from Quality Center using DataTable of QTP ? I came across this problem recently when we decided to store our excel files in test plan module of Quality Center(Version ... 阅读全文
posted @ 2011-12-31 15:09 高级测试开发网 阅读(1791) 评论(0) 推荐(0) 编辑
了解开发资源最新动态:https://seniortesting.club