- 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

QTP Interview Questions & Answers - Learning Mode

QTP stands for Quick Test Professional, is a Functional Automation Testing Tool from HP. We can automate functionality of the application by recording the actions on application, developing scripts. Good for automating regression test cases. Scripting language used VB Script which is easily understood by the testers. HPE Unified Functional Testing (UFT) software, formerly known as HP QuickTest Professional (QTP), provides functional and regression test automation for software applications and environments. HPE Unified Functional Testing can be used for enterprise quality assurance.

Try QTP Interview Questions & Answers - Exam Mode

1 2 3 4 5 6 7 8 9 10 Next

Sort By : Latest First | Oldest First | By Rating

QTP Interview Questions & Answers - Learning Mode
Try QTP Interview Questions & Answers - Exam Mode
Question: what is Full form of QTP?

Answer: Quick Test Professional. Source:
Question: What is the lservrc file in QTP?

Answer: The lservrc file contains the license codes that have been installed
The lservrc file contains the license codes that have been installed. Whenever a new license is created, the license code is automatically added to this file. The lservrc file is a text file, with no extension.
File Location:

1) For a Concurrent (Floating) license installation:
"#server installation directory##language#"
C:Program FilesXYZ TechnologiesABC ServerEnglishlservrc
2) For a Seat (S Source:
Question: How to export data present in Datatable to an ?.xls? file?

Answer: DataTable.Export ??.xls file name??
Syntact for how to call one script from another? and Syntax to call one ?Action? in another?
RunAction ActionName, [IterationMode , IterationRange , Parameters]
Here the actions becomes reusable on making this call to any Action.
IterationRange String Not always required. Indicates the rows for which action iterations will be performed. Valid only when the IterationMode is rngIterations. Enter the row range (i.e. ?1-7″), or enter rngAll to r Source:
Question: How Does Run time data (Parameterization) is handled in QTP?

Answer: You can then enter test data into the Data Table, an integrated spreadsheet with the full functionality of Excel, to manipulate data sets and create multiple test iterations, without programming, to expand test case coverage. Data can be typed in or imported from databases, spreadsheets, or text files.
Explain about the Test Fusion Report of QTP ?
Once a tester has run a test, a TestFusion report displays all aspects of the test run: a high-level results overview, an expandable Tree View o Source:
Question: How many types of Parameters are available in QTP?

Answer: QTP provides three types of Parameter-
* Method Argument
* Data Driven
* Dynamic
Question: Where to use function or action?

Answer: Well answer depends on the scenario. If you want to use the OR feature then you have to go for Action only. If the functionality is not about any automation script i.e. a function like getting a string between to specific characters, now this is something not specific to QTP and can be done on pure VB Script, so this should be done in a function and not an action. Code specific to QTP can also be put into an function using DP. Decision of using function/action depends on what any one would be co Source:
Question: How many toolbars QTP has?

Answer: QuickTest has 4 built-in toolbars: 1. The File toolbar 2. The Testing toolbar 3. The Debug toolbar 4. Action toolbar The Action toolbar is available in the Keyword View and contains options that enable you to view all actions in the test flow or to view the details of a selected action. The Action toolbar is not available for components. Source:
Question: Common features found in both WinRunner and QuickTest Pro:

Answer: Record/Replay ODBC & Excel Connectivity
Code Editor & Debugger Recovery Manager
Shared Object Repository Rapid Object Import
Numerous Checkpoints Analog
Script & Function Libraries
WinRunner Only Environments:
Function Generator Database Integration
Run Wizard TSL
QuickTest Pro Only Environments:
ActiveScreen TestGuard
Tree View ScriptFusion
Data Table VBScript
Function Generator*
(coming in v7.0) Run Wizard*
(coming in v7.0)
Question: What?s the Table Checkpoints?

Answer: Table Checkpoint checks the information with in a table. Source:
Question: What are the properties we can use for identifying a browser and page when using descriptive programming?

Answer: The name property is used to identify the browser and the title property is used to identify the page Source:
Question: Explain in brief about the QTP Automation Object Model.

Answer: Essentially all configuration and run functionality provided via the QuickTest interface is in some way represented in the QuickTest automation object model via objects, methods, and properties. Although a one-on-one comparison cannot always be made, most dialog boxes in QuickTest have a corresponding automation object, most options in dialog boxes can be set and/or retrieved using the corresponding object property, and most menu commands and other operations have corresponding automation method Source:
Question: Explain the terms Password Encoder, Remote Agent, Test Batch Runner, Test Results Deletion tool?

Answer: Password Encoder?enables you to encode passwords. You can use the resulting strings as method arguments or Data Table parameter values. Remote Agent?determines how QuickTest behaves when a test or component is run by a remote application such as Quality Center. Test Batch Runner?enables you to set up QuickTest to run several tests in succession. Test Results Deletion Tool?enables you to delete unwanted or obsolete results from your system according to specific criteria that you define. Source:
Question: What is Active Screen?

Answer: The Active Screen provides a snapshot of your application as it appeared when you performed a certain step during a recording session. Source:
Question: If WinRunner and QTP both are functional testing tools from the same company. Why a separate tool QTP came in to picture?

Answer: QTP has some additional functionality which is not present in WinRunner. For example,you can test(Functionality and Regression testing) an application developed in .Net technology with QTP,which is not possible to test in WinRunner Source:
Question: How To clear the AutoComplete?

Answer: 1 In your Internet Explorer?s menu bar, choose Tools > Internet Options > Content tab.
2 Click AutoComplete in the Personal information area. The AutoComplete Settings dialog box opens.
3 In the Use AutoComplete for area, clear the User names and passwords on forms option.
4 Click OK to save your changes and close the AutoComplete Settings dialog box, then click OK again to close the Internet Options dialog box.
Question: How to export QTP results to an ?.xls? file?

Answer: By default it creates an ?XML? file and displays the results Source:
Question: How to Start recording using QTP?

Answer: Choose Test > Record or click the Record button.
When the Record and Run Settings dialog box opens to do this;
1. In the Web tab, select Open the following browser when a record or run session begins.
2. In the Windows Applications tab, confirm that Record and run on these applications (opened on session start) is selected, and that there are no applications listed.
Question: How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?

Answer: Yes, there?s an in-built functionality called ?Step Generator? in Insert->Step->Step Generator -F7, which will generate the scripts as u enter the appropriate steps. Source:
Question: What?s the Expert View?

Answer: Expert View display the Test Script. Source:
Question: Which keyword used for Low Level Recording?

Answer: Ctrl+Shift+F3 Source:

1 2 3 4 5 6 7 8 9 10 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.03125 Seconds