51Testing软件测试论坛
标题:
大家帮我看看下面脚本错在哪儿
[打印本页]
作者:
海林
时间:
2005-10-12 15:11
标题:
大家帮我看看下面脚本错在哪儿
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
标题:
运行结果
我把结果发出来,大家帮我找找原因
作者:
海林
时间:
2005-10-14 09:11
大家帮我看看啊,我不知道是哪个属性设置错误了。
作者:
jacky8024
时间:
2005-10-21 10:26
输入的内容换成单引号试试看
作者:
WinRunner
时间:
2005-10-24 17:38
把没用的脚本先删了试试
作者:
pcl2004_27
时间:
2005-10-25 10:23
楼主的问题,我没有看出来什么问题,能不能描述清楚一些!
不知道楼主的问题是不是 输入不进去 ?
obj_type ("TInplaceEdit","工程0010 ");
工程编号输入不进去?
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2