TA的每日心情 | 开心 2015-10-19 13:26 |
---|
签到天数: 2 天 连续签到: 2 天 [LV.1]测试小兵
|
自定义的.net dll
在QTP中用DotNetFactory后,能按.弹出方法提示吗?
如Set dllTestObj = DotNetFactory.CreateInstanc("DRTT.OracleHelper","G:\test\qtp_test.dll")
MsgBox dllTestObj.
' 这儿按.后如何能自动提示包含的方法,属性等?GetData("select count(*) from mdt_distributor")
-------------------------------------------------------------------------------------------------------------
Dim dllTestObj
'myTest:项目名称;QTPTest:类名;
Set dllTestObj = DotNetFactory.CreateInstance("DRTT.OracleHelper","G:\test\qtp_test.dll")
MsgBox dllTestObj.GetData("select count(*) from mdt_distributor")
Set dllTestObj = Nothing |
|