loadrunner 8.1(web(click and script)协议)录制,脚本需要修改哪些?
我录制登录如下:Action()
{
web_browser("Please enter the initial URL here",
DESCRIPTION,
ACTION,
"Navigate=Please enter the initial URL here",
LAST);
web_edit_field("userId",
"Snapshot=t1.inf",
DESCRIPTION,
"Type=text",
"Name=userId",
ACTION,
"SetValue=test000001",
LAST);
web_edit_field("password",
"Snapshot=t2.inf",
DESCRIPTION,
"Type=password",
"Name=password",
ACTION,
"SetEncryptedValue=46f1c2b9c94e7992cba6",
LAST);
web_edit_field("verifyCode",
"Snapshot=t3.inf",
DESCRIPTION,
"Type=text",
"Name=verifyCode",
ACTION,
"SetValue=1111",
LAST);
web_image_submit("image",
"Snapshot=t4.inf",
DESCRIPTION,
"Alt=",
"Name=image",
ACTION,
"ClickCoordinates=24,12",
LAST);
return 0;
}
结果发现录制完后,web_browser需要自己手工添加url,web_image_submit处总是说找不到image,大家有什么好的解决办法吗? 123
我改了录制选项后,录制超慢,然后总是报IE错误自动关闭。
默认录制选项GUI-based script,我改成HTML-based script后,录制超慢,然后总是报IE错误自动关闭。我卸载重装还是这样!!!!现在是根本录制不了!!! 我也碰到过了···不知道怎么解决,我的是PC程序端的录制
页:
[1]