Micro Focus QTP (UFT) Forums
QTP recording web objects as windows objects - 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 recording web objects as windows objects (/Thread-QTP-recording-web-objects-as-windows-objects)



QTP recording web objects as windows objects - Ansh123 - 11-21-2012

I am trying to record a SAP web application and QTP is recording the transactions as windows objects instead of browser objects. Further it does not recognise links at all. For example it recorded opening of the browser as -

I am using Windows 7 with IE8
Code:
Window("Windows Internet Explorer").Maximize instead of Browser.Page.Link...

I clicked on two links after and changed pages but nothing got recorded.

Any help would be appreciated.

Thanks


RE: QTP recording web objects as windows objects - ssvali - 11-21-2012

Please make sure that
1. Application is open after QTP is opened
2. Check the required Addins and patches

Regards,
ssvali.


RE: QTP recording web objects as windows objects - Ansh123 - 11-24-2012

I did check all the add-ins and patches. The application was opened after QTP was opened. It is still recording as Windows object.

Thanks
Jyotsna


RE: QTP recording web objects as windows objects - savitripatil - 11-24-2012

check the Automation-> Record and Run settings section and verify for the radio button selection done in both windows and web tab... under web tab select the "Record and run test on any open browser" and apply the setting. sometimes it does not work immediately so you need to close and reopen QTP then it will work.
let me know if it helps.

-spatil


RE: QTP recording web objects as windows objects - supputuri - 11-26-2012

HI,

1) What is your browser and its' version?
2) As you are working on Windows 7, please cross check whether you have appropriate patches to identify the objects?

Let me know th ans for the above, the we can help you...


RE: QTP recording web objects as windows objects - vinod123 - 11-26-2012

Windows 7 and IE 8 does not work with qtp you require qtp patch so that it accepts your environment. The patch is QTP_00644.EXE


RE: QTP recording web objects as windows objects - Ansh123 - 11-30-2012

Thanks. I had to open a ticket with HP and it turns out Sprinter was causing the issue. Had to re-install QTP. It works ok now.