Why do we go for Qtp?
What are the advantages of qtp?
Diff between winrunner and Qtp?
Answers were Sorted based on User's Feedback
Answer / n@n!
when we have more number of retest cases in the application
then we go for QTP.
adv:
---
fast,reliable,repetable,programable,reusable.
diff b/w WR& QTP:
-----------------
QTP:
---
1)semi collen was not use in QTP
2)QTP supports VB script
3)it supports multi media addins
4)3 types og recording is there in QTP(Normal,Analog,Low
Level Recording)
WR:
----
1)every statement ends with Semi collen.
2)WR does not support multi media addins
3)WR supports TSL langusge
4)2 types of recording is there in WR(context
sensitive,anlaog recording)
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / murali
1.do things manually impossible
2.eliminating errorsin manual testing whenever retesting
,regression testing is required
qtp adv are reliable
fastest
repeatable
programable
reusable
| Is This Answer Correct ? | 4 Yes | 2 No |
All the drawbacks of manual testing are addressed here in QTP.
Advantages of QTP:
Speed of execution.
Accuracy.
QTP:
1.QTP uses VBscript language.
2.QTP supports almost of all technologies.
3.It has data table facility.
4.QTP supports wed applications.
5.QTP is not a case sensitive language.
6.QTP is a compiler.
Winrunner:
1.it uses the TSL(like c)language.
2. it will not support the all technologies.
3.it is not having the data sheets.
4.It not support the web applications.
5.it is a case sensitive language.
6.Winrunner is a interpreter.(executes line by line)
| Is This Answer Correct ? | 2 Yes | 1 No |
describe common problems of test automation?
QTP is used better in which type of application Web based application or desktop application
How can the expected image for a bitmap checkpoint be recaptured in QTP
After running scripts how you report results ,there is any specific report form
How to load a object repository in QTP during runtime?
2 Answers BNP Paribas, Virtusa,
suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query
Explain the concept of object repository & how qtp recognizes objects?
Hi I'm a beginner in QTP. So far I'm ok with Descriptive but stuck while implementing Hybrid Frame work. 1. I have created a Keyword file with .vbs ext set home=description.create home("title").value="Welcome to feests" set reglink=description.create reglink("name").value="register yourrestaurant / take away" set fbusname=description.create fbusname("name").value="business_name" set dispname=description.create dispname("name").value="display_name" set restchkbox=description.create restchkbox("name").value="restaurant" set cuiscate=description.create cuiscate("name").value="cuisine_categery1" set addline1=description.create addline1("name").value="address_line1" set pstcode=description.create pstcode("name").value="address_postcode" set cntry=description.create cntry("name").value="address_country" set mlandno=description.create mlandno("name").value="landline_no" set emailadd=description.create emailadd("name").value="email" 2. I have created an Function Library file as follows Function launch() bro="C:\Program Files\Internet Explorer\iexplore.exe" url="http://www.feests.com/" invokeapplication bro&" "&url Browser(home).page(home).Link(reglink).click End Function Function restregistration(karthik, teja, Ameerpet, UK) Browser(home).page(home).WebEdit(fbusname).set "karthik" Browser(home).page(home).WebEdit(dispname).set "teja" Browser(home).page(home).WebCheckBox(restchkbox).set "ON" Browser(home).page(home).WebList(cuiscate).Select "Indian" Browser(home).page(home).WebEdit(addline1).set "Ameerpet" Browser(home).page(home).WebEdit(pstcode).set "UK" Browser(home).page(home).WebList(cntry).select "United Kingdom" Browser(home).page(home).WebEdit(mlandno).set "023775347" Browser(home).page(home).WebEdit(emailadd).set "email@gmail.com" End Function 3. This is how I have called the keywords and Functions in QTP executefile"C:\Documents and Settings\karthik\Desktop\keywords.vbs" executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs" launch restregistration karthik, teja, Ameerpet, UK, "email@gmail.com" Now the issue is, I'm trying to enter the email ID in WebEdit field. But I dont know what is the mistake I did, if I run the script in QTP it is showing following error Error: Expected identifier Line (2): "executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs"". Can someone help me fix this, please!!?
we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
6 Answers Cognizant, Covansys,
What is smart identification?
i am trying to capture the URL from the open browser and store it. pls give me solution how we can do this in QTP. thanks
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)