|
我很菜!高手们,帮我看看我这个录制是哪里出了的问题?
我进行了简单的录制,如以下代码:
# Form1
win_activate ("Form1");
set_window ("Form1", 2);
obj_mouse_click ("WindowsForms10.EDIT.app3_6", 24, 2, LEFT);
obj_type ("WindowsForms10.EDIT.app3_6","1");
obj_mouse_click ("WindowsForms10.EDIT.app3_7", 20, 4, LEFT);
obj_type ("WindowsForms10.EDIT.app3_7","1");
obj_mouse_click ("Button1", 20, 17, LEFT);
# Form2
set_window ("Form2", 1);
obj_mouse_click ("LinkLabel1", 35, 3, LEFT);
obj_mouse_click ("Button1", 30, 17, LEFT);
# Form1
set_window ("Form1", 1);
obj_mouse_click ("Button2", 38, 14, LEFT);
我每次重新打开被测试的FORM1时,再进行From Arrow,运行到第3行:obj_mouse_click ("WindowsForms10.EDIT.app3_6", 24, 2, LEFT);时就会弹出RUN Wizard窗口,是怎么回事? |
|