|
类似问题!
我也遇到一个类似问题,wr不能捕获下拉列表的信息!
这是一个在VB里用到控件FlatCombox,外形类似Combox
对其操作录制代码如下:
# Customer Manage_1
win_activate ("Customer Manage_1");
set_window ("Customer Manage_1", 2);
#这里执行点击该控件
obj_mouse_click ("Picture1_0", 9, 8, LEFT); obj_type ("ThunderRT6TextBox_0","<kEsc><kEsc><kEsc><kEsc><kEsc>");
# #32769 不知道为何wr把对下拉菜单的操作识别为以下信息,回放时就出错!
set_window ("#32769", 0);
tbl_set_selected_cell ( "MSHierarchicalFlexGridLib.MSHFlexGrid.6","#5","#1" );
# Customer Manage_1
set_window ("Customer Manage_1", 0);
obj_type ("ThunderRT6TextBox_0","<kEsc><kEsc><kEsc>");
回放错误提示:tbl_set_selected_cell : "MSHierarchicalFlexGridLib.MSHFlexGrid.6"Errpr:Object is not currently displayed.
请问是怎么回事儿?怎样才能正确识别该控件呢? |
|