|
录制的目标application 如图,错误发生在2层结构表格的处理,
QTP回放报错如下图所示
[localimg=1008,654]1[/localimg]
试过,直接给单元格赋值SwfWindow("IPS").SwfWindow("Create Misc. Invoice").SwfTable("ugdLocalCharge").SetCellData "0;0","Revenue Office", "SHA/OLCL", QTP回放会有excpetion error
于是想尝试先点击一下该单元格,因为有了图示代码,
Dim x, y
x=SwfWindow("IPS").SwfWindow("Create Misc. Invoice").SwfTable("ugdLocalCharge").GetCellProperty ("0;0","Revenue Office","x")
y=SwfWindow("IPS").SwfWindow("Create Misc. Invoice").SwfTable("ugdLocalCharge").GetCellProperty( "0;0","Revenue Office","y")
SwfWindow("IPS").SwfWindow("Create Misc. Invoice").SwfTable("ugdLocalCharge").Click x,y
可惜还是不灵光啊!
哪位高人前辈指点一下,多谢啦 |
|