|
在下面的程序里我给 Insert Order button 设立了一个checkpoint(红色部分), 该button 的enabled属性与检查点里设
置的并不一致,是但程序结束后在Report里没有任何的记录,也就是说该句检查点没有起到任何作用.
所以我想问, 在什么情况下才会用到检查点这个功能? 谢谢.
set_window ("Flight Reservation", 3);
obj_mouse_click ("MSMaskWndClass", 3, 7, LEFT);
obj_type ("MSMaskWndClass","100106");
list_select_item ("Fly From:", "Denver"); # Item Number 0;
list_select_item ("Fly To:", "London"); # Item Number 1;
obj_mouse_click ("FLIGHT", 45, 29, LEFT);
# Flights Table
set_window ("Flights Table", 2);
list_select_item ("Flight", "20261 DEN 09:12 AM LON 04:23 PM AA $112.20"); # Item Number 1;
button_press ("OK");
# Flight Reservation
set_window ("Flight Reservation", 10);
edit_set ("Name:", " ff ");
set_window("Flight Reservation", 1);
button_check_info("Insert Order", "enabled", 0); |
|