johnnysam 发表于 2010-7-14 11:26:16

脚本中如何获取某个值

web_submit_data("login.aspx",
                "Action=http://passport-office.urgamer.com/login.aspx",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://passport-office.urgamer.com/",
                "Snapshot=t4.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState2}", ENDITEM,
                "Name=__EVENTVALIDATION", "Value=/wEWBQKasMToDAKUj8fhDAK1qbSRCwKu9tTtBQKC3IeGDKqj+JHf1gpPbhZUHtjDs5GkJFec", ENDITEM,
                "Name=txtAccount", "Value=shenqiong", ENDITEM,
                "Name=txtPassword", "Value=shen1990", ENDITEM,
                "Name=txtValidate", "Value=7094", ENDITEM,
                "Name=btnLogin.x", "Value=51", ENDITEM,
                "Name=btnLogin.y", "Value=20", ENDITEM,
                EXTRARES,
                "Url=/App_Themes/images/left_08.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/left_11.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/left_09.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/left_12.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/news_10.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/login_15.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/login_14.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/icon/but_01.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/Captcha.aspx?no=1382337499", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                "Url=/App_Themes/images/icon/leftMenu29_02.jpg", "Referer=http://passport-office.urgamer.com/AccountCenter/index.aspx", ENDITEM,
                LAST);

如何获取 txtAccount和txtPassword的值用lr_log_message输出

云层 发表于 2010-7-14 12:39:30

这是你输入的,只能参数化不能获得

msnshow 发表于 2010-7-14 13:23:32

从你的数据库中查询
页: [1]
查看完整版本: 脚本中如何获取某个值