QTP读取外部数据表的方法

上一篇 / 下一篇  2008-07-29 17:46:57

 

 

Option Explicit

On Error Resume Next

Dim mywd,cnt
datatable.Import("E:\test.xls")
cnt=datatable.GetRowCount

Dim i
msgbox cnt
For i=1to cnt
datatable.SetCurrentRow(i)
mywd=datatable.Value("mywd",1)


TAG:

 

评分:0

我来说两句

我的栏目

日历

« 2024-04-23  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 3680
  • 日志数: 7
  • 建立时间: 2008-07-29
  • 更新时间: 2008-08-25

RSS订阅

Open Toolbar