Micro Focus QTP (UFT) Forums
QTP Oracle and Java add-ins issue - 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 Oracle and Java add-ins issue (/Thread-QTP-Oracle-and-Java-add-ins-issue)



QTP Oracle and Java add-ins issue - navitha - 09-03-2008

I am testing an application which was developed using Java and Oracle Forms.

- This is a web application. When you type URL, it opens a "java applet" which is main window, it has Oracle Forms Window as subwindow.
It has "User name", and "Password" and a button.

- First we installed Oracle Add-ins, added objects to repository.
Here is the object details
Code:
JavaWindow("Oracle Developer Forms").JavaInternalFrame("MAIN---MAIN_WINDOW").JavaEdit("VTextField").Set "sss"
    JavaWindow("Oracle Developer Forms").JavaInternalFrame("MAIN---MAIN_WINDOW").JavaEdit("VTextField").PressKey micReturn
    JavaWindow("Oracle Developer Forms").JavaInternalFrame("MAIN---MAIN_WINDOW").JavaEdit("VTextField_2").SetSecure "48bd9d9e31e3c03476c35796f1b8b6dcdd96753b"
    JavaWindow("Oracle Developer Forms").JavaInternalFrame("MAIN---MAIN_WINDOW").JavaEdit("VTextField_2").PressKey micReturn

But when we run the test getting run time errors.
Run Error Unspecified error
Line (62):
Code:
"JavaWindow("Oracle Developer Forms").JavaInternalFrame("MAIN---MAIN_WINDOW").JavaEdit("VTextField").Set "sss""


- We thought Java addins are required, so we installed Java Addins. UserName and Password objects added to repositry. Here is the object details.

Code:
JavaWindow("Oracle Developer Forms").JavaObject("GlassMouseGrabProvider$Proxy").SetTOPro

It looks like this is not correct?


- Do we need both java and ORacle add-ins? Is there any specific order to install add-ins


Please can you help me on this..This is a high priority issue for me..

Thanks
Navitha


RE: QTP Oracle and Java add-ins issue - vamshiram - 09-12-2008

HI Navitha

May be the development team used java applet to load oracle forms

u required both addins.

Vamshi


RE: QTP Oracle and Java add-ins issue - Ankur - 09-12-2008

There is a certain patch that you need to ask from the HP support when you face problem of Java objects conflicting with Oracle add-in.You can raise a ticket at support , I am sure they can help you with this.


RE: QTP Oracle and Java add-ins issue - rajasekhar7 - 03-02-2009

Hi Navitha

No body is solving this issue . With the both add ins script is play back normally for the first time but for second time its behaving abnormally. QTP didnt recognising objects. Browser needs complete cleaning . For this i used browser clean up option in QTP . It is working but end of execution all open browsers are closing includuing QC.
I need to avoid QC closing.


RE: QTP Oracle and Java add-ins issue - rajasekhar7 - 03-04-2009

can any body help in solve it?


RE: QTP Oracle and Java add-ins issue - hareeshss - 03-10-2009

After installation of QTP.
First install oracle Addin. and patches (if Any)
Second Install Java Addin and patches (if any)

Record the application as ORACLE Application.

You can see Oracleformwindow instead of JavaWindow


RE: QTP Oracle and Java add-ins issue - WolfgangB - 07-29-2010

I tried also to run QTP against Oracle Forms (with Webstart). But QTP recognize JavaButton, not OracleButton.

Which version of QTP an Oracle Addin does i need?


RE: QTP Oracle and Java add-ins issue - supputuri - 07-29-2010

Hi Rajasekhar,

Make sure that you have selected the "Ignore Quality Center" checkbo under "Tools -> Options -> Web".