|
1 Set ir=DataTable.LocalSheet
2 im=ir.GetRowCount
3 ip=RandomNumber(0,im)
4 msgbox ip
5 DataTable.LocalSheet.SetCurrentRow ip
6 Window("Flight Reservation").WinObject("Date of Flight:").Type DataTable.Value ("A","booking")
7 wait(5)
8 Set fromcount = 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却真实存在对象库啊 |
|