Micro Focus QTP (UFT) Forums
Checkpoints in QTP with Oracle Add-In - 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: Checkpoints in QTP with Oracle Add-In (/Thread-Checkpoints-in-QTP-with-Oracle-Add-In)



Checkpoints in QTP with Oracle Add-In - Mathias - 07-04-2008

Hello !
I've a very strange problem with QTP.
I use QTP 9.2 with Oracle 8.2 Add-In
I start QTP with Web & Oracle Add-Ins enabled.
I start Oracle Applications (The application I want to test, that is a java applet)
When I record my test everything is OK, the generated source code looks like this :
Code:
With OracleFormWindow("Oracle Applications")
    .OracleTextField("Username").Enter "Mathias"
    .OracleTextField("Password").Enter "Mathias"
    .OracleButton("Connecter").Click
End With
In the Object Repository, the objects related to the code are "Oracle Forms Objects".
As you can see, QTP is able to recognize and parse multiple levels in the Oracle Application Applet structure (The form window, then the Textfield etc.)
For the moment, everything's OK.
Then I want to add a "Standard Checkpoint" to my test.
QTP opens the "Object Spy".
I want to check the value of a textfield located in the Oracle Applucation Applet
[Image: qtpckja4.jpg]
As you can see, QTP is not able to recognize the targeted object and its hierarchy. It stops on GlassMouseGrabProvider$Proxy.
In fact, it recognize Oracle Applications as a "Java Object" instead of an "Oracle Forms Object".
Do you know if it's possible to configure QTP so as to use the "Object Spy" and "Checkpoints" in Oracle Applications ?
Thanks a lot

Mathias


RE: Checkpoints in QTP with Oracle Add-In - Mathias - 07-04-2008

I've reinstalled QTP and Oracle Add-In.
Now the "Object Spy" can see all the Object hierarchy, not only the first Object. But I still can't use the "Object" Property for my QTP test objects.
I believe there is a solution (by deactivating Oracle add-in, activating Java add-in...) but this hasn't solved my problem.
The Java add-in alone allows me to use "Object" Property on new recorded objects, but not on Oracle objects recorded with the Oracle add-in.

The biggest problem is that, in "Record mode", QTP recognize "Oracle Objects", but in "Repository Add mode", or with the "Object Spy", the objects recognized are "Java", not "Oracle".


RE: Checkpoints in QTP with Oracle Add-In - llankipalli1 - 08-06-2008

Hi,

This happens sometimes that if you close the Oracle application window and opened from the Oracle Responsibility window sometimes the object properties varies from oracle to jave, Usually if you have oracle Addin and still you have problem the try to request the patch QTPORACLE82P6107.exe
and one more thing instead of using object spy why dont you use the Object repository to add the object, Try to add all objects to object reporsitory then it will get stored as oracl form window etc then associate this object repository to your test then it will recognizes easily
dont disable the oracle addin since if you want to work on oracle application oracle addin is must...

Regards