Micro Focus QTP (UFT) Forums
.Object vs GetROProperty? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: .Object vs GetROProperty? (/Thread-Object-vs-GetROProperty)



.Object vs GetROProperty? - Archens - 03-28-2012

Does anyone have any pros or cons to share regarding the use of Object in place of GetROProperty?
Code:
JavaWindow("Main window").JavaTable("BoxTable").GetROProperty("rows")
JavaWindow("Main window").JavaTable("BoxTable").Object.getRowCount