📄 winrunner.txt
字号:
117、popup_select_item ( "menu component;menu item" );从java活动菜单选择一个选项
118、list_activate_item ( list, item [, offset ] );激活列表里某一项
119、list_check_info ( list, property, property_value );检查列表属性的值
120、list_check_item ( list, item_num, item_content );检查列表某项的内容
121、list_check_selected ( list, selected_items );检查选中的那项
122、list_collapse_item ( list, item [, mouse_button ] );隐藏树型图里的选项
123、list_deselect_item ( list, item [, mouse_button [, offset ]] );取消选定列表的某一项
124、list_deselect_range ( list, item1, item2 [, offset ] );取消选定2个选项
125、list_drag_item ( source_list, item [, mouse_button ] );拖动源列表的某个选项
126、list_drop_on_item ( target_list, target_item );把一个对象关联到目标列表的选项
127、list_expand_item ( list, item [, mouse_button ] );显示隐藏的树型图选项
128、list_extend_item ( list, item [, button [, offset ] ] );往指定的列表里添加一个选项
129、list_extend_multi_items ( list, item_list, [, mouse_button [, offset ] ] );添加多个选项
130、list_extend_range ( list, item1, item2 [, button [, offset ] ] );添加一定范围的选项
131、list_get_checked_items ( list, items, number );返回标记的选项的个数和值
132、list_get_info ( list, property, out_value );返回列表属性的值
133、list_get_item ( list, item_num, out_value );返回列表选项的内容
134、list_get_item_coord ( list, item, out_x, out_y, out_width, out_height );返回列表选项的四个坐标
135、list_get_item_info ( list, item, state, out_value );返回列表选项的状态
136、list_get_item_num ( list, item, out_num );返回列表选项的位置
137、list_get_selected ( list, out_item, out_num );返回列表里选定选项的数字和字符串值
138、list_select_item ( list, item [,button [, offset ] ]);选择一个列表选项
139、list_select_multi_items ( list, item_list [, mouse_button [, offset ] ] );选择一个列表的多个选项
140、list_select_range ( list, item1, item2 [, button [, offset ] ]);选定一定范围内全部选项
141、list_wait_info ( list, property, value, time );等待列表属性的值
142、menu_get_desc ( menu, oblig, optional, selector, out_desc );返回菜单的物理描述
143、menu_get_info ( menu, property, out_value );返回菜单属性的值
144、menu_get_item ( menu, item_number, out_contents );返回菜单选项的内容
145、menu_get_item_num ( menu, item, out_position );返回菜单选项的位置
146、menu_select_item ( menu;item [ x,y ] );选择一个菜单选项
147、menu_wait_info ( menu, property, value, time );等待菜单属性的值
148、obj_check_bitmap ( object, bitmap, time [, x, y, width, height] );比较对象的位图
149、obj_check_gui ( object, checklist, expected_results_file, time );比较当前的gui对象数据
150、obj_check_info ( object, property, property_value [, timeout ] );检查gui对象属性的值
151、obj_click_on_text ( object, string [ ,search_area [ , string_def [ , mouse_button ] ] ] );在对象里点击文本
152、obj_drag ( source_object, x, y [, mouse_button ] );从源对象拖动一个对象
153、obj_drop ( target_object, x, y );拖动一个对象到目标对象
154、obj_exists ( object [, time ] );检查对象是否显示在屏幕上
155、obj_find_text ( object, string, result_array [, search_area [, string_def ] ] );在对象里返回字符串的位置
156、obj_get_desc ( object, oblig, optional, selector, out_desc );返回对象的物理描述
157、obj_get_info ( object, property, out_value );返回对象属性的值
158、obj_get_text ( object, out_text [, x1, y1, x2, y2 ] );读取对象的文本
159、obj_highlight ( object [, flashes ] );高亮显示对象
160、obj_mouse_click ( object, x, y [, mouse_button ] );点击一个对象
161、obj_mouse_dbl_click ( object, x, y [, mouse_button ] );双击一个对象
162、obj_mouse_drag ( object, start_x, start_y, end_x, end_y [,mouse_button ] );在对象上拖动鼠标
163、obj_mouse_move ( object, x, y );在对象里移动鼠标指针
164、obj_move_locator_text ( object, string [ , search_area [ , string_def ] ] );在对象里移动鼠标到一个字符串
165、obj_type ( object, keyboard_input );用键盘输入对象
166、obj_wait_bitmap ( object, bitmap, time [, x, y, width, height] );等待对象位图出现在屏幕
167、obj_wait_info ( object, property, value, time );等待对象属性的值
168、scroll_check_info ( scroll, property, property_value );检查滚动条的属性值
169、scroll_check_pos ( scroll, position );检查滚动条的当前位置
170、scroll_drag ( scroll, orientation, position );滚动到指定位置
171、scroll_drag_from_min ( scroll, orientation, position );从最小值开始滚动
172、scroll_get_info ( scroll, property, out_value );返回滚动条的属性值
173、scroll_get_max ( scroll, orientation, out_max );返回滚动条的最大位置
174、scroll_get_min ( scroll, orientation, out_min );返回滚动条的最小位置
175、scroll_get_selected ( slider, min_value, max_value );返回滚动条的最小和最大值
176、scroll_get_pos ( scroll, orientation, out_pos );返回滚动条当前位置
177、scroll_line ( scroll, orientation, [ +|- ] lines );滚动指定的几行
178、scroll_max ( scroll, orientation );设置滚动条到最大位置
179、scroll_min ( scroll, orientation );设置滚动条到最小位置
180、scroll_page ( scroll, orientation, [+|-] pages );移动滚动条指定的页数
181、scroll_wait_info ( scroll, property, value, time );等待滚动条属性的值
182、spin_get_info ( spin, property, out_value );返回旋转属性的值
183、spin_get_pos ( spin, out_value );返回旋转对象的位置
184、spin_get_range ( spin, out_min_pos, out_max_pos );返回旋转对象的最小与最大位置
185、spin_max ( spin [, index ] );设置旋转对象到最大值
186、spin_min ( spin [, index ] );设置旋转对象到最小值
187、spin_next ( spin [, index ] );设置旋转对象到下一个值
188、spin_prev ( spin [, index ] ); 设置旋转对象到前一个值
189、spin_set ( spin, item [, index ] );设置选择对象到一个选项值
190、spin_wait_info ( spin, property, value, time );等待旋转属性等于指定的值
191、static_check_info ( static, property, property_value );检查静态文本对象属性的值
192、static_check_text ( static, text, case_sensitive );检查静态文本对象的内容
193、static_get_info ( static, property, out_value );返回静态文本对象属性的值
194、static_get_text ( static, out_string );返回静态文本对象的内容
195、static_wait_info ( static, property, value, time );等待静态文本对象的属性值
196、statusbar_get_field_num ( statusbar, field, field_index );返回状态栏区域的数字索引
197、statusbar_get_info ( statusbar, property, out_value );返回状态栏的属性值
198、statusbar_get_text ( statusbar, field_index, out_text );读取状态栏区域的文本
199、statusbar_wait_info ( statusbar, property, value, time );等待状态栏属性的值
200、tab_get_info ( tab, property, out_value );返回tab属性的值
201、tab_get_item ( tab, item_num, out_item );返回tab选项的名称
202、tab_get_selected ( tab, out_item, out_num );返回选定的tab选项的名称和个数
203、tab_select_item ( tab, item );选择tab选项
204、tab_wait_info ( tab, property, value, time );等待tab属性的值
205、tbl_activate_cell ( table, row, column );双击表里某个单元
206、tbl_activate_col ( table, column );双击表里某列
207、tbl_activate_header ( table, column );双击表里某列标题
208、tbl_activate_row ( table, row );双击表里某行
209、tbl_deselect_col ( table, column );取消选择表的某列
210、tbl_deselect_cols_range ( table, from_column, to_column );取消选择表里某几列
211、tbl_deselect_row ( table, row );取消选择表里某行
212、tbl_deselect_rows_range ( table, from_row, to_row );取消选择表里某几行
213、tbl_extend_col ( table, column );往表里当前列加一列
214、tbl_extend_cols_range ( table, from_column, to_column );往表里当前列加多列
215、tbl_extend_row ( table, row );往表里当前行前加一行
216、tbl_extend_rows_range ( table, from_row, to_row );往表里当前行加多行
217、tbl_get_cell_data ( table, row, column, out_text );返回表里指定单元的内容
218、tbl_get_cols_count ( table, out_cols_count );返回表的列数
219、tbl_get_column_name ( table, col_index, out_col_name );返回表里指定列的标题名称
220、tbl_get_column_names ( table, out_col_names, out_cols_count );返回表里列的名称和个数
221、tbl_get_rows_count ( table, out_rows_count );返回表的行数
222、tbl_get_selected_cell ( table, out_row, out_column );返回表里焦点所在单元
223、tbl_get_selected_row ( table, row );返回当前焦点所在行
224、tbl_select_cells_range ( table, start_row, start_col, end_row, end_col );在表里点击选定的几个单元
225、tbl_select_col_header ( table, column );选定指定的列的标题
226、tbl_select_cols_range ( table, from_column, to_column );在表里选定指定的几列
227、tbl_select_rows_range ( table, from_row, to_row );在表里选定指定的几行
228、tbl_set_cell_data ( table, row, column, data );设置表里某单元的内容
229、tbl_set_cell_focus ( table, row, column );设置表里焦点到某个单元
230、tbl_set_selected_cell ( table, row, column );在表里选定指定的单元
231、tbl_set_selected_col ( table, column );在表里选定指定的列
232、tbl_set_selected_row ( table, row );在表里选定指定的行
233、obj_click_on_text ( object, string [ ,search_area [ , string_def [ , mouse_button ] ] ] );点击一个对象的文本
234、obj_find_text ( object, string, result_array [, search_area [, string_def ] ] );返回一个对象字符串的位置
235、obj_get_text ( object, out_text [, x1, y1, x2, y2 ] );从对象里读取文本
236、obj_move_locator_text ( object, string [ , search_area [ , string_def ] ] );在对象里把鼠标焦点落在字符串
237、win_find_text ( window, string, result_array [, search_area [, string_def ] ] );在一个窗口返回字符串位置
238、win_click_on_text (window, string [ ,search_area [ , string_def [ , mouse_button ] ] ] );在窗口搜索文本
239、win_get_text ( window, out_text [, x1, y1, x2, y2] );从窗口指定的区域读取文本
240、win_move_locator_text ( window, string [ ,search_area [ ,string_def ] ] );在窗口里把鼠标焦点落在字符串
241、toolbar_button_press ( toolbar, button, mouse_button );点击工具栏按钮
242、toolbar_get_button ( toolbar, button_num, out_text );返回工具栏按钮名称
243、toolbar_get_button_info ( toolbar, button, property, out_value );返回工具栏按钮属性值
244、toolbar_get_button_num ( toolbar, button, out_num );返回工具栏按钮位置
245、toolbar_get_buttons_count ( toolbar, out_num );返回工具栏按钮的个数
246、toolbar_select_item ( toolbar, toolbar_item_chain [, mouse_button ] );选择类菜单工具栏的某项
247、web_browser_invoke ( browser, site );调用ie打开某个站点
248、web_cursor_to_image ( image, x, y );移动鼠标指针到某个图片
249、web_cursor_to_label ( label, x, y );移动鼠标指针到某个标签
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -