Micro Focus QTP (UFT) Forums
C++/Oracle data grid problem? - 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: C++/Oracle data grid problem? (/Thread-C-Oracle-data-grid-problem)



C++/Oracle data grid problem? - paul_20k - 06-05-2008

Hi

I am working on a client server based windows application. Developers say that technology used is C++ with Oracle database but when I record, it records all objects as windows, winobjects even I use .net add-in and/or Oracle add-in.

1. Is there any way to make qtp to recognize objects as swf objects or oracle objects?
2. There is one grid in the application, when I record on it, its recored as WinObject and I can't access individual rows or columns of that grid. Is there any workaround for it?

Hope someone has solution for these issues.

Thanks


RE: C++/Oracle data grid problem? - somisays - 06-05-2008

hi,
By using the GetRoProperty and itemscount you can loop it.

REgards
Sridhar


RE: C++/Oracle data grid problem? - Anshoo Arora - 06-06-2008

How is it going to be possible when the object is seen as a WinObject type?

#1
Its not possible. Its not a .Net app.

#2
Paul - I would recommend you look into Virtual Objects. Even though it may behave like a standard object, QTP is not going to identify it. You will need to add this particular object in your Virtual Object Collection (Vo Collection) and map it to a standard Windows class. Once you add the object to your Vo Collection, using the Virtual Object Wizard, make sure you record on it once. This will reference the Virtual Object (VirtualTable) in your Object Repository.

When you are done, please look into the 'VirtualTable Object' under QTP help. You might need to also take a read on ActivateCell and SelectCell methods.


RE: C++/Oracle data grid problem? - paul_20k - 06-06-2008

Thanks Anshoo..I will try it and keep you updated.


RE: C++/Oracle data grid problem? - paul_20k - 06-06-2008

Hi Anshoo

Your method of virtual objects worked upto some extent. I am stuck at the point as how to extract values from the any specific rows,columns of Virtual Table. I tried with GetTOProperty but it gives blank in the msgbox.

Thanks for your help