qtp interview question and answers: 8 QTP/UFT Interview Questions (Plus Sample Answers)


Answer ( 1 )


    qtp interview question and answers: 8 QTP/UFT Interview Questions (Plus Sample Answers)


    I’ve been writing automated tests in QTP/UFT for a number of years now. I’ve interviewed at quite a few companies, and most of them like to ask questions about the tools. Here’s a collection of the eight most common QTP/UFT interview questions and my answers:

    The 8 Most Frequently Asked QTP/UFT Interview Questions

    The 8 Most Frequently Asked QTP/UFT Interview Questions

    QTP/UFT, or QuickTest Pro and Ultimate Form Builder, is a software testing tool that allows you to create automated tests for web applications. It’s used by companies like Google and Facebook because it’s so versatile–you can use it to test all kinds of websites, from ecommerce sites to social media platforms. If you’re looking to get into this industry as a QA tester or automation engineer (or if you just want some practice before your next interview), then these eight questions should prepare you well enough:

    • What do you know about QTP/UFT?

    This question is designed to gauge whether or not the candidate has basic knowledge about what they’re applying for. The best way to answer this question is by giving examples of how the tool could be used in real life situations; if possible, try connecting those examples back into previous experience using similar tools like Selenium WebDriver or Appium

    What is a state machine?

    A state machine is a sequence of states, and transitions from one state to another. It can be used for testing, business rules and data validation.

    A state machine has three parts:

    • States – the possible conditions or modes that an object may be in at any given time (for example: “processing” or “completed”). A single object can have many different states associated with it;
    • Events – actions which cause change between two or more different states (for example: pressing ‘submit’ on a form);
    • Transitions – actions which result in movement between two or more different states (for example: clicking on an ‘update’ button changes the status of an order).

    What is a sign-off test plan?

    A sign-off test plan is a document that describes the test strategy. It’s used to communicate the test strategy to other stakeholders, and it gets signed off by stakeholders before you start executing on this strategy.

    A good sign-off test plan will include:

    • A description of what you’re testing, who’s doing it and why they’re doing it (i.e., your objectives).
    • An overview of how many tests will be run overall with an estimated completion date for each one. This gives everyone involved a sense of how much work remains to be done before launch day arrives!

    Describe the “string wizard” feature in UFT.

    The “string wizard” feature is a great way to search for values. For example, you can enter a string and then select from a list of options to help you find the right value. In this scenario, let’s say we want to find out which country has the highest population. We know that China has over 1 billion people but we aren’t sure if it’s first or second place so let’s use string wizard:

    • Open up UFT and create a new project
    • Go into Data Viewer mode (F5) and create two columns named Country Name and Population Count respectively
    • In cell A2 type in ‘China’ as your search term then press F9 on your keyboard which will open up String Wizard under Tools > String Wizard
    • Select ‘Contains’ in Step 1; then click Next until Step 6 where you can choose between Contains All or Begins With options – here we’ll select Begins With because all countries begin with “China”

    How do you handle multiple releases of the same product in one test case?

    This is a good question to ask when you’re interviewing for a QTP position. If a candidate has experience with multiple releases of the same product, they’ll know how to handle this situation. They should be able to explain what they do in their own words and provide an example of how they handled it before.

    The best way to handle multiple releases is by creating separate test plans, test cases and suites for each one if necessary (if you have enough time and resources). You could also use existing ones if they’re similar enough that it wouldn’t make sense for them not to share some components like scripts or stepsets between them.

    Describe the “bug tracker” feature of QTP/UFT.

    The bug tracker feature is used to track bugs and assign them to specific testers. It’s also used to prioritize and create test cases from existing bugs.

    To use this feature, you must first create a new project in the QTP/UFT IDE or open an existing project that has been created with an earlier version of QTP/UFT (version 6 or earlier). You can then access the Bug Tracker window by choosing Window | Bug Tracker from within your test script editor window.

    How do you handle bugs that are not reproducible?

    When you encounter a bug that’s not reproducible, it can be frustrating because you don’t know how to fix it. The best thing to do is try to reproduce the bug and then look for a workaround if possible. If you cannot find one, create a new test case describing what happened and why it happened (with screenshots). Then modify your existing test cases so they don’t trigger this new behavior again.

    Describe any experience using third-party tools for testing automation.

    If you have experience with third-party tools for test automation, describe it.

    If you have worked with third-party tools for testing automation, what was your experience like?


    If you’re looking to break into QTP/UFT testing, these are the most common questions and answers.

    • When asked about your strengths and weaknesses:
    • Be honest about your weaknesses but also make sure to emphasize any positive aspects of them (e.g., “I’m a perfectionist, so I sometimes spend too much time on something when it may not be necessary.”).
    • Don’t forget that this is an opportunity for you to sell yourself as a candidate! Make sure you take advantage of it by highlighting skills or experiences that would make you a good fit for the job at hand.


    Hopefully, these answers will help you get a feel for what to expect in your next QTP/UFT interview. Remember that there is no right or wrong answer; it’s all about how well you can communicate your ideas and experiences. If you’re feeling nervous about your upcoming interview, don’t worry! We’ve all had those moments when we felt unsure of ourselves or unprepared–and they are completely normal. Just remember that practice makes perfect: the more times you go through this process (even if it means doing mock interviews with friends), the better prepared you’ll be when faced with real questions from potential employers

Leave an answer