CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies
QTP Interview Questions & Answers - Learning Mode
COOLINTERVIEW.COM TESTING INTERVIEW QUESTIONS QTP INTERVIEW QUESTIONS QUESTIONS & ANSWERS - LEARNING MODE

QTP Interview Questions & Answers - Learning Mode

Quick Test Professional (QTP) is an automated functional Graphical User Interface (GUI) testing tool created by the HP subsidiary Mercury Interactive that allows the automation of user actions on a web or client based computer application.

Try QTP Interview Questions & Answers - Exam Mode

Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Next

Sort By : Latest First | Oldest First | By Rating

QTP Interview Questions & Answers - Learning Mode
Try QTP Interview Questions & Answers - Exam Mode
Question: Can we call a QTP script from a main script without making it reusable?



Answer: If a script is not reusable then you can call it in other script by using call to copy action. Source: CoolInterview.com
Question: How many number of actions possible in QTP?



Answer: There are 3 types of actions available in QTP

1. Reuseable

2.non-reuseable

3. extern Action
Source: CoolInterview.com
Question: 1. what are the actions available in QTP?
2. What is environmental variable? How many types available in QTP?




Answer: There are three types of environmental variable in qtp

1.user-defined internal:-variables that you define with in a test , they are saved with the test and accessible only with in the test in which they were defined.

2.User defined External:- vaiable that you predefined in the active external environment varaibales fiel. you can create as many files as you want and select an appropriate file each test. External environment varaibale values are designed as read only with in the test Source: CoolInterview.com
Question: How you write scripts in QTP? What's the main process in QTP? How do you run scripts in QTP?



Answer: Main process in QTP is Recording, stores the properties in object repository then Running the script and then Test Results.

Recording: QTP 'looks' at the object on which we are recording and stores it as a test object, determining in which test object class it fits like standard window dialog box or web button etc. Then for each test object class, QTP has list of mandatory properties that it always learns. When we record an object, QTP learns these default property values, and th Source: CoolInterview.com
Question: Where is the bitmap checkpoint information saved?
a) In Temporary folder
b) In resource.mtr under action folder
c) In the Script.mts folder under the action folder
d) In the checkpoint.usr file




Answer: In resource.mtr action folder Source: CoolInterview.com
Question: Is it possible to test a web application(java) with winrunner?

otherwise is it possible to check with QTP?
which one is best?



Answer: I've heard that a java web application can be tested by winrunner but is not flexible. It's recommended to use QTP tool for more reliability.
Source: CoolInterview.com
Question: What are the datatypes in QTP?

Answer: As far as I know there are no Datatypes in QTP.
Please rectify me if I am wrong. Source: CoolInterview.com
Question: Is it possible to test a web application(java) with winrunner?

otherwise is it possible to check with QTP?
which one is best?



Answer: I've heard that a java web application can be tested by winrunner but is not flexible. It's recommended to use QTP tool for more reliability.
Source: CoolInterview.com
Question: How can u write a script without using a GUI in QTP?



Answer: GUI in Qtp?do you mean to say Object repository?without OR,tester need to write descriptive tests,where you would directly assign property values and write methods.you do not need to save OR. Source: CoolInterview.com
Question: How to get the column count and column name from resultset in database connction program?



Answer: i am giveing examples so that u can under sand easily.

1).example for recordcount

Set dbconn=createobject("adodb.connection")
dbconn.open "dsn=xxx"

Set objRecordset=createobject("ADODB.Recordset")
objRecordset.open "select * from logintable",dbconn,1,3

msgbox objRecordset.recordcount

2).for field names

For each x in objRecordset.fields
msgbox (x.name)
Next
Source: CoolInterview.com
Question: Even after deleting a previously called reusable action the local sheets dont disappear from the data table.. is there any way of getting rid of these sheets.



Answer: Deleting a called action(Re-usable action) doesnot delete the link physically from the master or driver script.The deletion is only a logical deletion.

Use External call modifier in Quick Test Plus for deleting the reusable action.
Source: CoolInterview.com
Question: How would u manipulate the script so that when the test is run it takes a new login name?



Answer: The answer is very easy .you need to do only parameterize the login window object in object repository and there you need to specify datatable parameter name or else qtp specify default papramter name Source: CoolInterview.com
Question: While opening a large script which contains call to external actions QTP hangs. The same problem iam facing when i call an external action. I want a solution to this problem



Answer: Swapna the variable declarations are correct. We have raised this issue with mercury. They has given some solution such as running .BAT file.

We have also deleted the defaut.xls file and created a new one. We re-installed QTP.

But all are temporary solutions. If u can provide some permament solution it will be of great help
Source: CoolInterview.com
Question: How do you export object repository?



Answer: To export the object repository [OR] follow the below navigation.

in the Menu bar select

Tools (option) >object repository .Then u can view

OR .and some more detalis about object repository which consists of

1.Logical name: the name that Quick Test assigns to the object

2.Class: The class of the object

3.Find:By clicking on this u can find a property or value of object

4.Replace:here u can modify a property or value of object

5.Add/R Source: CoolInterview.com
Question: In what instancesdo we use virtual object wizard?



Answer: We generally use virtual object wizard to map the non standard windows object to standard window object.when you use the virtual object wizard some times the check points will not work. Source: CoolInterview.com
Question: How to handle java tree in QTP



Answer: First of all we need to have a java add-in to handle a java tree.In tools option we have the "object identification" drop down list.There we have the java option to recognise the objects there select the tree option.Add the properties to be recognised.Then the QTP will start recognising the tree.

If not use the DOM to detect the tree.Here select code from the back ground and manipulate accordingly.
Source: CoolInterview.com
Question: What is the best way to do regression testing using QTP.



Answer: Regression testing is not tool dependent.

Firstly there should a regression test stratergy, based on this stratergy you can group functional test cases to form regression test suites.

Then these test suites are automated based on regression group
Source: CoolInterview.com
Question: Hi all,
I am using windows vista, I am in the process of learning QTP.
When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error.
Can anyone help me regarding this?


Answer: No answer available currently.
Question: Can we change name of checkpoint? if yes how?



Answer: QTP is wont allow to change the Check point name, why means basically these class names internally. Source: CoolInterview.com
Question: How can we know the size of the object repository?



Answer: To know the size follow following steps

1) First export repository from tools-> object repository ->export

2 Then save it to some location and after that check the size of the file
Source: CoolInterview.com

Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Next



India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.217773 Seconds