Micro Focus QTP (UFT) Forums
Recording in qtp - 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: Recording in qtp (/Thread-Recording-in-qtp)



Recording in qtp - tvambili - 05-23-2011

I am recording a web page where there is an edit button.
When I click on edit the whole page goes to edit mode.

When I try to record and capture this through QTP this action is not recorded.
Can somebody please help me in analysing this issue as I am a beginner in qtp.

I am using QTP 9.0 and a java based web application

Regards
Ambili


RE: Recording in qtp - raksha_kharya - 05-23-2011

hi there,
i m having some problems while recording with qtp.
i m trying to record web application using qtp .i tried with google.com
in the expert view i m getting

Code:
Window("Windows Internet Explorer").Close
Window("Windows Internet Explorer").Maximize
Window("Windows Internet Explorer").Minimize
Window("Windows Internet Explorer").Restore

and when i run
i get

Explorer" (of class Window). Verify that this object's properties match an object currently displayed in your application.

Code:
Line (3): "Window("Windows Internet Explorer").Minimize".

Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository.

i m new to qtp .plz help
thanks in advance
raksha


RE: Recording in qtp - Anand - 05-24-2011

Check that u have checked the ckeckbox of Java Addin and also verify if u have enabled the checkbox for recording web based applications and not standalone or windows applications in the run and record settings


RE: Recording in qtp - sundari.msls - 05-24-2011

Raksha,

According to the first statement in the below code, window is closed. so there is no possibility to perform actions on the closed window. So place the close statement at the end and then try.

Code:
Window("Windows Internet Explorer").Close
Window("Windows Internet Explorer").Maximize
Window("Windows Internet Explorer").Minimize
Window("Windows Internet Explorer").Restore