|
增加同步点执行为何结果不对呢?
错误描述:
button_press:"Delete Order"Error:Object is currently disabled
button_press:"是(Y)"Error:Object is not found
button_press:"是(Y)"Error:Object is not in the GUI map
下面是记录的脚本
# Flight Reservation
win_activate ("Flight Reservation");
set_window ("Flight Reservation", 3);
obj_type ("MSMaskWndClass","2<kBackSpace>112604");
list_select_item ("Fly From:", "Frankfurt"); # Item Number 1;
list_select_item ("Fly To:", "London"); # Item Number 1;
obj_mouse_click ("FLIGHT", 42, 39, LEFT);
# Flights Table
set_window ("Flights Table", 2);
list_select_item ("Flight", "13536 FRA 08:00 AM LON 08:45 AM SR $163.00"); # Item Number 2;
button_press ("OK");
# Flight Reservation
set_window ("Flight Reservation", 4);
edit_set ("Name:", "gh");
button_set ("First", ON);
button_press ("Insert Order");
set_window ("Flight Reservation", 17);
obj_wait_bitmap("Delete Order", "Img7", 10);
button_press ("Delete Order");
# Flight Reservations
set_window ("Flight Reservations", 3);
set_window("Flight Reservation");
button_press ("Delete Order");
斑竹上次的问题经过你的指点,已经解决,今天又出来了一个问题,请指教呀 |
|