Micro Focus QTP (UFT) Forums
QTP Recording 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP Recording Issue (/Thread-QTP-Recording-Issue)

Pages: 1 2


QTP Recording Issue - Shama Ahsan - 03-18-2011

Hi,

I am working in QTP 11.00. issue is that my scripts are not getting record.
for suppose em recording google.com. when i used to enter, its does not display any line of code in QTP window. it just displaying one line that is
"Window("Windows Internet Explorer").Close"

its only capturing mouse clicks. is it??
please guide.
thanks

Shama


RE: QTP Recording Issue - Zelfiris - 03-18-2011

Did you enabled the Web add-in when you open QTP?

I found it when you want to use QTP against another application I generally have to have QTP open first, then the application. Try that.




RE: QTP Recording Issue - basanth27 - 03-18-2011

Open qtp first and then the app.


RE: QTP Recording Issue - Shama Ahsan - 03-21-2011

Thanks Indeed.

Basanth,

when i used to click on Record Button, a window gets open and in that window i already set the application, for suppose em testing Google.com.
when i click on OK button, recording start and it automatically opens Google, now thats the point... em searching some specific text, close browser, but here nothing is displayed whatever i did in search engine.
it only display a line ov code "Window("Windows Internet Explorer").Close"
please help me to resolve this Sad



RE: QTP Recording Issue - basanth27 - 03-21-2011

Checklist,
1. Addins ?
2. Any other browser or more than one instance of browser open?
3. If the above two doesnt work then try this,

Close all the open browsers.
1. On QTP, in the expert view, type the below,
1.1 SystemUtil.Run "www.google.com".
1.2 Then record the app.

I am awaiting a reply...


RE: QTP Recording Issue - Shama Ahsan - 03-21-2011

Hi Basanth,

1. Addins -- Web add in
2. No open browsers.

I have typed the above mentioned namespace by you before recording but still the same results Sad it dint work for me... My Bad!!

thanks




RE: QTP Recording Issue - basanth27 - 03-21-2011

I missed a basic question..sorry my bad..i have been swamped all day.
Which version of IE are you using ?


RE: QTP Recording Issue - Shama Ahsan - 03-21-2011

ha ha ha ha ha thanks indeed, you gave your precious time and honored me. it encouraged me and i tried it in every possible way...
i would come up with a solution and surely share with you Smile
i guess i need to spend some more time with it, i would screw it.
em using 11.0
its going fine with desktop applications, but it records nothing for web.
anyways let me explore it.



RE: QTP Recording Issue - basanth27 - 03-21-2011

Way to go my friend..hey BTW, on the run settings have you set the option as Run on any browser?


RE: QTP Recording Issue - Shama Ahsan - 03-30-2011

Hi Basanth,
solution: Make sure to launch QTP as Administrator. For this, right click on qtp icon and select run as administrator. If this dosent solve the problem, I would suggest to reinstall it. Login to the machine as Administrator, right click on setup.exe and select run as administrator Smile