51Testing软件测试论坛
标题:
Test-object operations 和 Run-time operations
[打印本页]
作者:
marco
时间:
2007-3-26 14:25
标题:
Test-object operations 和 Run-time operations
在Step Generator里object 可以选Test-objec operations 或者 Run-time operation
我用前者执行一个getroproperty取一个webtable的行数
和用后者直接取行数有什么区别
var_GetROProperty = Browser("aaaa").Page("bbbbil").Frame("Mainframe_2").WebTable("30").GetROProperty("rows")
返回值为10
var_rows = Browser("aaaa").Page("bbbb").Frame("Mainframe_2").WebTable("30").Object.rows
返回值为[object]
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2