录制的函数是web_submit_form我要怎么设置成web_submit_data啊,求解
web_url("index.htm",
"URL=http://127.0.0.1:1080/WebTours/index.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
lr_think_time(19);
lr_start_transaction("1_Login");
web_submit_form("login.pl",
"Snapshot=t4.inf",
ITEMDATA,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=login.x", "Value=0", ENDITEM,
"Name=login.y", "Value=0", ENDITEM,
LAST);
lr_end_transaction("1_Login",LR_AUTO);
lr_think_time(15);
web_image("Search Flights Button",
"Alt=Search Flights Button",
"Snapshot=t5.inf",
LAST);
lr_think_time(34);
lr_start_transaction("2_find flight");
web_submit_form("reservations.pl",
"Snapshot=t6.inf",
ITEMDATA,
"Name=depart", "Value=London", ENDITEM,
"Name=departDate", "Value=09/05/2018", ENDITEM,
"Name=arrive", "Value=Paris", ENDITEM,
"Name=returnDate", "Value=09/06/2018", ENDITEM,
"Name=numPassengers", "Value=1", ENDITEM,
"Name=roundtrip", "Value=<OFF>", ENDITEM,
"Name=seatPref", "Value=Window", ENDITEM,
"Name=seatType", "Value=First", ENDITEM,
"Name=findFlights.x", "Value=42", ENDITEM,
"Name=findFlights.y", "Value=15", ENDITEM,
LAST);