|
6#
楼主 |
发表于 2009-5-22 16:29:49
|
只看该作者
web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value={WCSParam_Diff1}", ENDITEM,
"Name=username", "Value={username}", ENDITEM,
"Name=password", "Value={password}", ENDITEM,
"Name=JSFormSubmit", "Value=on", ENDITEM,
LAST);
//Óû§µÇ¼
lr_think_time(60);
web_find("web_find",
"RightOf=welcome, ",
"LeftOf=, to the Web Tours reservation pages.",
"What={username}",
LAST);
lr_output_message("Óû§Ãû£º%S", lr_eval_string("{username}"));
lr_output_message("ÃÜÂ룺%S", lr_eval_string("{password}")); |
|