|
3#
楼主 |
发表于 2007-12-5 13:56:02
|
只看该作者
set_window ("管理系统_2", 2);
obj_mouse_click ("bindingNavigatorEx1", 274, 10, LEFT);
obj_mouse_click ("WindowsForms10.Window.b.app.0.3ce0bb8_15", 157, 9, LEFT);
set_window ("案件_1", 1);
obj_mouse_click ("WindowsForms10.EDIT.app.0.3ce0bb8", 16, 6, LEFT);
obj_type ("WindowsForms10.EDIT.app.0.3ce0bb8","1");
obj_mouse_drag ("bindingNavigatorEx1", 334, 16, 334, 15, LEFT);
obj_mouse_dbl_click ("WindowsForms10.Window.8.app.0.3ce0bb8", 301, 130, LEFT);
set_window ("管理系统_2", 2);
obj_mouse_click ("bindingNavigatorEx1_2", 316, 11, LEFT);
set_window ("管理系统_1", 0);
button_press ("确定_1");
set_window ("Shell_TrayWnd", 1);
toolbar_button_press ("ToolbarWindow32_1_1", "WinRunner - [Noname2*]"); # Button Number 4;
第五行是单击一个输入框控件,使其获得焦点,第六行是我在输入框中输入“1”。当回放到第五行的时候,wr提示找不到对象。请大家帮帮忙了
[ 本帖最后由 tanxiao02 于 2007-12-5 13:58 编辑 ] |
|