UFT is widely used in the software industry, and professionals with knowledge in Unified Functional Testing (UFT) are in great demand. Here are the top 40 UFT/QTP interview questions, and their answers are given below. This sample set of questions was created by MindMajix experts who train for UFT training to give you an idea of the types of questions that may be asked in an interview.
QTP, currently known as UFT (Unified Functional Testing), provides functional and regression test automation for software applications and environments. It has a good demand in the market because of its graphical interface and support for keyword and scripting interfaces. Besides, it is very powerful in test data management, test execution report generation, and object repository. Given these advantages, having QTP knowledge will certainly provide you an edge in landing a suitable job in software testing.
Here, we have compiled a bunch of 40 UFT Interview questions to help you perform better in the job interviews.
Happy reading!
Do you want to build your career and become successful in this domain? Then Enroll In "UFT Training" this course will help you to achieve excellence In this domain. |
We have categorized UFT Interview Questions into 2 levels they are:
Levels of UFT Interview Questions |
QTP (Quick Test Professional) is an automated functional testing tool. Using this tool, the testers can carry out automated regression testing to detect any errors or defects in the applications. The tool also compares the actual outcome with the expected result.
To become a QTP expert, one needs to have the logic-building ability.
Some of the advantages of the QTP tool include:
We can execute multiple QTP scripts automatically using the Batch Runner tool.
The Keyword view represents the test in a table form, which contains data, comments, and items, etc.
These phases include - feasibility analysis of test automation, selection of a tool, selection of a suitable framework, creation of proof of concept, development of automation framework, development and execution of test script, and analysis of results.
The Expert view is generally used by advanced users. It displays the test data as actual lines of code.
These include Autofit cel and Coloring cell, etc.
The Step Generator is an inbuilt function in QTP, which generates a script as the appropriate steps are entered.
This can be done by specifying the path of the notepad (location of the note.exe) on the “Windows Applications” Tab, which is in the “Record and Run Settings” window.
In QTP, the Object Repository contains text fields, radio buttons, images, texts, edit boxes, combo boxes, and lists, etc. With this Object Repository, QTP identifies the objects and acts on them.
The Analog mode is a recording mode in QTP. It records the moments of the mouse and keyboard.
The three types of actions are non-reusable action, reusable action, and external-reusable action.
The data tables help in creating data-driven test cases, which are used to execute an action multiple times. These types of data tables include local data tables and global data tables.
In a test script, the Synchronization Point defines the delay time between two steps.
[ Related Article:- UFT Tutorial ]
The low-level recording mode records the X and Y coordinates.
The smart identification uses two types of properties including Base Filter Properties and Optional Filter Properties.
The smart identification mechanism is used when QTP is not able to identify any object matching the object description. It is also used in a scenario where there is more than one object that matches the recognized object description.
Possible error types include syntax errors, logical errors, and run-time errors.
We can open a read-only Shared Object Repository by selecting the “Enable Editing” option on “Object Repository Manager”.
In such a situation, we need to use Recovery Scenarios. Once the Recovery Scenario is used, the tests will be recovered, and also the script execution will be continued.
The environment variables in QTP are Built-in Environment Variables (Read-Only), User Defined Internal Variables (Read-Only), and User Defined External Variables (Read / Write).
We can modularize the script by adding library files to the QTP script.
The SetSecure method is used to securely set the text in the password boxes.
In this situation, we need to define the object Virtual Object (VO). This helps in the simulation of user actions in the virtual object.
We can connect to databases using ADODB objects of VB Script.
The properties of ADODB include ADODB. Connection, ADODB. Command, ADODB.Fields, and ADODB.Recordset.
The descriptions of the objects are created using Descriptive Programming.
It can be automated using the HP-QTP’s COM interface.
Automation Object Model consists of objects, methods, and properties. Using the Automation Object Model, we can control the configuration settings and also execute the scripts.
The default object repository is Per-Action Object Repository. The extension of it is ".mtr”.
The combination of the two frameworks in the Hybrid Framework is Keyword Framework and Data-driven Framework.
We can divide an action in QTP by using Action Split.
We can use Object Spy to find the properties, their values, and also the associated methods of an object.
The types of frameworks in QTP include
By incorporating Page Checkpoint in the application pages, we can check broken links. It enables us to view the sum of valid and invalid links on a page.
The GetRoProperty method fetches the property values.
An XML checkpoint checks the content of the .xml documents in web pages and frames.
The advantages of Data-driven Frameworks include the generation of less code and development of test data, etc.
The default recording mode is the Normal recording mode.
Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:
Name | Dates | |
---|---|---|
UFT Training | Dec 24 to Jan 08 | View Details |
UFT Training | Dec 28 to Jan 12 | View Details |
UFT Training | Dec 31 to Jan 15 | View Details |
UFT Training | Jan 04 to Jan 19 | View Details |
Ravindra Savaram is a Technical Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.