|
在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" |
|