qtp怎样从Data表中取数值赋值给定义的参数?
我想从表中第一列读取1,2,3,4,5,6,7,8,9,0赋值给a,并且实现下面代码:Fori=1to10Dimaa=cells(i,1)Window("BasicWin...
我想从表中第一列读取 1,2,3,4,5,6,7,8,9,0
赋值给a,并且实现下面代码:
For i=1 to 10
Dim a
a=cells(i,1)
Window("BasicWindow Most Bottom").WinObject("BasicWindow Child").Click 176,96
Window("BasicWindow Most Bottom").WinObject("0").Type a
Window("BasicWindow Most Bottom").WinObject("BasicWindow Child").Click 167,148
Next 展开
赋值给a,并且实现下面代码:
For i=1 to 10
Dim a
a=cells(i,1)
Window("BasicWindow Most Bottom").WinObject("BasicWindow Child").Click 176,96
Window("BasicWindow Most Bottom").WinObject("0").Type a
Window("BasicWindow Most Bottom").WinObject("BasicWindow Child").Click 167,148
Next 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询