day04_参数化

Action()
{
    web_url("open","URL=http://192.168.50.131:7034/viraccount/loginview/",LAST);
    
    web_submit_data("web_submit_data",
        "Action=http://192.168.50.131:7034/VirAccount/LoginSub",
        "Method=POST",
        "EncodeAtSign=YES",
        "TargetFrame=",
        "Referer=",
        "Mode=HTML",
        ITEMDATA,
        "Name=usernameOrEmailAddress", "Value={username}", ENDITEM,
        "Name=password", "Value=111111", ENDITEM,
        "Name=rememberMe", "Value=true", ENDITEM,
        "Name=isValidateLogin", "Value=0", ENDITEM,
        LAST);
    //输出
    lr_output_message(lr_eval_string("{username}"));
    return 0;
}

猜你喜欢

转载自www.cnblogs.com/xiaochunblog/p/10963740.html