少年智则国智,少年富则国富,少年强则国强,少年独立则国独立,少年自由则国自由,少年进步则国进步,少年胜于欧洲,则国胜于欧洲,少年雄于地球,则国雄于地球。红日初升,其道大光;河出伏流,一泻汪洋;潜龙腾渊,鳞爪飞扬;乳虎啸谷,百兽震惶;鹰隼试翼,风尘吸张;奇花初胎,矞矞皇皇;干将发硎,有作其芒;天戴其苍,地履其黄;纵有千古,横有八荒;前途似海,来日方长。美哉,我少年中国,与天不老!壮哉,我中国少年,与国无疆!

Winrunner TSL命令简介(三)

上一篇 / 下一篇  2007-07-18 10:36:24

201tab_get_item ( tab, item_num, out_item );返回tab选项的名称

z.IL'f5J&s*g0

202tab_get_selected ( tab, out_item, out_num );返回选定的tab选项的名称和个数

A F?&R"JW0

203tab_select_item ( tab, item );选择tab选项

3e3l7K7h)V i0

204tab_wait_info ( tab, property, value, time );等待tab属性的值51Testing软件测试网_,b~K_*N1T _3^

205tbl_activate_cell ( table, row, column );双击表里某个单元51Testing软件测试网r"M2g.OB1o]

206tbl_activate_col ( table, column );双击表里某列51Testing软件测试网0O;`8b1i2l}

207tbl_activate_header ( table, column );双击表里某列标题51Testing软件测试网)hc\/gh~~,Pp

208tbl_activate_row ( table, row );双击表里某行

Y1v9ZyC9dx?8L'r0

209tbl_deselect_col ( table, column );取消选择表的某列

D-b R9A G6u0

210tbl_deselect_cols_range ( table, from_column, to_column );取消选择表里某几列

4l+YA!ES/`^0

211tbl_deselect_row ( table, row );取消选择表里某行

sG {Q;k"L;h m.?P0

212tbl_deselect_rows_range ( table, from_row, to_row );取消选择表里某几行51Testing软件测试网z&za:ygt5E2E-x

213tbl_extend_col ( table, column );往表里当前列加一列51Testing软件测试网 l*ryc F0^.D"O,G

214tbl_extend_cols_range ( table, from_column, to_column );往表里当前列加多列51Testing软件测试网^s:S.j#B0U&[1[ {

215tbl_extend_row ( table, row );往表里当前行前加一行

dAn yP s-B0

216tbl_extend_rows_range ( table, from_row, to_row );往表里当前行加多行51Testing软件测试网0rM}d4{v

217tbl_get_cell_data ( table, row, column, out_text );返回表里指定单元的内容51Testing软件测试网2m/M%G3|~l;v*ib)m

218tbl_get_cols_count ( table, out_cols_count );返回表的列数

/v`dLx0

219tbl_get_column_name ( table, col_index, out_col_name );返回表里指定列的标题名称51Testing软件测试网:T!be0kX-n

220tbl_get_column_names ( table, out_col_names, out_cols_count );返回表里列的名称和个数

fdC(F6?4C0

221tbl_get_rows_count ( table, out_rows_count );返回表的行数

Y*j(x%m%RQy M0

222tbl_get_selected_cell ( table, out_row, out_column );返回表里焦点所在单元51Testing软件测试网6A~2gC(Z4{k$V4s8X \s

223tbl_get_selected_row ( table, row );返回当前焦点所在行51Testing软件测试网 Z4d%Q.q4i/TY$I

224tbl_select_cells_range ( table, start_row, start_col, end_row, end_col );在表里点击选定的几个单元51Testing软件测试网5o if*^3trk

225tbl_select_col_header ( table, column );选定指定的列的标题51Testing软件测试网jKB'y!K

226tbl_select_cols_range ( table, from_column, to_column );在表里选定指定的几列

g[C ^ t f2L0

227tbl_select_rows_range ( table, from_row, to_row );在表里选定指定的几行

C0{1~9H@B|/d0

228tbl_set_cell_data ( table, row, column, data );设置表里某单元的内容

sP%_+fr,C4XI(an"A0

229tbl_set_cell_focus ( table, row, column );设置表里焦点到某个单元51Testing软件测试网0w'aKS~/U E

230tbl_set_selected_cell ( table, row, column );在表里选定指定的单元

rA7~[{;g9~!i$[m0

231tbl_set_selected_col ( table, column );在表里选定指定的列51Testing软件测试网T*z6\B;A Vym'j

232tbl_set_selected_row ( table, row );在表里选定指定的行51Testing软件测试网6oM @A ] nqO O

233obj_click_on_text ( object, string [ ,search_area  [ , string_def  [ , mouse_button ] ] ] );点击一个对象的文本51Testing软件测试网:}_c0| OP+}${2A m F#A$A

234obj_find_text ( object, string, result_array [, search_area  [, string_def ] ] );返回一个对象字符串的位置51Testing软件测试网-wqACMB/oq

235obj_get_text ( object, out_text [, x1, y1, x2, y2 ] );从对象里读取文本

+G B:XI1IRm*z)|0

236obj_move_locator_text ( object, string [ , search_area  [ , string_def ] ] );在对象里把鼠标焦点落在字符串51Testing软件测试网%LeIxc}!\

237win_find_text ( window, string, result_array [, search_area [, string_def ] ] );在一个窗口返回字符串位置

!KX|(W"\*VP0

238win_click_on_text (window, string [ ,search_area  [ , string_def  [ , mouse_button ] ] ] );在窗口搜索文本51Testing软件测试网/gp*s&PR'f3U I

239win_get_text ( window, out_text [, x1, y1, x2, y2] );从窗口指定的区域读取文本51Testing软件测试网D?B|,q

240win_move_locator_text ( window, string [ ,search_area  [ ,string_def ] ] );在窗口里把鼠标焦点落在字符串51Testing软件测试网6nQ.O C1a@D0@

241toolbar_button_press ( toolbar, button, mouse_button );点击工具栏按钮

*PY t1u0o*V J)v!?0

242toolbar_get_button ( toolbar, button_num, out_text  );返回工具栏按钮名称

(r1r.jcI+u0

243toolbar_get_button_info ( toolbar, button, property, out_value );返回工具栏按钮属性值51Testing软件测试网;I8U'd\bt

244toolbar_get_button_num ( toolbar, button, out_num );返回工具栏按钮位置51Testing软件测试网J'f$t xe vJV

245toolbar_get_buttons_count ( toolbar, out_num );返回工具栏按钮的个数

\W@x v;|0

246toolbar_select_item ( toolbar, toolbar_item_chain [, mouse_button ] );选择类菜单工具栏的某项51Testing软件测试网}]r1|QD,TN

247web_browser_invoke ( browser, site );调用ie打开某个站点51Testing软件测试网 b(][\|(x3N

248web_cursor_to_image ( image, x, y );移动鼠标指针到某个图片

8g7N4x!I"h2I1c0

249web_cursor_to_label ( label, x, y );移动鼠标指针到某个标签

:XRXEe`#j#c8{/J0

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

vT/v:vlCm9]0

251web_cursor_to_obj ( object, x, y );移动鼠标指针到某个对象51Testing软件测试网d{*N1cz_

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

%`J g5HW(oy6jm0

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

:tkZq9K @q0

254web_file_set ( object, value );在文件类型的对象设置文本值51Testing软件测试网$t]_y}B5M

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

?,^*PD)@u0

256web_frame_get_text ( frame, out_text [, text_before, text_after, index ] );返回帧内文本的内容

h wo B-\o[!P0

257web_frame_get_text_count ( frame, regex_text_to_find, count );返回帧内标准表达式的事件个数

0w&gY-c0[E$]5F })[t!X0

258web_frame_text_exists ( frame, text_to_find [, text_before, text_after ] );检查帧内指定的文本字符串是否存在51Testing软件测试网 ~D5BL6?9fJ-L*U:O

259web_get_run_event_mode ( out_mode );返回当前的运行模式

1YC3OA3Xi0

260web_get_timeout ( out_timeout );返回winrunner响应web的最大等待时间

egF4mO*b.t0

261web_image_click ( image, x, y );点击一个图片链接或图片

7A%E3P_E7m2K0

262web_label_click ( label );点击指定的标签51Testing软件测试网p3J1\8@]^w%g R

263web_link_click ( link );点击朝文本链接

UD W n |0

264web_link_valid ( name, valid );检查url链接是否有效51Testing软件测试网u._7o P K!\

265web_obj_get_child_item ( object, table_row, table_column, object_type, index, out_object );返回对象的子对象的物理描述

6Z-b&L%H;w0

266web_obj_get_child_item_count ( object, table_row, table_column, object_type, object_count );返回对象的子对象的个数

O|f%VK'sS b9P0

267web_obj_get_info ( object, property_name, property_value );返回对象属性的值51Testing软件测试网lh @#y,~G

268web_obj_get_text ( object, table_row, table_column, out_text [, text_before, text_after, index] );返回对象的文本字符串

"O @5ye;W'dx0

269web_obj_get_text_count ( object, table_row, table_column, regex_text_to_find, count ); 返回对象内标准表达式的事件个数51Testing软件测试网,Y%sS B&vm{wG

270web_obj_text_exists ( object, table_row, table_column, text_to_find [, text_before, text_after] );在对象里如果该文本存在,返回该文本

wc? uI*S e$o ]0

271web_refresh ( frame );winrunner重新连接指定的帧51Testing软件测试网+j2h0D,iN,J(YZ'b'F?.W

272web_restore_event_default ( );重新设置全部事件为默认值

R9a%M A0z0

273web_set_event ( class, event_name, event_type, event_status );设置事件状态

,w!Q|;o7N*A z0

274web_set_run_event_mode ( mode );设置事件运行模式51Testing软件测试网p&[Y-P8dT

275web_set_timeout ( timeout );设置winrunner响应web的最大时间51Testing软件测试网YfM'hBjFX]Xn

276web_set_tooltip_color ( fg_color, bg_color );设置webtest工具条的颜色

#P_b5S LQ `/sZ#^0

277web_sync ( timeout );等待帧的导航完成

fnM(`\R)dF"Q-Z#i@0

278web_tbl_get_cell_data ( table, row, column, starting_pos, out_text, out_actual_text_length );返回web表内指定单元的内容,开始于指定的字符

,V D+LXm$j/Zu(^{0

279web_url_valid ( URL, valid );检查url是否有效

nX {-J3y2HQ^0

280tbl_get_cell_data ( table, row, column, out_text );返回table里指定单元的内容(加载webtest51Testing软件测试网+@(\'byD$z

281tbl_get_cols_count ( table, out_cols_count );返回表的列数(加载webtest51Testing软件测试网4r/_7u.vtmU5K

282tbl_get_column_name ( table, col_index, out_col_name );返回表里指定列的标题的名称(加载webtest51Testing软件测试网|"r4A_ L ^

283tbl_get_rows_count ( table, out_rows_count );返回表的行数(加载webtest51Testing软件测试网 M_q#sz$I q

284web_password_encrypt ( password );web页面的密码加密

$Q*IX:ue0

285set_window ( window [,time] );激活窗口并确定等待时间51Testing软件测试网7q;t9b"b&{&kj

286win_activate ( window );激活窗口

3@2`p x'L8DU+@0

287win_check_bitmap ( window, bitmap, time [, x, y, width, height ] );比较窗口的位图51Testing软件测试网(f%T-o)Q-p sa5W

288win_check_gui ( window, checklist, expected_results_file, time );比较窗口的gui数据51Testing软件测试网:o(i#EJG]

289win_check_info ( window, property, property_value [, timeout ] );检查被请求的窗口属性

.T{J Zt.y g4I0

290win_click_help ( window );在窗口点击帮助按钮51Testing软件测试网8wQ+e ~'X_/e

291win_click_on_text (window, string [ ,search_area  [ , string_def  [ , mouse_button ] ] ] );在窗口搜索文本51Testing软件测试网fFf`~1Nr

292win_close ( window );关闭窗口

O4xx*~+r,T5Gc'Ctv D0

293win_drag (source_window, x, y [, mouse_button ] );从源窗口拖动对象51Testing软件测试网qX+m,rbkY

294win_drop ( target_window, x, y  );拖动对象到目标窗口

[Wh3jT3@&N5?i#[)?0

295win_exists ( window [, time ] );检查窗口是否显示在屏幕上51Testing软件测试网 U%Aj,H{,Z

296win_find_text ( window, string, result_array [, search_area [, string_def ] ] );返回窗口里字符串的位置51Testing软件测试网6HT)lj(V&F

297win_get_desc ( window, obligatory, optional, selector, out_desc );返回窗口的物理描述51Testing软件测试网mie%W9vL$bg

298win_get_info ( window, property, out_value );返回窗口属性的值51Testing软件测试网b eZV4vPou

299win_get_text ( window, out_text [, x1, y1, x2, y2] );从窗口指定区域读取文本51Testing软件测试网;K't(tP-s

300win_highlight ( window [, flashes ] );高亮显示窗口

q-] @-P c0

TAG:

 

评分:0

我来说两句

日历

« 2024-04-24  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 20942
  • 日志数: 27
  • 建立时间: 2006-12-22
  • 更新时间: 2007-07-18

RSS订阅

Open Toolbar