|
开发工具为.net
public partial class test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
System.Web.HttpContext.Current.Response.Cache.SetMaxAge(new TimeSpan(0));
string userCode;
TextBox1.Text = "sbb_cl";
}
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("http://localhost:1099/webtest/login.aspx?userCode=" + TextBox1.Text);
}
}
用LoadRunner生成测试脚本后,有三个页面page view,serverResponse,clientQeuest
我用参数无法替换TextBox1的值;(我的参数设为useCode,为file),在TextBox的value值点击右键,只有创建参数,运行脚本时,参数选择是正确的,但页面还是默认的值,怎样解决呢,才学load runner,请各位帮助!谢谢1 |
|