|
脚本如下:
Action()
{
lr_think_time(11);
web_url("clicknewtask.do",
"URL=http://192.168.15.3/myweb/clicknewtask.do",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.15.3/myweb/calendarwork.do",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
lr_think_time(37);
web_submit_data(
...................................
);
web_url("search.jsp_3",
"URL=http://192.168.15.3/myweb/search.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.15.3/myweb/login.do",
"Snapshot=t9.inf",
"Mode=HTML",
LAST);
lr_think_time(7);
//显示
web_url("calendardisp.do",
"URL=http://192.168.15.3/myweb/calendardisp.do?authority=1&taskID=6803",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.15.3/myweb/login.do",
"Snapshot=t10.inf",
"Mode=HTML",
LAST);
lr_think_time(4);
//删除
web_url("calendardel.do",
"URL=http://192.168.15.3/myweb/calendardel.do?taskID=6803&serialnum=null",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.15.3/myweb/login.do",
"Snapshot=t11.inf",
"Mode=HTML",
LAST);
web_url(
。。。。。。。。。。。。。。。。。
);
return 0;
}
taskID的值是我在上面web_submit_data();中mysql数据库自动增加的编号,我怎么用lr把他取出来?我的目的是做个脚本先添加一个,然后再把它删除掉。
麻烦高手说的详细些。 |
|