2010-05-12 48 views

回答

0

只是发现了 - 我们必须使用sReport方法来访问particulat柱元件 例如:

sReport = sReport & .GetSubItem("123", 2) & vbCr 

其中 “123” 是S.No.它将通过S.No.访问第三列。 =“123” sReport应该通过With Objectname来访问

0

sReport不需要获取数据。这仅用于报告目的。 相反,你也可以尝试下面。

Var = Window().WinlistView().GetSubItem (Row, Col) 
Where row => you can get by using the GetItem in a loop 
and Col => you can get by using GetColumnHeader 

有关更多详细信息,请转到QTP帮助和搜索GetSubItem,然后单击示例Implementation。