|
录制的脚本是这样的: Flight Reservation
set_window ("Flight Reservation", 6);
menu_select_item ("File;Open Order...");
# Open Order
set_window ("Open Order", 1);
button_set ("Order No.", ON);
edit_set ("Edit_1", "3");
button_press ("OK");
# Flight Reservation
set_window ("Flight Reservation", 3);
menu_select_item ("File;Fax Order...");
# Fax Order No. 3
set_window ("Fax Order No. 3", 4);
edit_get_text("# Tickets:",tickets);
edit_get_text("Ticket Price:",price);
edit_get_text("Total:",total);
# check that the total ticeket price is calculated correctly.
if (tickets*price== total)
tl_step("total", 0, ''Total is correct.");
else
tl_step("total",1,''Total is incorrect.");
button_press ("Cancel");
红色的地方老通不过,我也不知道什么原因,我是按照这个做的。请各位帮我一下, 很急! |
|