|
# 交易系统--登录
win_activate ("交易系统--登录");
set_window ("交易系统--登录", 2);
obj_mouse_drag ("WindowsForms10.EDIT.app3", 2, 9, 2, 8, LEFT);#是一个用户名登陆文本框
obj_type ("WindowsForms10.EDIT.app3","302");
obj_mouse_click ("WindowsForms10.EDIT.app3_1", 13, 11, LEFT);
obj_mouse_click ("WindowsForms10.EDIT.app3_1", 11, 10, LEFT);
obj_type ("WindowsForms10.EDIT.app3_1","1");
obj_mouse_click ("WindowsForms10.BUTTON.app3", 23, 8, LEFT);
# 电子交易系统 V2.0 -->交易员302 -->远期下单 F1
win_close ("电子交易系统 V2.0 -->交易员302 -->远期下单 F1");
# 系统提示
set_window ("系统提示", 2);
button_press ("是(Y)"); |
|