Micro Focus QTP (UFT) Forums
Does QTP handle the Web Services API 2 dimensional array return? - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Does QTP handle the Web Services API 2 dimensional array return? (/Thread-Does-QTP-handle-the-Web-Services-API-2-dimensional-array-return)



Does QTP handle the Web Services API 2 dimensional array return? - bcmouli - 03-20-2008

The API is returning 2 dimensional array, but the QTP is not recognizing that as 2 dimensional. On the debug viewer ‘Watch’ tab the array is shown as below
[-] Var_test
[-] var_test(0)
Var_test(0,0)
Var_test(0,1)
[-] var_test(1)
Var_test(1,0)
Var_test(1,1)

But if try to print Var_test(0,0) in script, the error message pop saying ‘out of range’.

Please can any one suggest me what could be the wrong here?