|
web_submit_form("reservations.pl_3",
"Snapshot=t6.inf",
ITEMDATA,
"Name=firstName", "Value=jo", ENDITEM,
"Name=lastName", "Value=jo", ENDITEM,
"Name=address1", "Value=dddd", ENDITEM,
"Name=address2", "Value=11222", ENDITEM,
"Name=pass1", "Value=jo jo", ENDITEM,
"Name=creditCard", "Value=88888888888888888888", ENDITEM,
"Name=expDate", "Value=2008", ENDITEM,
"Name=saveCC", "Value=<OFF>", ENDITEM,
"Name=buyFlights.x", "Value=35", ENDITEM,
"Name=buyFlights.y", "Value=12", ENDITEM,
LAST);
web_reg_find("Text=Thank you for booking through Mercury Tours", LAST);
上述脚本执行完成后报错:
Action.c(84): Error -26366: "Text=Thank you for booking through Mercury Tours" not found for web_reg_find [MsgId: MERR-26366]
可是我在执行的Result.qtp中确实看到web_submit_form函数成功返回,且界面中包含“Thank you for booking through Mercury Tours"的字样,请问各位大虾知道是怎么回事吗?
使用web_reg_save_param同样会报错 |
|