海林 发表于 2005-10-12 15:11:25

大家帮我看看下面脚本错在哪儿

set_window ("TChildReport", 4);
        obj_mouse_click ("TDrawGrid", 117, 29, LEFT);
        obj_mouse_click ("TDrawGrid", 124, 28, LEFT);
        obj_type ("TInplaceEdit","工程0010 ");
        obj_mouse_click ("TDrawGrid", 146, 46, LEFT);
        obj_mouse_click ("TDrawGrid", 152, 46, LEFT);
        obj_type ("TInplaceEdit","东湖花园");
    obj_mouse_click ("TDrawGrid", 142, 78, LEFT);
        obj_mouse_click ("TDrawGrid", 168, 81, LEFT);
        obj_type ("TInplaceEdit","二环路东五段东湖花园");
        obj_mouse_click ("TDrawGrid", 168, 104, LEFT);
        obj_mouse_click ("TDrawGrid", 189, 104, LEFT);
        obj_type ("TInplaceEdit","成都勘察院");
        obj_mouse_click ("TDrawGrid", 181, 128, LEFT);
        obj_mouse_click ("TDrawGrid", 185, 127, LEFT);
        obj_type ("TInplaceEdit","成都设计院 ");
        obj_mouse_click ("TDrawGrid", 182, 141, LEFT);运行结果如下:

海林 发表于 2005-10-12 15:14:48

运行结果

我把结果发出来,大家帮我找找原因

海林 发表于 2005-10-14 09:11:39

大家帮我看看啊,我不知道是哪个属性设置错误了。

jacky8024 发表于 2005-10-21 10:26:42

输入的内容换成单引号试试看

WinRunner 发表于 2005-10-24 17:38:07

把没用的脚本先删了试试

pcl2004_27 发表于 2005-10-25 10:23:43

楼主的问题,我没有看出来什么问题,能不能描述清楚一些!
不知道楼主的问题是不是 输入不进去 ?

obj_type ("TInplaceEdit","工程0010 ");
工程编号输入不进去?
页: [1]
查看完整版本: 大家帮我看看下面脚本错在哪儿