- 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 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: what is Full form of QTP?

Answer: Quick Test Professional. 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: 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: When to use a Recovery Scenario and when to us on error resume next?

Answer: Recovery scenarios are used when you cannot predict at what step the error can occur or when you know that error won't occur in your QTP script but could occur in the world outside QTP, again the example would be "out of paper", as this error is caused by printer device driver. "On error resume next" should be used when you know if an error is expected and don?t want to raise it, you may want to have different actions depending upon the error that occurred. Use err.number & err.description t Source:
Question: How many types of Parameters are available in QTP?

Answer: QTP provides three types of Parameter-
* Method Argument
* Data Driven
* Dynamic
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: 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: What?s the Image Checkpoint?

Answer: Image Checkpoint check the value of an image in your application or web page. 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: In how many ways we can add check points to an application using QTP.

Answer: We can add checkpoints while recording the application or we can add after recording is completed using Active screen (Note : To perform the second one The Active screen must be enabled while recording) Source:
Question: What?s the Test Pane?

Answer: Test Pane contains Tree View and Expert View tabs. Source:
Question: Which keyword used for Low Level Recording?

Answer: Ctrl+Shift+F3 Source:
Question: How to handle the exceptions using recovery secnario manager in Qtp?

Answer: You can instruct QTP to recover unexpected events or errors that occured in your testing environment during test run. Recovery scenario manager provides a wizard that guides you through the defining recovery scenario. Recovery scenario has three steps
1. Triggered Events
2. Recovery steps
3. Post Recovery Test-Run
Question: What is keyword view and Expert view in QTP?

Answer: QuickTest?s Keyword Driven approach, test automation experts have full access to the underlying test and object properties, via an integrated scripting and debugging environment that is round-trip synchronized with the Keyword View. Advanced testers can view and edit their tests in the Expert View, which reveals the underlying industry-standard VBScript that QuickTest Professional automatically generates. Any changes made in the Expert View are automatically synchronized with the Keyword View. Source:
Question: How many types of Actions are there in QTP?

Answer: There are three kinds of actions:
non-reusable action?an action that can be called only in the test with which it is stored, and can be called only once. reusable action?an action that can be called multiple times by the test with which it is stored (the local test) as well as by other tests.
external action?a reusable action stored with another test. External actions are read-only in the calling test, but you can choose to use a local, editable copy of the Data Table information for the e Source:
Question: What are the files and subfolders of a QuickTest Professional test?

Answer: The files and folders hold binary and text data that are required for the test to run successfully.
The following table provides a description, the type, and comments regarding the files that make up a QuickTest Professional test.
File Name Description Type Comments Regarding File
Test.tsp Test settings Binary Do not edit
Default.xls Data table parameters Excel similar Can be edited using Excel Parameterization information Binary Do not edit
Action Action folde 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: 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)

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.030975 Seconds