|
我录制登录如下:
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,大家有什么好的解决办法吗? |
|