|
新人求助,录制用户登录的脚本时
界面为: 用户名、密码输入框
登录按钮
但是我用RapidTest Script Wizard 设定GUI MAP时不能识别上面的控件,导致我录制脚本的时候代码如下。
# 工作流系统 - Microsoft Internet Explorer
set_window ("工作流系统 - Microsoft Internet Explorer", 3);
obj_mouse_click ("Internet Explorer_Server", 174, 140, LEFT);
obj_mouse_click ("Internet Explorer_Server", 688, 347, LEFT);
obj_type ("Internet Explorer_Server","1101000000");
obj_mouse_click ("Internet Explorer_Server", 690, 383, LEFT);
obj_type ("Internet Explorer_Server","000000");
obj_mouse_click ("Internet Explorer_Server", 830, 416, LEFT);
# Shell_TrayWnd
set_window ("Shell_TrayWnd", 4);
toolbar_button_press ("ToolbarWindow32_0", "WinRunner - [Noname1*]"); # Button Number 3; |
|