liu_qong 发表于 2007-1-15 16:01:26

GUI无法抓取 IE 弹出窗体(如确定取消弹出窗体)?

# 管理系統 - Microsoft Internet Explorer
        set_window ("管理系統 - Microsoft Internet Explorer", 1);
        obj_mouse_click ("Internet Explorer_Server", 496, 264, LEFT);
        obj_type ("Internet Explorer_Server","ADMIN<kBackSpace><kBackSpace><kBackSpace><kBackSpace>");
        obj_type ("Internet Explorer_Server","<kBackSpace><kBackSpace><kBackSpace><kBackSpace>ad");
        obj_type ("Internet Explorer_Server","min<kTab>admin");
        obj_mouse_click ("Internet Explorer_Server", 487, 316, LEFT);
        obj_mouse_click ("Internet Explorer_Server", 82, 254, LEFT);

# Microsoft Internet Explorer

        set_window ("Microsoft Internet Explorer", 2);   #IE 弹出窗体
        button_press ("确定");                                     #在 IE 弹出窗体上点确定
       
。。。。。。。。我用GUI Map file per test 进行录制的。但运行代码到IE弹出窗体时就报错了,说找不到窗体的 Map 。真不知怎么办了?
页: [1]
查看完整版本: GUI无法抓取 IE 弹出窗体(如确定取消弹出窗体)?