Action() {
web_url("mercuryWebTours", "URL=http://127.0.0.1:1080/mercuryWebTours/", "Resource=0", "RecContentType=text/html", "Referer=", "Snapshot=t1.inf", "Mode=HTML", LAST);
lr_think_time(8);
web_link("sign up now", "Text=sign up now", "Snapshot=t2.inf", LAST);
web_add_cookie("PREF=ID=f884d9b15e15f77e:TB=2:NW=1:TM=1228353811:LM=1228353811:S=rPWdEj_ZZsvgzK9y; DOMAIN=");
web_url("dictionary", "URL=http:///tbproxy/dictionary?sourceid=navclient&ie=UTF-8&oe=UTF-8&text=like&langpair=en|zh-CN&sig=62828400034&hl=zh-CN", "Resource=0", "RecContentType=text/html", "Referer=", "Snapshot=t3.inf", "Mode=HTML", LAST);
lr_think_time(6);
web_submit_data("login.pl", "Action=http://127.0.0.1:1080/MercuryWebTours/login.pl", "Method=POST", "RecContentType=text/html", "Referer=http://127.0.0.1:1080/MercuryWebTours/login.pl?username=&password=&getInfo=true", "Snapshot=t4.inf", "Mode=HTML", ITEMDATA, "Name=username", "Value=A", ENDITEM, "Name=password", "Value=A", ENDITEM, "Name=passwordConfirm", "Value=A", ENDITEM, "Name=firstName", "Value=A", ENDITEM, "Name=lastName", "Value=A", ENDITEM, "Name=address1", "Value=A", ENDITEM, "Name=address2", "Value=A", ENDITEM, "Name=register.x", "Value=34", ENDITEM, "Name=register.y", "Value=9", ENDITEM, LAST);
lr_think_time(7);
web_submit_form("login.pl_2", "Snapshot=t5.inf", ITEMDATA, "Name=username", "Value=B", ENDITEM, "Name=password", "Value=A", ENDITEM, "Name=passwordConfirm", "Value=A", ENDITEM, "Name=firstName", "Value=A", ENDITEM, "Name=lastName", "Value=A", ENDITEM, "Name=address1", "Value=A", ENDITEM, "Name=address2", "Value=A", ENDITEM, "Name=register.x", "Value=49", ENDITEM, "Name=register.y", "Value=12", ENDITEM, LAST);
lr_think_time(5);
web_submit_form("login.pl_3", "Ordinal=1", "Snapshot=t6.inf", ITEMDATA, "Name=username", "Value=123", ENDITEM, "Name=password", "Value=A", ENDITEM, "Name=passwordConfirm", "Value=A", ENDITEM, "Name=firstName", "Value=A", ENDITEM, "Name=lastName", "Value=A", ENDITEM, "Name=address1", "Value=A", ENDITEM, "Name=address2", "Value=A", ENDITEM, "Name=register.x", "Value=54", ENDITEM, "Name=register.y", "Value=15", ENDITEM, LAST);
web_image("button_next.gif", "Src=/MercuryWebTours/images/button_next.gif", "Snapshot=t7.inf", LAST);
web_image("SignOff Button", "Alt=SignOff Button", "Snapshot=t8.inf", LAST);
return 0; }
|