Micro Focus QTP (UFT) Forums
QTP with SAP table - 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: QTP with SAP table (/Thread-QTP-with-SAP-table)



QTP with SAP table - logcabin139 - 03-28-2008

HI,
I'm having trouble getting QTP to recognize a table on the screen. I put in the 'type' for the SAPGuiSession & SAPGuiWindow but when I go and place a descriptive word in the SAPGuiTable it states there is more than 1 object with that description yet when I Spy on the cells or column headers the descriptions are exactly the same in the Spy.

Have any idea how to get it to identify it uniquely?

Thanks,
Donna


RE: QTP with SAP table - sreekanth - 04-10-2008

Hi,
check the no of sap tables in your application window.
if you have more than one table you will get the error.

it works normally in the sense like normal windows applications every SAPGuitable will have the type as "GuiTableControl" so try to use some other property like "NAME" or "Id"