zhangshuqingv 发表于 2013-11-12 20:49:21

新人求助

1 Set ir=DataTable.LocalSheet
2 im=ir.GetRowCount
3 ip=RandomNumber(0,im)
4 msgbox ip
5 DataTable.LocalSheet.SetCurrentRowip
6 Window("Flight Reservation").WinObject("Date of Flight:").TypeDataTable.Value ("A","booking")
7 wait(5)
8 Setfromcount = Window("Flight Reservation").WinComboBox("Fly From:").GetROProperty ("items count")
9 Window("Flight Reservation").WinComboBox("Fly From:").Select
10 Window("Flight Reservation").Close
求助大神为什么到了8行为什么提示对象不存在呢Fly From却真实存在对象库啊

lsekfe 发表于 2014-5-9 11:38:59

1 Set ir=DataTable.LocalSheet
2 im=ir.GetRowCount
3 ip=RandomNumber(0,im) ...
zhangshuqingv 发表于 2013-11-12 20:49 http://bbs.51testing.com/images/common/back.gif


    你把截图传上来吧!!你这个不完整啊!!
页: [1]
查看完整版本: 新人求助