Micro Focus QTP (UFT) Forums
Issue with identifying Javatable column - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Issue with identifying Javatable column (/Thread-Issue-with-identifying-Javatable-column)



Issue with identifying Javatable column - a_karamched - 07-22-2008

Hello

I am working on a Java Portal application. Most of the validations on the portal are done on the Javatable object present on the portal.

I used simple validations by retrieving the cell data For example :
Code:
JavaWindow(”My Navigator - Teamcenter”).JavaTable(”Properties of selected”).GetCellData(3,”Object”) = "xyz"

The column names of table visible on the GUI are simple “Object”,”Relation”, etc

It was executing perfectly fine , but suddenly the names of the columns are not being identified correctly. When I place a checkpoint on the table, the names of the columns are recognised as some Java swing code as follows:
Code:
[javax.swing.JButton[,-89,-21,0x0,invalid,layout=javax.swing.OverlayLayout,alignmentX=0.0,=*************,text=Trade Restricted,defaultCapable=true]]


This is causing a major problem because, I cannot use the column indexes for validations as the column position is dynamic for each user and site in the application.

I am using QTP Version 9.2, Java add-in 9.1 .

After facing the problem i have reinstalled, the softwares couple of times and also tried on totally new machines . But the same problem.

Can you please help me with any suggestions or solution?

Thanks a Lot for ur time

Regards
Archana[attachment=79][attachment=80]