Micro Focus QTP (UFT) Forums
QTP is not recording script - 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 not recording script (/Thread-QTP-is-not-recording-script)



QTP is not recording script - pkdhake - 12-07-2012

Im trying to record the any web site in internet explorer. No actions are recorded in QTP except browser restore and activate. And if I try the same in Firefox it records like windows application.
I am using QTP 10
IE 8
OS Win 7
Firefox 12

What could be wrong? Thanks in advance.

Code:
Window("Mozilla Firefox").Activate
Window("Mozilla Firefox").Click 196,22
Window("Mozilla Firefox").Click 970,130
Window("Mozilla Firefox").Click 344,61



RE: QTP is not recording script - elango87 - 12-07-2012

Assuming that you are not doing some common mistakes, you may need some patches to make it work.
Check the reply by vinod123 (post#6) in the thread below,

https://www.learnqtp.com/forums/Thread-QTP-recording-web-objects-as-windows-objects


RE: QTP is not recording script - pkdhake - 12-07-2012

I installed the all required patches but there is an still problem. I am using QTP 10 license version and after installing it shows an License Error...


RE: QTP is not recording script - elango87 - 12-07-2012

Have you tried repairing QTP? If not can you try doing that.
For license issue, you may have to install the license once again...

Thanks,
Elango


RE: QTP is not recording script - geetha_QTP - 12-07-2012

Hi ,

Try this...
https://www.learnqtp.com/forums/Thread-QTP-recognizes-web-objects-as-win-objects

Ensure protected mode is off...


Open Internet Explorer
Select “Tools > Internet Options”
Click the Security tab
Make sure “Enable Protected Mode” is unchecked so that it is off
Click the OK button
Restart IE

If you have admin privileges, then set the security level as low...

Thanks,
Geetha