Introduction
The computerization of functional and relapse tests for programming applications and situations is provided by QTP, also known as UFT (Unified Functional Testing). Given its graphical user interface and support for keyboard and scripting interfaces, it has a respectable amount of commercial interest.

It is amazing in the execution of test information, test execution reports, and article repositories. Knowing QTP would undoubtedly offer you an advantage in finding a respectable job in software testing. You may go through the list of frequently requested UFT interview questions on this page.
What is Unified Functional Testing (UFT)?
Unified Functional Testing (UFT) is an automated functional testing tool developed by Micro Focus, previously known as QuickTest Professional (QTP). UFT helps testers execute automated tests on both web-based and desktop applications. It supports various programming languages such as VBScript and provides a user-friendly interface for creating and managing tests.
UFT offers features like:
- Cross-platform testing: It can test web, desktop, and mobile applications.
- Object identification: UFT uses a robust object repository to identify and interact with elements within an application.
- Data-driven testing: It allows testing the same application with multiple data sets, increasing test coverage.
- Integration: UFT can integrate with other tools such as ALM (Application Lifecycle Management) for end-to-end test management.
UFT Interview Questions for Freshers
1. What are the different types of UFT test assets and their extensions:
| Test Asset | Extension |
|---|---|
| Test File | .mts |
| Shared Object Repository | .tsr |
| Recovery Scenario | .qrs |
| Function Library | .qfl |
| Results | .xml |
| Local Object Repository | .mtr |
| Test Batch Runner | .mtb |
2. What are the terminologies supported by UFT?
Web, WPF, SAP, Java (Core and Advanced), Oracle, Siebel, .Net, Delphi, Power Builder, PeopleSoft, Terminal Emulator, Stingray 1, Web Services, Windows Mobile, Flex, VisualAge Smalltalk, Silverlight, and mainframe terminal emulator are some examples of technologies.
3. Which recording mode needs more memory?
Analog and Low-level Recording modes require more memory.
4. Does QTP run in any environment?
QTP runs only on a Windows environment.
5. Why do we use breakpoints in QTP?
This is done so that your test can be stopped midway through its execution. It is typically used to monitor the state of your program or to comprehend how a specific feature operates at a specific runtime stage.
6. What are the advantages of Test Automation?

- Time - It yields fast results.
- Not using a manual
- Cost-effective
- Not susceptible to human mistakes.
7. How can you close the second opened browser?
The "creation time" field may be used to determine which browser instance was launched first. Simply said, this is a counter for each instance of a browser that is started. It starts off as 0 for the first one and increases from that point on. You may use the following code to shut the second open browser:
Browser(“creationtime:=1”).Close
8. What are the disadvantages of QTP?
- Huge tests in QTP now use a lot of memory and increase CPU use as of QTP version 10.
- The resulting folder gets large because QTP keeps outputs in an HTML file (rather than a text file).
9. Difference between Keyword View and Expert View.
A symbol-based view called the Keyword View shows test steps in a tabular format. As a result, the test steps' documentation is produced. Each test step in the Keyword view has an associated VB Script articulation that is provided by Expert View.
10. What are the features of Unified Functional Testing (UFT)?
Unified Functional Testing (UFT), formerly known as HP QuickTest Professional (QTP), is a comprehensive automated testing solution developed by Micro Focus. It offers a wide range of features to support functional and regression testing of software applications. Some of the key features of UFT include:
- Keyword-Driven Testing: UFT allows testers to create automated test scripts using a keyword-driven approach, where actions are represented by keywords or commands.
- Record and Playback: Testers can record user interactions with the application under test and generate automated test scripts based on these interactions. These recorded scripts can be replayed to perform regression testing.
- Object Recognition: UFT uses a robust object recognition mechanism to identify and interact with various UI elements of the application, such as buttons, text fields, dropdowns, etc. This helps in creating stable and reliable test scripts.
- Data-Driven Testing: UFT supports data-driven testing by allowing testers to parameterize test scripts and supply test data from external sources like Excel spreadsheets, databases, or flat files. This enables the execution of the same test case with multiple sets of data.
11. What is the object spy?
Choosing the run and test time object attributes and procedures for the application under test is made easier with the help of Object Spy. Object Spy may be accessed directly from the toolbar or the Object Repository Dialog Box. When using descriptive programming is beneficial.
12. Explain the logical name of the object.
A logical name is one that QTP gives an item when it creates it in the repository to help users distinguish it from other items in the application. The QTP would use this name to create a content strategy for the item name and its associated depiction in the article repository.
13. In QTP, clarify what the .qrs file is.
The "Quicktest Recovery Scenario" extension stands for it. Recovery scenario managers allow us to handle unique situations during test execution. When creating a recovery situation in QTP, you should save it as a .qrs file. There might be several circumstances described in a .qrs file.
14. What is QTP’s model for test creation?
- Identify testing requirements, define the testing environment, review your applications, and make plans for action
- Create repositories, either local or shared
- Make function libraries explicit
- Create test procedures - Include steps and checkpoints
- Data-driven testing
- Start the tests
15. What are the different kinds of Test steps?
The 5 categories of steps are shown below:
- Examined Item (Acts on a TO)
- Functions
- Utility (Steps to control run session. For example, Reporter.report)
- Comment
- Programming Logic
16. How will you handle the Java tree in QTP?
You will first choose Java Add-In and start QTP. Recording Java Tree actions is the next stage. If you encounter a problem when recording, you may choose Tools > Object Identification > Java, tree object, and modify the required and helpful parameters to facilitate identification.
17. Distinction between a Bitmap Checkpoint and an Image Checkpoint?
An image or a portion of a photograph is pixel-to-pixel correlated in a Bitmap-defined area. While Image Checkpoint does pixel-to-pixel correlation, it prioritizes image attributes like alt text, destination URL, and so on.
8. Explain how QTP identifies objects.
Any GUI object is recognized by QTP based on its relevant characteristics. In the object repository of the GUI object, QTP will detect and save unusual attributes (as specified in the Object Identification settings) when recording. In order to identify a GUI item specifically during runtime, QTP will compare the stored property values with the on-screen properties.
19. What is an Object Repository?
All the items in a test are stored in OR, which is similar to a warehouse. The list of objects that QTP discovered throughout the recording process, together with the class to which each one belongs, is stored in OR.
In addition to naming the item for the sake of identification in our test based on its most distinguishing feature, it contains a series of attributes that individually identify the object (description).
20. What are checkpoints in the context of UFT, and can you explain the different types of checkpoints available in UFT?
Checkpoints in UFT (Unified Functional Testing) are validation points used to verify expected behavior in applications during automated testing. UFT provides various types of checkpoints to validate different aspects of the application's functionality. The main types of checkpoints in UFT are:
- Standard Checkpoints: These checkpoints compare the current value of a property or attribute of an object in the application against an expected value. Standard checkpoints can be used to validate text, images, database values, and more.
- Text Checkpoints: Text checkpoints verify the text content displayed on a web page, window, or dialog box in the application. They compare the actual text with the expected text specified during test creation.
- Text Area Checkpoints: Similar to text checkpoints, text area checkpoints validate the text content within a specified area or region of the application, such as a text box or text area.
- Bitmap Checkpoints: Bitmap checkpoints compare the graphical representation (screenshot) of a specific area or object in the application against an expected image. They are useful for validating the appearance and layout of graphical elements.
- Database Checkpoints: Database checkpoints verify the data retrieved from a database query or operation. They compare the actual database values with the expected values specified in the checkpoint.





