|
4#
楼主 |
发表于 2006-9-13 21:56:51
|
只看该作者
# Flight Reservation
win_activate ("Flight Reservation");
set_window ("Flight Reservation", 1);
menu_select_item ("File;New Order");
obj_type ("MSMaskWndClass","0913<kBackSpace>406");
list_select_item ("Fly From:", "Denver"); # Item Number 0;
list_select_item ("Fly To:", "San Francisco"); # Item Number 5;
obj_mouse_click ("FLIGHT", 21, 32, LEFT);
# Flights Table
set_window ("Flights Table", 1);
list_select_item ("Flight", "6195 DEN 08:00 AM SFO 11:30 AM AA $176.47"); # Item Number 9;
button_press ("OK");
# Flight Reservation
set_window ("Flight Reservation", 2);
edit_set ("Name:", "Jojo");
button_set ("First", ON);
button_press ("Insert Order");
obj_wait_bitmap("Insert Done...", "Img1", 13);
win_activate ("Flight Reservation");
set_window ("Flight Reservation", 5);
menu_select_item ("File;New Order"); |
|