• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: 小 中 大 | 推荐给好友 上一篇 | 下一篇

Winrunner TSL命令简介(三)

发布: 2008-9-24 11:32 | 作者: sincky | 来源: 51testing论坛 | 查看: 78次 | 进入软件测试论坛讨论

领测软件测试网

201MILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、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 );移动鼠标指针到某个标签

250、web_cursor_to_link ( link, x, y );移动鼠标指针到某个链接

251、web_cursor_to_obj ( object, x, y );移动鼠标指针到某个对象

252、web_event ( object, event_name [, x , y ] );在指定对象运行一个事件

253、web_file_browse ( object );点击浏览按钮

254、web_file_set ( object, value );在文件类型的对象设置文本值

255、web_find_text ( frame, text_to_find, result_array [, text_before, text_after, index, show ] );返回帧内文本位置

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/

TAG: TSL winrunner WinRunner Winrunner 简介 命令

21/212>