Micro Focus QTP (UFT) Forums
QTP is recording in Windows mode and not in Web - 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: QTP is recording in Windows mode and not in Web (/Thread-QTP-is-recording-in-Windows-mode-and-not-in-Web)



QTP is recording in Windows mode and not in Web - shiraz - 05-20-2009

I have QTP scripts for a Java applet and everytime I record, for example typing in a textbox, QTP records correctly and generates the script:

Code:
Browser("iCFM (TST)").Page("iCFM (TST)").ActiveX("Java Plug-in 1.6.0_03").JavaApplet("ICFMApplet").JavaInternalFrame("Settlement Journal").JavaEdit("Contract Id").Set "12345"

Today, when I attempted to record, QTP is generating the following script:
Code:
Browser("iCFM Login").Page("iCFM (TST)").WinObject("SunAwtCanvas").Click 426,331
(.. and many instances of this similar code for the action of typing on a textbox).

I am new to QTP and I am the only one using this tool. I don't know which option/setting I should check so that QTP records back to its to recording and generating code in Browser().Page...... and not in WinObject.

Thanks


RE: QTP is recording in Windows mode and not in Web - sreekanth chilam - 05-20-2009

HI ,

Try with the following & let me know.

1.Make sure to Select required Addins(Java) for ur Appl. & log into QTP

2.Invoke QTP first & then the ur Application (not vice Versa) --> Record & See.....

3.Make sure to configure the "Record & Run Settings" Properly.