QuickTest Professional or Unified Functional Testing (QTP/UFT) is one of the most common commercial automated testing tools available. Because of this, skilled professionals with experience in QTP/UFT are usually in high demand by employers. Interviews provide a chance to showcase your technical experience and industry knowledge about QTP.
Recommended
In this article, we review what QTP is and provide examples of QTP interview questions and answers using the STAR technique that you can reference when preparing for your interview.
Helpful QTP interview tips
Whether you’re new to UFT or a veteran QTP, these roles require you to show advanced industry knowledge and job-related skills during the interview. Here are a few additional tips to help you make a great impression during your QTP/UFT interview:
-
Research the company where you’re interviewing. Doing thorough company research is a great way to show your knowledge about the company and highlight your interest in working for it specifically. This can help you stand out among other applicants who have the same level of experience or skill.
-
Review the job description carefully. The job description has key information about the specific experience and technical skills the interviewer may look for. Use keywords from the job description to prepare answers for questions the interviewer may ask.
-
Practice answering interview questions with a friend. Being prepared for the interview can help you show your confidence. Practicing your answers to common interview questions out loud with a friend or in the mirror can prepare you to answer questions confidently during the interview.
QTP interview questions and answers
To help you prepare for your interview, we compiled a list of commonly asked QTP/UFT interview questions:
1. Does QTP run in any environment? Which technologies does QTP support?
The interviewer may ask this question to make sure you know which environments and technologies QTP is compatible with.
Example: “QTP doesn’t run in any environment, it only works in the Windows environment. Technologies supported by QTP include Web, Java (Core and Advanced), .Net, WPF, SAP, Oracle, Siebel, PeopleSoft, Delphi, Power Builder, Stingray 1, Terminal Emulator, Flex, Web Services, Windows Mobile, VisualAge Smalltalk, Silverlight, and mainframe terminal emulator.”
2. What model do you use for QTP test creation?
QTP uses a specific model for creating tests. The interviewer may ask this question to ensure you know each of these steps and the order it’s best to use when creating QTP tests.
Example: “When I’m preparing to create a QTP test, my first step is to determine the testing needs. This step involves assessing which environment I plan to run the test in analyzing the application and plan actions to test. The next step is to set up local or shared repositories or define function libraries. Next, I generate the test steps by adding steps and checkpoints. Then, I data drive my tests. Once each of these actions is complete, I’m now ready to run my tests. I have found it’s important to perform each of these steps to ensure accurate test results.”
3. What are the phases involved in testing an application in QTP?
Testing an application in QTP comprises multiple phases. The interviewer may ask this question to ensure you understand each phase of the application testing process and why each phase is important.
Example: “There are several main phases involved in testing an application in QTP. When I’m testing an application, my process includes analyzing the application, preparing the infrastructure for the test, building test cases, enhancing the test, debugging, running and analyzing the test and reporting defects. Completing each phase of the testing process in this order allows the tests to run efficiently and effectively.”
4. What are the views in QTP GUI?
When answering this question, name each of the views and briefly describe each view. The interviewer may then ask a follow-up question to determine your level of comfort with using each view.
Example: “There are two different views in QTP GUI, keyword view and expert view. The keyword view is a tabular representation of all the objects and the actions that are being performed on them. In this view, every row in the table is a separate step performed on the AUT that you can change. Some of the most common columns displayed in keyword view include item, operation, value, and documentation. The expert view is a far more technical view that uses VB Script and allows users to make adjustments to the source code per their requirements.”
5. What is VB Script?
This is another technical question the interviewer may ask to see what your experience is with higher-level QTP functions. Even if you’re not familiar with using VB Script, it’s helpful if you can define it for the interviewer. They may then follow up by asking if you have experience using VB Script.
Example: “VB Script stands for Visual Basic Script. VB Script is a client-side scripting language similar to JavaScript. VB Script is a lighter version of Microsoft Visual Basic. We use this scripting language when using the expert view in QTP.”
6. What are the different recording modes in QTP and when would you use each one?
The interviewer may ask this question to ensure you know the different recording modes available to choose from in QTP and when to use each mode.
Example: “There are three different recording modes in QTP—normal, analog and low-level. Normal recording mode is the default method of recording. You use normal recording mode to test objects and runtime objects to learn and act on the AUT. We use analog recording mode to record the exact mouse and keystrokes the user performs concerning the screen or AUT window.
“We can’t edit steps we record using the analog method. I use this mode when trying to capture a signature or test the paint application. We use low-level recording mode to record the coordinates in the application where we perform the operation, regardless of whether QTP recognizes the specific object or operation.”
7. Can you switch between recording modes while recording?
The interviewer may follow up the previous question by asking if you can switch between modes. The answer to this is yes, but you can provide a more detailed answer to showcase your knowledge.
Example: “Yes, you can switch from the default normal recording mode to analog or low-level recording mode in the middle of recording. Once you finish your task in the analog or low-level recording mode, you can then switch back to the normal recording mode. However, you can only switch to the analog mode when you’re recording, not while you’re editing.”
8. What are some reasons to choose test automation?
The interviewer may ask this question to see if you understand the value of using test automation instead of manual testing for an application. Answer by highlighting the most important benefits that test automation provides.
Example: “The primary benefit to choosing test automation instead of manual testing is that it produces results quickly while minimizing the risk of human error. Test automation is also more cost-effective than manual testing.”
I hope you find this article helpful.
Leave a Reply