Advanced QTP interview questions List

  1. What does QTP do?  QTP stands for Quick Test Professional; it is a tool for running automated functional and regression tests. Hewlett Packard bought it and renamed it HP Functional Test.
  2. Why is QTP considered an industry leader in automated testing?  Using icons and VB Script, it’s easy to use, understand and program. It supports SAP, Oracle, Web and many other platforms for software development.
  3. What are add-ins?  These are modules you can select and load for the functions you want to test in your current project. Every time you open QTP, the last add-ins used are loaded by default, but they can be changed for each project. Add-ins also allow you to test technologies that are not in the standard QTP.
  4. What is the Main Window? This is the tester’s workspace and is fully customizable. Here the tester sets up the automated script, which can be viewed wither as keywords or VB Script.
  5. What is the process for using QTP? Create a test by recording a session on the application to be tested. Insert checkpoints into the test(s) and add parameters. These should cover not only checking for code and runtime errors, but also violations of the owning company’s business rules. Create output values. Run the test with steps to debug the test. Run the test on the application. Analyze the results.
  6. What qualification(s) should an analyst have to run QTP tests? Anyone can legally run QTP, but HP does offer a test which will give the individual certification in HP Functional Test to assure employers that the individual can deliver good business applications. QTP professionals often share templates with each other.
  7. Once a test is run, how can we get the results to the client?  There are three ways to export the results. You have access to the regedit file in QTP, in which there is a local HKEY for the QTP logger. Change the value to one and restart QTP. The results will be available in HTML as LogFile in the results folder. The standard results are in the results folder as an XML file. You can write code to convert XML to HTML The easiest of all is to choose File \ Export to HTML.
  8. What types of checkpoints are there?  A text checkpoint tests copy on a Web page or a specific are of the application. A page checkpoint is for examining Web pages. It counts the links and images on a Web page and can be used to see how fast a page loads. The table checkpoint allows you to check cell contents and table properties such as dimensions. A bitmap checkpoint compares actual and expected images. An XML checkpoint verifies XML schema and data. The image checkpoint allows you to check properties of Web images. An accessibility checkpoint verifies that the application meets the guidelines of the World Wide Web Consortium. The database checkpoint enables you to crete a query during record time which will store values to compare expected and actual values.
  9. What is the Object Repository?  As it sounds, you can store objects into a file. There are two repositories – local and shared. With the local repository you save objects which are associated with one specific action. In the shared repository are objects which can be accessed by multiple tests. This functions like a code library. If the same-named object is in both repositories, the action will call the local version. All objects can be modified, and shared objects can be copied into the local repository.
  10. Can you store functions like you do objects?  Yes. QTP has a library of built-in functions.  allows for user-designed functions which can be saved into a function library, then associated with actions.

Leave a Reply

Your email address will not be published.