Micro Focus QTP (UFT) Forums
Java custom object - 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: Java custom object (/Thread-Java-custom-object)



Java custom object - Raj - 09-29-2008

Hi All,

Application has java custom object like LsMultilist it's basically extented from Java multilist Class. LsMultilist has number of rows and columns in it but QTP9.5 does not recognizing that multilist it's displaying the Class as object. So i just want to retrieve the rows and columns

i have tried as below, but no luck
Code:
set rs=Browser("View Party").Page("Party Management").JavaApplet("PartyApplet").JavaObject("LsMultiList").Object
Set ns= rs.numlists()
print rs

Help me to use java multilist methods to retrive the rows or if you have any other better idea to do the same please

Any Help highly appriciated

Thanks in advance,
Natarajan