TA的每日心情 | 开心 2014-12-26 13:34 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
问题已解决
运行成功:
-
- lr_save_string( lr_eval_string("test{Num}"),"Words" );
- web_reg_find("Text={Words}", "Search=Body",LAST); //就是这句的问题
- web_submit_data("login.pl",
- "Action=http://test3:2000/mercurywebtours/login.pl",
- "Method=POST","RecContentType=text/html",
- "Referer=http://test3:2000/mercurywebtours/nav.pl?in=home",
- "Snapshot=t2.inf","Mode=HTML",ITEMDATA,
- "Name=userSession", "Value={WCSParam_Diff1}", ENDITEM,
- "Name=username", "Value={Words}", ENDITEM,
- "Name=password", "Value={Words}", ENDITEM,
- "Name=JSFormSubmit", "Value=off", ENDITEM,
- "Name=login.x", "Value=0", ENDITEM,
- "Name=login.y", "Value=0", ENDITEM,LAST);
复制代码
运行失败:
-
- lr_save_string( lr_eval_string("test{Num}"),"Words" );
- web_reg_find("Text=test{Num}", "Search=Body",LAST); //就是这句的问题
- web_submit_data("login.pl",
- "Action=http://test3:2000/mercurywebtours/login.pl",
- "Method=POST","RecContentType=text/html",
- "Referer=http://test3:2000/mercurywebtours/nav.pl?in=home",
- "Snapshot=t2.inf","Mode=HTML",ITEMDATA,
- "Name=userSession", "Value={WCSParam_Diff1}", ENDITEM,
- "Name=username", "Value={Words}", ENDITEM,
- "Name=password", "Value={Words}", ENDITEM,
- "Name=JSFormSubmit", "Value=off", ENDITEM,
- "Name=login.x", "Value=0", ENDITEM,
- "Name=login.y", "Value=0", ENDITEM,LAST);
复制代码 |
|