After installing QuickTest Professional you attempt to record against an application but find that QuickTest Professional is unable to record anything other than “SystemUtil.Run” commands.
First make sure you have followed this
If you have done as mentioned above then try attempting the following:
Select the option to record and run on any open application
1. Go to Test -> Record and Run Settings.
2. Select the Windows Applications tab.
3. Select the “Record and run test on any open Windows-based application” option.
Note:
The “Record and run on these applications (opened on session start)” option (or its equivalent for other add-in environments) is the default option for QTP.
If you want to keep track of further articles on QTP. I recommend you to subscribe via RSS Feed. You can also subscribe by Email and have new QTP articles sent directly to your inbox.
Please use the QTP forum for posting questions now!
Hello,
How to record Child or how to select the child node from the tree, i can not fing it with the QTP insight object or recording.
Please help me for this.
Thanks
Nikunj
Hi,
I have installed UTF 12.50 version. I have followed the steps given in the tutorials but when i start recording a web application, script is not getting generated.Can you please help!!
I have installed Quick Test Pro 11 but when record web, there is not any code is generated. Please help me.
My PC’s environment is as below:
OS: Window XP service pack 2
IE8
Firefox 26.0
There can be lots of reason. Please search on top and you should get your answer.
Hi Ankur,
I am testing a Windows based application using UFT 11.50. When I am highlighting the objects using object spy, objects are highlighted and even able to add objects in local repository. but when I am trying to record the sam application, action is not recorded.
Please suggest.
Thanks,
Alok
How to use “micBack” ?
when i am recording website function ,micback is displaying to clear data from url in the script.
Please explain me the function of micback.
Hi Ankur,
Can we test websites using QTP 10.0 trial version?
I am trying to identify object of the website (Php) using QTP 10.0 trial version but its displaying same properties for all the objects on the page.
Thanks in advance
Please tell me can i test a Php based website using QTP 10.0 trial version ?
Yes, trial version have full functionality of the licensed version. PHP, JSP, ASP doesn’t have any affect on QTP. They are all server side programming languages.
Hi Ankur,
Please help me by clearing these doubts:
1)In my company,we are trying to use trial version of QTP to test the application.Is it possible that we can use trial version of QTP 10.0 for live application?
2)I am not able to identify objects in QTP 10.0 trial version for WPF application.
Please reply me as soon as possible.
Hi Ankur,
My application is Flash web based application, Can i identify the objects in google chrome?
Note: I used qtp 11. It record and replay in IE9 but not in google Chrome.
Thanks in advance..
hey thanks buddy it
worked
Hi,
I need help. I have qtp version 10.00 installed and have IE 9. I am not able to record any actions performed apart from moving the browsers.
Please let me know what setting I need to apply since the basic addins check is already done.
Hi,
We have an 64 bit application developed in DotNet 4.0 framework and WPF is installed in 64 bit vista OS.
QTP 11 with QTP_00709.exe & QTP_00699.EXE patches recognizes those DotNet 4.0 and WPF as Win objects.
Plz let me know if anyone has any ideas that may help.
thanks in advance.
hi ankur ,
can u please tell me how i run my windows application at same delay as i recorded i m working on some windows application which is depened to time
Ankur,
need help.
Need to use QTP on a silverlight application where prima facie qtp is not in a position to recognize the object.
Regards
Sushil
Hi Mt. Ankur,
Recently i have installed QTP 11.0 trail version. Record and run settings is not working while i open my browser, but when i closed application it will generate the script(only for closing).
Can QTP be used to test applications written in Python?
Hi Ankur,
I am getting the below error while running the VB application script
“Cannot find the “12/20/2010”
object’s parent “frmClaimFolder” (class VbWindow). Verify that parent properties match an object currently displayed in your application.
Line (2): “VbWindow(“frmClaimFolder”).ActiveX(“cmCFControls.ctlClaim”).ActiveX(“SSTab”).ActiveX(“SSDateCombo Control”).WinObject(“12/20/2010″).Click 7,6”.
I have tried in allways to fix the problem with ActiveX.But icould not get success in that.
Please help me for fixing this problem of Active X.
My application has many Active X objects. QTP is able to record the problems but while running the script i am getting the above error.
Please help.
Thanksm
Deepak
i am not able to run the recorded flight application in vista environment
HI ankur,Is there any diff btw the QTP 9.2 and QTP 10
Hi Ankur,
My application is Window based application, when i record script, all textbox, buttons, list boxes are recording as WinObject under proper window. and weird thing is that all Winobjects are having same name.
is there any way to distinguish? I tried hwnd property but it is also dynamic,
Any suggestion?
Prady
Hi All,
I would like to record test script of QTP from .NET C#. I have alreday launched QTP and run script from .NET C# but can not record programetically.
Please help.
Thanks in advance.
Sarnendu De
Could any one tell me if qtp be can be used for analyzing Graphs and charts?
While i try to record and spy the object , it was just added as active x object without any run time properties.
Do any one suggest me ,how do i get plotting point of the graph ?
Hi Sarkar,
QTP is written in C# code
—————————-
Hi Natesh,
You need a flex addin in your case, that you need to contact flex or adobe to get that, they provide flex addin for QTP
Hi Ankur,
Can anybody tell me what language the QTP tool itself is written in?
Regards,
Sarkar2009
Iam a new hand on QTP. Iam using QTP 10 to test a Flex 3.0 application. Is it possible to test Flex 3.0 application with QTP 10. If yes, do i need to include any additional plug ins. Any suggestions on how to get started would be welcome.
Regards
Natesh
Any suggestions using QTP 9.2 on a SmallTalk application? QTP dose not recognize some of the objects.
Hi Ankur,
I am working on LoadRunner but I am very much interested to learn QTP, I have downloaded the trial version QTP 10.0 from HP site and installed it in my system which is having windows vista. Now I am trying to record one web application but no code has been generated while recording. Can you please let me know what is the reason behind this.
Thanks,
Prasenjit
Hi All,
QTP 10 dosn’t Identify WPF objects On Windows Vista (64 bite) OS
Do you have any idea how could i make this work ?
Hi Nivi,
could you please help me in getting a sample WPF application. Iam currently doing a research on WPF controls with QTP.
Hi Ankur.
I am Ashwin. I got a high prority task. Using QTP I need to Open the a new email from the Outlook using suject line.Please help me in this regard.
Hi…..
I am unable to open the browser while i started my QTP for recording.
one more thing all the browser gets closed automatically.
Hi Ankur,
this is Harish
i am using QTP 10.0 and i am not able to identify the Java Object(i have already installed the Java-addin and web service add in) when i do the object spy onn the application it shows as
“winobject:SunAwtCanvas”
plesae let me know how it identify the java object
Hi Ankur,
U r really a superstar…..a big help for QTP beginners….I want to test a client server window based application developed in asp.net on QTP 9.0..which .net add in do i need to load???? and please tell me hat will be the classes used for .net application, for visual application it used be like winbutton, winedit etc..
hi all,
i am getting browser pop up window whil running my windows based application can u please help me how to ahndle this.
when i am clicking dont send on the pop up window its not displaying…plz help me in detail
Hi Ankur,
My query is that, QTP scripts developed for web application using IE6.0 can be reused in MS Vista OS. And also whether the same scripts can be applicable in IE7.0.
Please let me know
Thanks in Advance
hi ankur,
actually i hv just started working on QTP.
I need some help in the beginning.
Actually when I try to record a windows application with QTP, it only records the System.Util….and then it doesnt record anything..
Even it doesnt keep anything in object repositories.
I have ticked “record and run test on any open windows based application” in record and run settings.
I have ticked all the plugin like .net,vb,web,activex,wpf……
when i add object manually to object repositories and code in vb script in expert view…seeing the methods from object spy..
the code works on running
It is getting very troublesome where the problem is.
If you can suggest me anything, then it will be of great help.
hi Ankur
This is nimisha. I want to know thta is QTP supports HTTPs sites recording ?
Hi Ankur,
I am new to QTP and I am using QTP 9.2. I tried to record a web application, the application has some child window, such as click a Find button, and it will open a new window. When I recode the workflow everything seems fine. But when I tried to run the record script, I have few problems.
1. It missed few steps, and opens the child window inside the main window.
2. Sometimes since it misses clicking, or double clicking steps the script can not completely replay.
3. I am using IE7, and when I run the record script, it gets some error, and the IE window hangs, or giving the Miscrosoft.com searched by SysFader: iexplore.exe – Application Error.
Do you have any idea on how to fix this problem?
Thanks,
Ning
Hey,
I need to capture a pop up menu in my WPF application using QTP. The pop up doesn’t show up in the Object Repository. Could someone help me resolve this issue?
-Nivi
@ Shariq: As I have already written above, I have stopped taking questions on this blog. Please use Testing Tools forum for posting QTP questions.
Hi ankur,
I am facing the problem of recording click on menu items. can you help?
@ Reenu and ALL:
Please use the Testing Tools forum for posting questions!
Hi Ankur….wow u r big help to everyone..I have aquestion too.I am new at this.I ma trying to record a VB application. QTP records everything but does not record click on menu items.like “find”, “close”. Please help. Please meail me on reenu6@yahoo.com
Hi Ankur,
As per my requirements i have to test whether image is opened properly are not (Broken Image)
my code is like this:
set obj=Browser(“name:=Blackboard.*”).Page(“title:=Blackboard.*”).Frame(“name:=main.*”).object.all.tags(“IMG”)
msgbox obj.length
For each element in obj
s1=element.nameProp
If Browser().Page().Frame().Image(“file name:=”&s1,”index:=0”).exist(0) then
If Browser().Page().Frame().Image(“file name:=”&s1,”index:=0″).Object.complete=”True” then
msgbox “pass”
else
msgbox “fail”
end if
end if
Next
Above code finding the broken images in web page , but its taking time to execute following lines
If Browser().Page().Frame().Image(“file name:=”&s1,”index:=0”).exist(0) then
If Browser().Page().Frame().Image(“file name:=”&s1,”index:=0″).Object.complete=”True” then
Is any another option there to find broken images in web page.
Code is working fine but time is main concern here .
Thanks in advance.
Hi Ankur,
This is Manju. I don’t know much of programming, but I am interested to learn Qtp. Could you please help me how to open both yahoo and google pages one after another in Qtp automatically.
Thanks Ankur
Manju.
Hi,
The java add-in is working fine with some of the smaller java applications but I am not able to record the java application used by our company. Could you please let me know how I should go about solving this problem.
Thanks
No Ankur, this did not work. I have changed Custom settings in the Web Event Configuration Dialog. Could you please suggest me with an alternative solutin. Thanks in advance.
Hi Hadassa,
Let me know if you are able to record right click action while opening a new window.
Remember that right-clicks will not be recorded by default unless the object specifically has defined the onmouseup event to handle a right-click. You need to do these settings in Web Event Configuration dialog.
Thanks Ankur. I tried this. But let me post one more question. Consider google site. Given any criteria for searching, if I try clicking one of the options using ‘ Open in new window’, action done on that window is not recorded. It’s parent would be the google page where the options would be listed. Page do not have visible property. Could you please advise.
Hi Hadassa,
By default, QTP does not record on the pop-up windows. The reason why QTP does not record is that the menu’s parent window is not visible. By default, QTP records a command if the object and all its parents are visible. In order to enable recording on an object with an invisible parent, the parent must have the visible property as one of the mandatory properties.Hence set the visible property to mandatory for the parent object.
let me know if this solves the problem.
Hi Ankur,
A question. What action needs to be taken when a pop-up window of an application is not recognized by QTP. Any action performed on it is not getting recorded. Tried to use descriptive programming…but did not work. How can I create a pop-up window programatically. Please advise.