|
拿QQ来试试吧!
输入正确的用户名和密码,验证是否可以正常登陆
#如果QNL启动程序不存在,退出!
if(invoke_application("C:\\Program Files\\TELL\\StartUp.exe","","",show)!=0)
{
report_msg("QNL启动程序不存在,退出!");
texit;
}
# Call Me 用户登录
set_window ("Call Me 用户登录", 6);
list_select_item ("cmbUserName", "28880528"); # Item Number 1;
password_edit_set("txtPassword", "euhtgubtbuctdu");
button_press ("ThunderRT6CommandButton");
# Call Me
set_window ("Call Me", 11);
rc=obj_mouse_click ("picInfo", 10, 18, LEFT);
if (rc = E_OK)
tl_step ("用户名验证", PASS, "正常登陆");
else
tl_step ("用户名验证", FAIL, "不正常登陆");
这个适合旧一点的版本!新版你要自己录制! |
|