|
我在设置完runtime record checkpoint wizard后运行测试脚本,在测试结果中对于runtime record checkpoint总是提示为:the sql statement you have entered is nod valid.但相同的sql语句在defautl check中设置却是可以运行的,实在不明白哪里出问题拉?
我在runtime record checkpoint wizard中设置的sql语句是:select Orders.Customer_Name from Orders
整个测试代码是在winrunner自带的Flights 4A中订机票:
# Flight Reservation
win_activate ("Flight Reservation");
set_window ("Flight Reservation", 1);
obj_type ("MSMaskWndClass","122005");
#obj_get_info("MSMaskWndClass","value",aa);
#report_msg(aa);
。。。。。。。
。。。。。。。。。
#设置数据库检查点
db_check("list5.cdl", "dbvf1");
db_check("list8.cdl", "dbvf2");
db_record_check("list7.cvr", DVR_ONE_MATCH, record_num);
edit_get_text("Order No:",order);
report_msg(order & "is 机票单");
。。。。。。。。。 |
|