标题: 请教winrunner学习中的问题 [打印本页] 作者: panda 时间: 2004-11-25 17:32 标题: 请教winrunner学习中的问题 增加同步点执行为何结果不对呢?
错误描述:
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");