liyingtam721 发表于 2008-4-14 10:06:43

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=前台现金"
    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:59

是不是数据格式(类型)有问题?

huamini 发表于 2010-4-27 10:16:45

我也出现这样的问题
页: [1]
查看完整版本: rational robot 录制的一段脚本不能回放