51Testing软件测试论坛

标题: rational robot 录制的一段脚本不能回放 [打印本页]

作者: liyingtam721    时间: 2008-4-14 10:06
标题: rational robot 录制的一段脚本不能回放
在rational robot 中 下面这个脚本不能回放红色字体部分,这是怎么回事呢?请高人赐教哦 ^_^

    TabControl Click, "Name=pgc1;Type=CustomTabControl", "Coords=145,10"
    DateTime Click, "Name=dtpStart;Type=DateTimePicker", "Coords=72,9"
   
    Window SetContext, "Class=SysMonthCal32", ""
    Window Click, "", "Coords=170,68"
   
    Window SetContext, "Name=FrmSystemMain;Type=Form", ""
   
    Window SetContext, "Name=FrmZwDSRptFrmCtner;Type=Form;ChildWindow", ""
    DateTime Click, "Name=dtpEnd;Type=DateTimePicker", "Coords=76,7"
   
    Window SetContext, "Class=SysMonthCal32", ""
    Window Click, "", "Coords=203,65"
   
    Window SetContext, "Name=FrmSystemMain;Type=Form", ""
   
    Window SetContext, "Name=FrmZwDSRptFrmCtner;Type=Form;ChildWindow", ""
    ComboBox Click, "Name=zwlblCbRptType;Type=CustomComboBox", "Coords=158,8"
    ComboListBox Click, "ObjectIndex=2", "Text=[1]前台现金"
    TreeView VScrollTo, "Name=tv1;Type=CustomTreeView", "Position=0"
    TreeView Click, "Name=tv1;Type=CustomTreeView", "Coords=44,152"
    TreeView Click, "Name=tv1;Type=CustomTreeView", "Coords=67,167"
   
    '''下面这种语句回放通不过
    Window SetContext, "Class=tooltips_class32;Level=14", "Activate=0"
    Window Click, "", "Coords=32,8"

   
    Window SetContext, "Name=FrmSystemMain;Type=Form", ""
   
    Window SetContext, "Name=FrmZwDSRptFrmCtner;Type=Form;ChildWindow", ""
    PushButton Click, "Name=btn1;Type=PushButton"
    PushButton Click, "Name=btn3;Type=PushButton"
作者: wldtzzming    时间: 2008-4-14 10:49
是不是数据格式(类型)有问题?
作者: huamini    时间: 2010-4-27 10:16
我也出现这样的问题




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2