WR TSL 2-19-2008
上一篇 / 下一篇 2008-06-01 13:35:33 / 个人分类:WR
Winrunner Context Sensitive命令列表
6r y y aV7|(tmS#q0
#Z%I5q Y3EpWO051Testing软件测试网G1_.Kuu2R _2Q
51Testing软件测试网?0Zva*l
51Testing软件测试网)z)Jq(d O$G
1.ActiveBar_combo_select_item ( band_tool , item_name );选择下拉菜单某一项,例如:
}k5M~&R/i0
wI.^3N"L/rf051Testing软件测试网x[h%u k!h
set_window("Form1", 1);51Testing软件测试网 |:R8TG0d
~6xJ#r c4pPe051Testing软件测试网&s4ef|.\O[,K
ActiveBar_combo_select_item("Format;Font", "Arial");51Testing软件测试网UNWZ g,B(V%i*h E
51Testing软件测试网4Q\_9@$~#qH1|^
#[CThF$t8L0In the following example, WinRunner selects the third item in the Format:Font tool.
3g7R.toO5L.ba0
g:Fwf*Ef6m${)}051Testing软件测试网f+]WDq
set_window("Form1", 1);51Testing软件测试网q\-MO*m1sOA
xQ6w0m5Y`.bx/a!i051Testing软件测试网8M^0\I+U
ActiveBar_combo_select_item("Format;Font", "#3");51Testing软件测试网b\5`8C:a@'a
qz8{(MM*ea5Ay0
m:~*[7Ae2FG7cqz02.ActiveBar_dump ( file_name );存储活动工具栏信息,包括标题、名称、ID等。51Testing软件测试网p}F-V7j.D
51Testing软件测试网6Sgt`I[:O&MI
file_name 参数包括路径,例如:51Testing软件测试网[K,OZ^;nM([h
PfD@&@3b0set_window("Form1", 1);51Testing软件测试网7p&B l:q?m0E&R5h#x
51Testing软件测试网0t.UC9x%O
ActiveBar_dump ("d:Bardump.txt");51Testing软件测试网|&\4zrk%?T!O
51Testing软件测试网C#Y6acO9U L/BL+js X
3、ActiveBar_select_menu ( band_tool [, events_only ] ) ;选择菜单某一项,例如:51Testing软件测试网%`;D}/q}!M p%eT
51Testing软件测试网HaL(e~z&ZsU:`
in the following example, WinRunner selects the Cut menu item in the Edit toolbar.51Testing软件测试网'b3z+|!b:e
y \;?T"d-z j0set_window("Form1", 1);51Testing软件测试网{(h6O:LO}{0l7p
5Y4T&F(q!],z0ActiveBar_select_menu ("Edit;Cut",TRUE);
F\Hy3RQ0
ksTU5JKP [04、ActiveBar_select_tool (band_tool [, events_only ] ) ;选择工具栏里某一项,例如:
Z0v#s$H&x(IFR/u051Testing软件测试网[n&q4@F1l+VU
set_window("Form1", 1);
T+Z-L%ad)FZ2`0
H2q0`:M G ScyI0ActiveBar_select_tool("Format;Center", TRUE);
)ChH5K FU:F;V"I`0
R6BL&c1RW05、win_check_bitmap ( window, bitmap, time [, x, y, width, height ] );比较窗口位图,51Testing软件测试网f8]9iX%F.M*_Ch
I0`5z2Q iD:d*i w06、obj_check_bitmap ( object, bitmap, time [, x, y, width, height] );比较对象位图,51Testing软件测试网:c(C(v&F L9p3h
~&tM`Q4i6i07、button_check_info ( button, property, property_value );检查按钮属性的值
\K7M7G%BH5G-{$ky0
x"Q N#V~:Xut w08、button_check_state ( button, state );检查单选框或复选框的状态51Testing软件测试网Z TU2f~;A3f V+J
eE~9B5K/m nt/g&N{rC09、button_get_info ( button, property, out_value );返回按钮属性的值51Testing软件测试网.x3Ue1u"^+pw
8N`&ylB}+O+I010、button_get_state ( button, out_state );返回单选框或复选框的状态
4J"V(m5l#y9M051Testing软件测试网 WoKxM5DW_
11、button_press ( button );点击按钮51Testing软件测试网)x5].EOg
&I4l?%Ff8_OI%g012、button_set ( button, state );设置单选框或复选框的状态
8YW-o Y:p4Dn$P051Testing软件测试网)FN$Vc%X9o2_(`3m
13、button_wait_info ( button, property, value, time );等待按钮的属性值变化
3LR3P jB1f0
-^*N{'Z)o'q014、calendar_activate_date ( calendar, date );双击日历某个日期
#AM }M2lVR@0
&w%BZ+bjT q015、db_check ( checklist, expected_results_file [ , max_rows [ , parameter_array ] ] );比较当前数据库数据和期待的数据库数据
`*Z thS:s&\051Testing软件测试网$M^&{3[)r#S-W'K]3Q
16、db_connect ( session_name, connection_string );建立一个数据库session并建立odbc连接
0Q"H.OlZmpN-_0
u5mdX'{f K$Tp017、db_disconnect ( session_name );断开连接结束session
+?%|x)X?Z051Testing软件测试网v]x-U-Z
18、db_execute_query ( session_name, SQL, record_number );执行sql语句返回记录集
XR t C%H ]%I2}]051Testing软件测试网*h4\rg[!AkS
19、db_get_field_value ( session_name, row_index, column );返回数据库特定区域的值51Testing软件测试网'ELj!PaAgZ^D
51Testing软件测试网-]NhO:b-Z
20、db_get_headers ( session_name, header_count, header_content );返回数据库session的列的数量及列的内容并以tab分组51Testing软件测试网@7E h ?|D
51Testing软件测试网3Sf9r5R+Ga"M
21、db_get_last_error ( session_name, error );返回最后一条数据库session错误信息
!h0g8}r"|k0
N0Lr&Kd'\+hv9o#n8ff:f022、db_get_row ( session_name, row_index, row_content );返回特定行内容
R5[i:G#oQ8`0
"Xf2d-X5K3z&u023、db_record_check ( ChecklistFileName , SuccessConditions, RecordNumber ); Compares information that appears in the application under test during a test run with the current values in the corresponding record(s) in your database.51Testing软件测试网v:P0fVJ*g{Ed8Zl
6P7b$DF.mT.S9cA024、db_write_records ( session_name, output_file [ , headers [ , record_limit ] ] );把结果记录集写到一个文本文件51Testing软件测试网[N~{:F
51Testing软件测试网tH \*{U R BfZ.skw
25、ddt_close ( data_table_name );关闭数据表文件
W:}Rc(S8~ Z0
ixrO v\F3A026、ddt_close_all_tables();关闭全部数据表51Testing软件测试网;]vt s hRvo@
,`.r[,B-d027、ddt_export ( data_table_namename1, data_table_namename2 );把一个数据表信息导到另一个数据表文件
w(?n F d nEx5v0
9}"o(sFl"J"g,X$v028、ddt_get_current_row ( data_table_name, out_row );返回数据表当前所在行
z-?9vfI$dP2Y2i0
,Q?'P?x"x c9^k%Z I0`029、ddt_get_parameters ( table, params_list, params_num );返回数据表的参数和参数的个数
ku[EJ/y$| ^051Testing软件测试网/o8D4V`8T$h8x}Ic
30、ddt_get_row_count ( data_table_name, out_rows_count );返回数据表行数
nV M-t%Tg051Testing软件测试网@#_|/p%K(k,R0zV
31、ddt_is_parameter ( data_table_name, parameter );返回一个参数是否在数据表里有效
I_-NE@;}W0
H gK m7s/\ey032、ddt_next_row ( data_table_name );指向数据表中到当前行的下一行51Testing软件测试网5zA/B.oe8@;i"ZY
#Op(t[+S]2KI+g'w033、ddt_open ( data_table_name [ , mode ] );打开或创建一个可以访问的数据表51Testing软件测试网 Y@G.H'}-E0q
2M;`'c3OVzn n034、ddt_report_row ( data_table_name );报告当前行到测试结果
q4D6? MW1[.@h]051Testing软件测试网p7["TM.t)x
35、ddt_save ( data_table_name );保存数据表信息
iw"L'WZriC8y051Testing软件测试网#U|oC"eM:ct
36、ddt_set_row ( data_table_name, row );设置当前行为第几行
Q/Y s3w&MMV[)[0
}*I Fbc LHh/X037、ddt_set_val ( data_table_name, parameter, value );插入parameter列一个新值value51Testing软件测试网$YN"jR]}@#~Q;{
6LlJre4O038、ddt_set_val_by_row ( data_table_name, row, parameter, value );插入特定行的parameter列一个新值value51Testing软件测试网,E2g;gtm'bT
1DZ%p9a4A{+F*b"s039、ddt_show ( data_table_name [ , show_flag ] );显示或隐藏数据表,1是显示,0是隐藏
[4s.D^?8|-X!ixz0
.Z0]!k#\'{%A#VY4o040、ddt_sort ( table_file, row1, col1, row2, col2, sort_by_rows, key1 [ , key2, key3 ] );根据关键字将数据表特定区域的值排序,sort_by_rows 参数1是按行,0是按列
TaA4ky ~i&]051Testing软件测试网4RJ'}*h:seS
41、ddt_update_from_db ( data_table_name, file, out_row_count [ , max_rows ] );从数据库往数据表里导数据;
$Nc(d"fDC0
Z-fa u L0g$s042、ddt_val ( data_table_name, parameter );返回数据表当前行的参数的值51Testing软件测试网 K3rCOWZ
51Testing软件测试网+R|FJ V-Q!uE$v
43、ddt_val_by_row ( data_table_name, row_number, parameter );返回数据表特定行的参数的值51Testing软件测试网D1};C#^#L+v6L)VY
n?[ \I%KG:y044、date_age_string ( date, years, month, days, new_date );将日期相应改变返回新值
Q0p,GT(g9k j0
@8d-ncu3Y.Z Q045、date_align_day ( align_mode, day_in_week );指定特定的日期给某天
'pp)Bt e'MG'@I0
*hXIp O%u(@046、date_calc_days_in_field ( field_name1, field_name2 );计算两个日期间的天数51Testing软件测试网?o pd2s1E
51Testing软件测试网0F\"A)E!teM&M2vu
47、date_calc_days_in_string ( string1, string2 );计算字符串格式的日期间的天数
,D n,I9Pu%_3D&Tp)z051Testing软件测试网2FI+[5]%oY ^{z
48、edit_check_info ( edit, property, property_value );检查对象属性的值51Testing软件测试网)c0b EMD9?y e
w#^H)?4_.h+R049、edit_check_selection ( edit, selected_string );检查选择的字符串是否存在
J3{R|6fSG0
/M].]a`(s _050、edit_check_text (edit, text, case_sensitive );检查编辑对象的文本内容51Testing软件测试网%_;|uP3UP6D0Uz1ZI
51Testing软件测试网eQ!_Pu*G5b.S.r8C
51、edit_delete ( edit, start_column, end_column );删除编辑对象的文本内容
S!DBb X wS'LS/m051Testing软件测试网#D'iv8o!hZ)Y4p
52、edit_delete_block ( edit, start_row, start_column, end_row, end_column );删除文本区
9YT3R^m [ F$O'O0
j0doSu053、edit_get_block ( edit, start_row, start_column, end_row, end_column, out_string );返回文本区
7~8T?zP0
`5g khlq9S*}W \1n054、edit_get_info ( edit, property, out_value );返回编辑对象的属性值51Testing软件测试网f Vps I1aL
51Testing软件测试网 V4G `OtNQ+_G
55、edit_get_row_length ( edit, row, out_length );返回编辑对象里行的长度
3?b&mEdT[0\*J6K[051Testing软件测试网)uElh*kMB-Eq Z
56、edit_get_rows_count ( edit, out_number );返回编辑对象里行数
#`._ O t-Q6A~6fmb0
6OdYbi&V(CX7z Z057、edit_get_selection ( edit, out_string );返回编辑对象的选定字符串
a.{?4d O@051Testing软件测试网@kcx*X,a$Nr\
58、edit_get_selection_pos ( edit, out_start_row, out_start_column, out_end_row, out_end_column );返回选定区域的开始和结束位置51Testing软件测试网3C}.pR/Nu E \
51Testing软件测试网#d DP8R{h DAy
59、edit_get_text ( edit, out_string );返回编辑对象的文本
PR)`0a^$fF*N&{@:tq051Testing软件测试网dD Kjf
60、edit_insert ( edit, text, columnI );在编辑对象第一行插入文本
0Ue U+cA.|H4b0
V5GI(k/^ l%S z061、edit_insert_block ( edit, text, row, column );在一个多行编辑对象插入文本51Testing软件测试网#Xv+rzJp(_H;E bS0uf
A.W`2i}S062、edit_replace ( edit, text, start_column, end_column );替换一个编辑对象的内容51Testing软件测试网[ @GDa3Z&ai
B0{KUoyb063、edit_replace_block ( edit, text, start_row, start_column, end_row, end_column );替换一个编辑对象的多行内容51Testing软件测试网3Y8KIm.qL.D!l|g
51Testing软件测试网?:NZCW$SA
64、edit_set ( edit, text );替换编辑对象的全部内容
Dd}0Iu ?8aITr051Testing软件测试网3k-x]0B6p U-R&Q s2B#r
65、edit_set_insert_pos ( edit, row, column );把鼠标指针放到编辑对象特定位置
oWlRh4R@O0
8yYVv)}6_7S ~b3t066、edit_set_selection ( edit, start_row, start_column, end_row, end_column );选择编辑对象的文本
&g/wE3R2bED051Testing软件测试网+g&{N;v5K[:Ga
67、edit_type ( edit, text );在编辑对象敲入字符串
;J/Z gNMt[/P051Testing软件测试网Z M$w|Q&u
6r y y aV7|(tmS#q0
#Z%I5q Y3EpWO051Testing软件测试网G1_.Kuu2R _2Q
51Testing软件测试网?0Zva*l
51Testing软件测试网)z)Jq(d O$G
1.ActiveBar_combo_select_item ( band_tool , item_name );选择下拉菜单某一项,例如:
}k5M~&R/i0
wI.^3N"L/rf051Testing软件测试网x[h%u k!h
set_window("Form1", 1);51Testing软件测试网 |:R8TG0d
~6xJ#r c4pPe051Testing软件测试网&s4ef|.\O[,K
ActiveBar_combo_select_item("Format;Font", "Arial");51Testing软件测试网UNWZ g,B(V%i*h E
51Testing软件测试网4Q\_9@$~#qH1|^
#[CThF$t8L0In the following example, WinRunner selects the third item in the Format:Font tool.
3g7R.toO5L.ba0
g:Fwf*Ef6m${)}051Testing软件测试网f+]WDq
set_window("Form1", 1);51Testing软件测试网q\-MO*m1sOA
xQ6w0m5Y`.bx/a!i051Testing软件测试网8M^0\I+U
ActiveBar_combo_select_item("Format;Font", "#3");51Testing软件测试网b\5`8C:a@'a
qz8{(MM*ea5Ay0
m:~*[7Ae2FG7cqz02.ActiveBar_dump ( file_name );存储活动工具栏信息,包括标题、名称、ID等。51Testing软件测试网p}F-V7j.D
51Testing软件测试网6Sgt`I[:O&MI
file_name 参数包括路径,例如:51Testing软件测试网[K,OZ^;nM([h
PfD@&@3b0set_window("Form1", 1);51Testing软件测试网7p&B l:q?m0E&R5h#x
51Testing软件测试网0t.UC9x%O
ActiveBar_dump ("d:Bardump.txt");51Testing软件测试网|&\4zrk%?T!O
51Testing软件测试网C#Y6acO9U L/BL+js X
3、ActiveBar_select_menu ( band_tool [, events_only ] ) ;选择菜单某一项,例如:51Testing软件测试网%`;D}/q}!M p%eT
51Testing软件测试网HaL(e~z&ZsU:`
in the following example, WinRunner selects the Cut menu item in the Edit toolbar.51Testing软件测试网'b3z+|!b:e
y \;?T"d-z j0set_window("Form1", 1);51Testing软件测试网{(h6O:LO}{0l7p
5Y4T&F(q!],z0ActiveBar_select_menu ("Edit;Cut",TRUE);
F\Hy3RQ0
ksTU5JKP [04、ActiveBar_select_tool (band_tool [, events_only ] ) ;选择工具栏里某一项,例如:
Z0v#s$H&x(IFR/u051Testing软件测试网[n&q4@F1l+VU
set_window("Form1", 1);
T+Z-L%ad)FZ2`0
H2q0`:M G ScyI0ActiveBar_select_tool("Format;Center", TRUE);
)ChH5K FU:F;V"I`0
R6BL&c1RW05、win_check_bitmap ( window, bitmap, time [, x, y, width, height ] );比较窗口位图,51Testing软件测试网f8]9iX%F.M*_Ch
I0`5z2Q iD:d*i w06、obj_check_bitmap ( object, bitmap, time [, x, y, width, height] );比较对象位图,51Testing软件测试网:c(C(v&F L9p3h
~&tM`Q4i6i07、button_check_info ( button, property, property_value );检查按钮属性的值
\K7M7G%BH5G-{$ky0
x"Q N#V~:Xut w08、button_check_state ( button, state );检查单选框或复选框的状态51Testing软件测试网Z TU2f~;A3f V+J
eE~9B5K/m nt/g&N{rC09、button_get_info ( button, property, out_value );返回按钮属性的值51Testing软件测试网.x3Ue1u"^+pw
8N`&ylB}+O+I010、button_get_state ( button, out_state );返回单选框或复选框的状态
4J"V(m5l#y9M051Testing软件测试网 WoKxM5DW_
11、button_press ( button );点击按钮51Testing软件测试网)x5].EOg
&I4l?%Ff8_OI%g012、button_set ( button, state );设置单选框或复选框的状态
8YW-o Y:p4Dn$P051Testing软件测试网)FN$Vc%X9o2_(`3m
13、button_wait_info ( button, property, value, time );等待按钮的属性值变化
3LR3P jB1f0
-^*N{'Z)o'q014、calendar_activate_date ( calendar, date );双击日历某个日期
#AM }M2lVR@0
&w%BZ+bjT q015、db_check ( checklist, expected_results_file [ , max_rows [ , parameter_array ] ] );比较当前数据库数据和期待的数据库数据
`*Z thS:s&\051Testing软件测试网$M^&{3[)r#S-W'K]3Q
16、db_connect ( session_name, connection_string );建立一个数据库session并建立odbc连接
0Q"H.OlZmpN-_0
u5mdX'{f K$Tp017、db_disconnect ( session_name );断开连接结束session
+?%|x)X?Z051Testing软件测试网v]x-U-Z
18、db_execute_query ( session_name, SQL, record_number );执行sql语句返回记录集
XR t C%H ]%I2}]051Testing软件测试网*h4\rg[!AkS
19、db_get_field_value ( session_name, row_index, column );返回数据库特定区域的值51Testing软件测试网'ELj!PaAgZ^D
51Testing软件测试网-]NhO:b-Z
20、db_get_headers ( session_name, header_count, header_content );返回数据库session的列的数量及列的内容并以tab分组51Testing软件测试网@7E h ?|D
51Testing软件测试网3Sf9r5R+Ga"M
21、db_get_last_error ( session_name, error );返回最后一条数据库session错误信息
!h0g8}r"|k0
N0Lr&Kd'\+hv9o#n8ff:f022、db_get_row ( session_name, row_index, row_content );返回特定行内容
R5[i:G#oQ8`0
"Xf2d-X5K3z&u023、db_record_check ( ChecklistFileName , SuccessConditions, RecordNumber ); Compares information that appears in the application under test during a test run with the current values in the corresponding record(s) in your database.51Testing软件测试网v:P0fVJ*g{Ed8Zl
6P7b$DF.mT.S9cA024、db_write_records ( session_name, output_file [ , headers [ , record_limit ] ] );把结果记录集写到一个文本文件51Testing软件测试网[N~{:F
51Testing软件测试网tH \*{U R BfZ.skw
25、ddt_close ( data_table_name );关闭数据表文件
W:}Rc(S8~ Z0
ixrO v\F3A026、ddt_close_all_tables();关闭全部数据表51Testing软件测试网;]vt s hRvo@
,`.r[,B-d027、ddt_export ( data_table_namename1, data_table_namename2 );把一个数据表信息导到另一个数据表文件
w(?n F d nEx5v0
9}"o(sFl"J"g,X$v028、ddt_get_current_row ( data_table_name, out_row );返回数据表当前所在行
z-?9vfI$dP2Y2i0
,Q?'P?x"x c9^k%Z I0`029、ddt_get_parameters ( table, params_list, params_num );返回数据表的参数和参数的个数
ku[EJ/y$| ^051Testing软件测试网/o8D4V`8T$h8x}Ic
30、ddt_get_row_count ( data_table_name, out_rows_count );返回数据表行数
nV M-t%Tg051Testing软件测试网@#_|/p%K(k,R0zV
31、ddt_is_parameter ( data_table_name, parameter );返回一个参数是否在数据表里有效
I_-NE@;}W0
H gK m7s/\ey032、ddt_next_row ( data_table_name );指向数据表中到当前行的下一行51Testing软件测试网5zA/B.oe8@;i"ZY
#Op(t[+S]2KI+g'w033、ddt_open ( data_table_name [ , mode ] );打开或创建一个可以访问的数据表51Testing软件测试网 Y@G.H'}-E0q
2M;`'c3OVzn n034、ddt_report_row ( data_table_name );报告当前行到测试结果
q4D6? MW1[.@h]051Testing软件测试网p7["TM.t)x
35、ddt_save ( data_table_name );保存数据表信息
iw"L'WZriC8y051Testing软件测试网#U|oC"eM:ct
36、ddt_set_row ( data_table_name, row );设置当前行为第几行
Q/Y s3w&MMV[)[0
}*I Fbc LHh/X037、ddt_set_val ( data_table_name, parameter, value );插入parameter列一个新值value51Testing软件测试网$YN"jR]}@#~Q;{
6LlJre4O038、ddt_set_val_by_row ( data_table_name, row, parameter, value );插入特定行的parameter列一个新值value51Testing软件测试网,E2g;gtm'bT
1DZ%p9a4A{+F*b"s039、ddt_show ( data_table_name [ , show_flag ] );显示或隐藏数据表,1是显示,0是隐藏
[4s.D^?8|-X!ixz0
.Z0]!k#\'{%A#VY4o040、ddt_sort ( table_file, row1, col1, row2, col2, sort_by_rows, key1 [ , key2, key3 ] );根据关键字将数据表特定区域的值排序,sort_by_rows 参数1是按行,0是按列
TaA4ky ~i&]051Testing软件测试网4RJ'}*h:seS
41、ddt_update_from_db ( data_table_name, file, out_row_count [ , max_rows ] );从数据库往数据表里导数据;
$Nc(d"fDC0
Z-fa u L0g$s042、ddt_val ( data_table_name, parameter );返回数据表当前行的参数的值51Testing软件测试网 K3rCOWZ
51Testing软件测试网+R|FJ V-Q!uE$v
43、ddt_val_by_row ( data_table_name, row_number, parameter );返回数据表特定行的参数的值51Testing软件测试网D1};C#^#L+v6L)VY
n?[ \I%KG:y044、date_age_string ( date, years, month, days, new_date );将日期相应改变返回新值
Q0p,GT(g9k j0
@8d-ncu3Y.Z Q045、date_align_day ( align_mode, day_in_week );指定特定的日期给某天
'pp)Bt e'MG'@I0
*hXIp O%u(@046、date_calc_days_in_field ( field_name1, field_name2 );计算两个日期间的天数51Testing软件测试网?o pd2s1E
51Testing软件测试网0F\"A)E!teM&M2vu
47、date_calc_days_in_string ( string1, string2 );计算字符串格式的日期间的天数
,D n,I9Pu%_3D&Tp)z051Testing软件测试网2FI+[5]%oY ^{z
48、edit_check_info ( edit, property, property_value );检查对象属性的值51Testing软件测试网)c0b EMD9?y e
w#^H)?4_.h+R049、edit_check_selection ( edit, selected_string );检查选择的字符串是否存在
J3{R|6fSG0
/M].]a`(s _050、edit_check_text (edit, text, case_sensitive );检查编辑对象的文本内容51Testing软件测试网%_;|uP3UP6D0Uz1ZI
51Testing软件测试网eQ!_Pu*G5b.S.r8C
51、edit_delete ( edit, start_column, end_column );删除编辑对象的文本内容
S!DBb X wS'LS/m051Testing软件测试网#D'iv8o!hZ)Y4p
52、edit_delete_block ( edit, start_row, start_column, end_row, end_column );删除文本区
9YT3R^m [ F$O'O0
j0doSu053、edit_get_block ( edit, start_row, start_column, end_row, end_column, out_string );返回文本区
7~8T?zP0
`5g khlq9S*}W \1n054、edit_get_info ( edit, property, out_value );返回编辑对象的属性值51Testing软件测试网f Vps I1aL
51Testing软件测试网 V4G `OtNQ+_G
55、edit_get_row_length ( edit, row, out_length );返回编辑对象里行的长度
3?b&mEdT[0\*J6K[051Testing软件测试网)uElh*kMB-Eq Z
56、edit_get_rows_count ( edit, out_number );返回编辑对象里行数
#`._ O t-Q6A~6fmb0
6OdYbi&V(CX7z Z057、edit_get_selection ( edit, out_string );返回编辑对象的选定字符串
a.{?4d O@051Testing软件测试网@kcx*X,a$Nr\
58、edit_get_selection_pos ( edit, out_start_row, out_start_column, out_end_row, out_end_column );返回选定区域的开始和结束位置51Testing软件测试网3C}.pR/Nu E \
51Testing软件测试网#d DP8R{h DAy
59、edit_get_text ( edit, out_string );返回编辑对象的文本
PR)`0a^$fF*N&{@:tq051Testing软件测试网dD Kjf
60、edit_insert ( edit, text, columnI );在编辑对象第一行插入文本
0Ue U+cA.|H4b0
V5GI(k/^ l%S z061、edit_insert_block ( edit, text, row, column );在一个多行编辑对象插入文本51Testing软件测试网#Xv+rzJp(_H;E bS0uf
A.W`2i}S062、edit_replace ( edit, text, start_column, end_column );替换一个编辑对象的内容51Testing软件测试网[ @GDa3Z&ai
B0{KUoyb063、edit_replace_block ( edit, text, start_row, start_column, end_row, end_column );替换一个编辑对象的多行内容51Testing软件测试网3Y8KIm.qL.D!l|g
51Testing软件测试网?:NZCW$SA
64、edit_set ( edit, text );替换编辑对象的全部内容
Dd}0Iu ?8aITr051Testing软件测试网3k-x]0B6p U-R&Q s2B#r
65、edit_set_insert_pos ( edit, row, column );把鼠标指针放到编辑对象特定位置
oWlRh4R@O0
8yYVv)}6_7S ~b3t066、edit_set_selection ( edit, start_row, start_column, end_row, end_column );选择编辑对象的文本
&g/wE3R2bED051Testing软件测试网+g&{N;v5K[:Ga
67、edit_type ( edit, text );在编辑对象敲入字符串
;J/Z gNMt[/P051Testing软件测试网Z M$w|Q&u