|
以下是FLIGHT上录制的脚本
[code]
For i=1 to 3
Window("Flight Reservation").Activate
Window("Flight Reservation").WinButton("Button").Click
Window("Flight Reservation").ActiveX("MaskEdBox").Type "090909"
Window("Flight Reservation").WinComboBox("Fly From:").Select DataTable("p_Item", dtLocalSheet)
datatable.LocalSheet.setnextrow
For j=1 to 3
Window("Flight Reservation").WinComboBox("Fly To:").Select DataTable("p_Item1", dtLocalSheet)
datatable.LocalSheet.setnextrow
Next
Next
[localimg=400,250]1[/localimg]
我希望的循环是
london->denver frn->port london->paris fran->den fran->port fran->paris seattle->denver sea->port sea->paris 3*3
而上面的代码实际上运行的是london->denver frn->port london->paris fran->port fran->paris sea->paris 3*2
怎么样代码才能达到我希望的循环??
|
|