QTP
* Always start QTP first then start the application that you want to automate.
* Try to avoid the Text Checkpoint, GetText function and other similar functions that deal with screen resolution as this may fail your test in the long run.
Test Director/Quality Center with Web Add-In
If you are working on Web app along with TD/QC open, you might witness that the app opens up on TD/QC browser itself during playback instead of opening in a separate window. The answer for this is to set the index property for browser.
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.
Note: Please use the QTP forum for posting questions now!
Check the up-to-date matrix for the currently supported versions of QC/ALM by QTP (UFT).
Hi Ankur,
Recently we migrated from UFT11 to UFT12. and we are using ALM11.52. We are trying to execute scripts directly from ALM. Session is often disconnecting say after 20 min and because of this result is not getting updated in ALM if we keep the scripts which takes execution more than 20 min. Could you please help me how to overcome this. let me know is there any patch available.
Your effort is really appreciated.
Thanks
Ratna
hai ankur
iam vipin, iam new in qtp can u please help me when i installing qtp 9.2i got following error 1. qt_exec.cfg missing
2. gsw32.exe missing
after the completion of installation , i record a new test ,but i cant save the test ,and also when it click on the run button an error shows failed to find.cfg file (msgid merr-10777)
1. There is a web table with two columns. First column contains the name and second having an image link, based on some conduction. For some row image doesn’t exists.
How would we calculate the total image exists in the second columns.
2. We want to count the number of the text box of the right side of the page.
sainipra@gmail.com
Only right side of the page not left side
One thing I noticed while I run the QTP scripts from QC is the responce time is very slow.
If I save the script in the local folder of my computer and than ran it, the responce time is better.
Tip: while developing the QTP script it alwyas safe to store in the lcoal folder(there will be no. of re-run of the scripts). On final completion of the script and succssful completion of a trail run then the scripts can be saved in QC to officially run the script.
Hi ,
This is Pradeep. New to QTP. I am facing problem whenever I try to record a script with IE7, the browser crashes and i cant record anything. Do you have any patch for this problem so that i could install that in my system. I have valid licensed version of QTP. Please advice,
Thanks in advance
Pradeep
Hi Ankur,
I am sachin from pune, i am having 3 year of exp in manual testing . i would like to move to Automation , Please help me out for same. i am beginner for QTP. if you have any document for sharing then please help me out . How i start ??
Please help Dear.
My Mail Id:
sachin.kasar234@gmail.com
Hi Ankur,
I sorted so many confusion through your posts.
Can you give a script for different framework.
Hi,Plz let me knw..does QTP supports web applications developed by php?
HI …. im new to QTP …i want to know how to check create a cheCk point using VB Script for text value…
and how to test a web page with same recorded senario if changes are made in the web page.
plzzzzz very urgent.
Hi,
Can some one please tell me how to automate the Testset execution in QC? like setting the hostname
Test Director/Quality Center with Web Add-In
If you are working on Web app along with TD/QC open, you might witness that the app opens up on TD/QC browser itself during playback instead of opening in a separate window. The answer for this is to set the index property for browser.
Instead of giving the Index property u can open QC from start menu->my Computer->Type the path..It will open QC as a window…No need to gieve index..
Hi,
I have question regarding pop-up Recovery Scenarios:
How can we handle an unexpected pop-up box which is raised while I am running script (I know we can handle, if we know the name or properties of the pop-up window)?
Can any one please help on this?
Cheers
Sree
sreeni123@gmail.com
Hi Ankur,
How are you..?I hope you are doing well..
1.Advantages and Disadvantages of keyword driven frame work.
2.Adv and Disadv of Peraction Repository and shared Repository.
3.adv and Disadv of Smart identification.
4.How convert number to string and string to number without using strreverse function?
Please help me..
Thnaks,
Thirupathi
thiru.qtp@gmail.com
HI Friends,
This is SrinivasUppalapati. i am trying to learn QTP own.so how to learn the qtp .i want process and guidance for qtp friends. uscmca@gmail.com and uscmca@yahoo.co.in
Regards
Srinivas
Hi,
In Winrunner, we have win_get_text(), Obj_get_text(), find_text() functions are there, is there any same type of funcations In QTP?
to find text and get text..
plz reply me to chanda.rao@enfs.com
poornachebrolu@yahoo.com
–poorna
Hi,
when i run the QTP(version-9.2) in vista machine,the system gets hang.Pls give me any solution for this.
Regards,
Hanesh
Q1. How can i use a variable in Test2 – Action’s, that is defined in test1 (action1 –reusable), if we have a way to this then can we modify the value assinged to the variable.
Q2. Environmental –User Defined Veriables are specifi to a Test?
Mayur
Somebody can help please.
is there any programme for clearing cookies and close browser and open browser
Hi,
I have installed QTP 8.2 demo version in my PC,I have also installed required add ins for that .Later when I tried to open it,the application is not getting launched.Can anyone suggest me what to do to launch the application?
Thanks in Advance,
prasanna
Hi
I’m trying to open Object Repository from QTP through VPN(Working from Home), Not able to open…Do you have solution, If so, Please give me the steps.
Hi..Ankur
I am Raghavendra, working with qtp
as automation engg , but new to this site .want to do certification in qtp, could you suggest me a way how i can go ahead
Thanks
I am working on .Net Application.
I want to check the background color of cell.
Cell is not identifying rather it’s identifying whole grid.
below is sample code
SwfWindow(” “).SwfObject(“SwfObject”)
I am able to retrive background color of Grid not the cell.
If you have any solution plz let me know my email ID is ijaz.gadiwan@rediffmail.com
Thanks…
HI
I created scripts in one system and copied to other system when i try to run in other system , my OR is not recognizeing
wht QTP settings needs to be made change before recording so that it will run on all the syetm
if try to record on the other system every object recording like object_2 but object is allready there
Can any body advice me wht shell i do for this ,
Thanks in advance
Dayanand
HI ankur
I created scripts in one system and copied to other system when i try to run in other system , my OR is not recognizeing
wht QTP settings needs to be made change before recording so that it will run on all the syetm
if try to record on the other system every object recording like object_2 but object is allready there
Can any body advice me wht shell i do for this ,
Thanks in advance
Dayanand
I have a problem with connectivity to the server.
When trying to connect from QTP with appropriate hostname\qcbin
I get this message:
‘Failed to download tdclntui.dll from the server’
Can you help? Thanks
Hi, Aprna
My suggestion is,if you are not good in script then dont jump to QTP. Stay with mannual.
Hi,
In my comment i asked about the getting text content of pop-up.
I created object by using name, innertext and index value.But i am not getting how to use it further for getting the text content of pop-up.I am working on web application.
Hi,
Can you tell me how to get the content of pop-up using QTP.
I tried with GetRoProperty but i dint got the content of pop-up it giving blank…can you please look into my issue
Hi Ankur!
I have one doubt. How to produce the result (using VB script) using QTP? As like ‘tl_step’ in WinRunner. Is there any scipt available in QTP as like tl_step in WinRunner.
Can you pls help me in this.
Thanks,
Krishna
Yes you can automated QC, however you need to enable some properties for web objects.
Hello,
I wanted to know if i can automate Quality Centre features using QTP. I wanted to automate process like creating project, adding users and things like that using QTP, but i notice that QTP doesnot support recording on QC.
Any Thoughts?
Dear all,
I am very novice for qa. Just entering in qa and had training in automation for mercury tools from consutancy here in USA. But as I am completely at zero level of scripting is it good Idea to enter and start carrier through QTP. I know this is a little offbeat question but as you people are actually working on it your suggestions from your experiences on first job will really help me to make my decision.
Thanks in advance
Hi,
I am trying to write Desriptive programming for flight application.I got stuck in menu.Object spy is not identifying the menu.
then how should i proceed
Hi ,
You have mentioned in froums all about the addin but you dont discuss about .Net Addin and user defined controls. I wan to learn more about the .net addin so please include this topic also in your forum.
Thaks.
Hi,
i want to ask that for qtp use, its must have to know about the VB or can esily design the dynamic cases through avialable menu options avialable in qtp.
Thanks.
Hi Ankur,
On Earlyer u told about this You can try WebEdit(“xx”).object.currentstyle.background. hopefully this should solve your problem
But this will not work becaue background will not support .
can u please tell me this answer.
Hi Ankur,
Can you please tell me how can we write Expected and Actual result in QC using QTP…
Thanks in Advance
Kamal
@ gems: Can you elaborate?
Ankur,
can we use QTP for validating UI changes in an application?
thnx,
gems
Hi,
Is it possible to integrate a qtp variable in an oracle command/instruction (e.g. in an select or insert command). Perhaps somebody knows more…
thanks…
The Best intiative ever taken to help understanding QTP.
Thanks 🙂
@ Ravi:
Depends on till what level you are using DP.
Example:
Browser(“Name:=yahoo”).Page(“Name:=yahoo”)…
You are only using DP above but in case
Browser(yahoo).Page(“Name:=yahoo”)…
its a mix of OR and DP as browser is taking properties from OR.
If we use discriptive programing for Scripting, Are we not using Object repository?
Hi Ankur/Anonymous
Can you give some details regarding
Citrix metaframe server 4.0 that is
How QTP will identify the objects?
Is that we need to add any addins?
Which version of QTP will suppport this?
Hi Umar,
You can try WebEdit(“xx”).object.currentstyle.background. hopefully this should solve your problem.
Hi Ankur
As per Test Case i need to check colour of a box which is blue in colour. When i spyed it out i am not able to see any of the colour property even in run time properties. Could you let me know is there any other possible way to check the colour of the box.
Please let me know.
Hi All:
I am seeing a problem with QTP where it is pointing to the wrong verision of the Action. To better explain this:
I have following folder structure:
automation/oldfolder
automation/newfolder
I had made changes to oldfolder which I then copied over to newfolder. I then made change to one of the Actions say Action A in newfolder.
Now when I am running the script in newfolder QTP which calls ActionA it is referring to the Action A from oldfolder and not the newfolder.
I commented out the action call to ActionA and used QTP to insert “call to existing action” and called ActionA. Renamed the ActionA in oldfolder to Actionfoo but still I do not see the changes I made to ActionA when I run the script. When I directly go to ActionA I see my changes but when I run the script I see its referring to the older version of Action.
Hope somebody has a solution for this problem. Thanks!
…Excellent job buddy. Very helpful….Thx
@ Anon: try using .type instead of presskey. If that doesn’t work refer my post on sending commands from keyboard to your application
Hi all,
How can I record an event where I am pressing ctrl+shift+F5 on a web browser (This is used for changing mode on a Web-based Content Management System).
Can anybody help me with this? I am not able to figure out, How can I use micCtrl, micShift, micF5 in a code like following:
Browser(“WebPage”).Page(“WebPage”).PressKey (micCtrl+micShift+minF5″
Thanks in Advance
email: pramonga@gmail.com
Hi all
I came across a problem with QTP 9.2 ie When i m using DP for Text check point it is giving me error as ” General Run error”. Following is the code. Checkin of Text present on Notepad.
Window(“regexpwndtitle:=Notepad”,”regexpwndclass:=Notepad”).WinEditor(“nativeclass:=Edit”,”text:=MAIN HUN DON”).Check (CheckPoint(“text:=MAIN HUN DON”))
Can anyone help me to solve this?
Thanks in advance.Please
mail me on singhmanyu@gmail.com
This was the interview question…
Are you some kind of idiot? The answer you should have given was “I have no idea because I have no experience with this tool”
hi all, how do you automate manual scripts using QTP? this was the interview question asked…can any one give me a clear idea like how to answer this question?
hey really very nice to see your site. but i need some scripts on webapplicatin could u pls help it out. and just know that it is very worthy for getting a job.
THESE TWO POINTS ARE VERY IMPORTENT TO KEEP IN MIND FOR SAFE USE OF QTP …AZHAR(KAZIPET(AP)-INDIA)