这部分代码如下,出错在第3行
SwfWindow("Admin Tool").SwfToolbar("toolStrip1_2").Press "New"
SwfWindow("Admin Tool").SwfTable("mGridView_qes").SetCellData 0,"Description","qes1"
SwfWindow("Admin Tool").SwfTable("mGridView_qes").SelectCell 0,"Is Summary"
SwfWindow("Admin Tool").SwfTable("mGridView_qes").SetCellData 0,"Is Summary",True
SwfWindow("Admin Tool").SwfToolbar("toolStrip1_2").Press "New"
SwfWindow("Admin Tool").SwfTable("mGridView_qes").SelectCell 1,"Description"
SwfWindow("Admin Tool").SwfToolbar("toolStrip1_2").Press "Save"
望前辈解答(才学QTP,问题多多),谢谢 |