Overview

Overview

Welcome to QTP interview questions

Hello software Quality engineers. Welcome to our Software testing world and common QTP(Quick test pro) related technical issues, interview questions etc. . Over 2 years, I am trying to update all possible interview questions in testing area of QTP. With your continuous comments on the topics and suggestions, we are growing day by day.

QTP Interview Questions and answers

What are the characteristics and benefits of Quick Test Pro (QTP 8.0)? - 

Stand-alone or integrated into Mercury Business Process Testing and Mercury Quality Center. Represents the next generation of technology without trial key configuration leads in Quick Test Professional 8.0 provides a rapid test creation, easier maintenance and powerful capacity of driving data. Identifies objects with Unique Smart Object Recognition, even if it is built for change to build on, so that the script reliable unattended. Test documentation and test work to create a single step with Auto-documentation technology. Provides a thorough examination of applications with a full range of checkpoints. 

   How do you handle the exceptions using recovery scenario manager in QTP? - 
There are 4 trigger events during which a recovery scenario should be activated. A pop-up box appears, in an open application for the test: A property of an object changes its state or value, a step in the trials are not successful, an application has opened during the test These triggers are considered exceptions. You can ask QTP to unexpected events or errors, the rest of your test environment occurred during testing. Recovery Scenario Manager provides a wizard to guide you in defining recovery scenario. Recovery scenario has three steps: 1 2nd Events triggered recovery measures 3 Recovery after a control test

What is the use of the output of text in QTP? –
To provide output values that show the values that the application talks during run time. When set, change values for each iteration. Thus, by creating output values, we can grasp the values that the application takes for each series and the outputs to the data table.
   
How to Use the Object spy in QTP 8.0 version? –
There are two ways to Spy the objects in QTP 1) Through file toolbar, the toolbar file, click the last button in the toolbar (the icon shows a person with a hat). 2) True Object repository dialog in the Object repository dialog click on the button object spy. In the dialog box click on the subject of spying on the button with the hand icon. The mouse cursor now changes in the shape of a hand and we must remember the object in the state of the object when the object spy is not at all visible. or window is minimized then, hold the Ctrl key and release it to activate the desired window and press Ctrl.

   What is the 5th position data in execution time (settings) is handled in QTP? –
Then you can process test data into the Data Table, an integrated spreadsheet with the functionality of Excel data sets and create multiple test iterations, without programming knowledge, to expand coverage test. Data can be entered via the keyboard or from databases, spreadsheets or text files.

What is the opinion of experts and consult in QTP keyword?
Quick Testa ¢ â, ¬ â "¢ s Keyword Driven approach, the experts test automation have full access to the underlying test and object properties via an integrated scripting and debugging, the return trip with the Keyword View is synchronized. Advanced testers can view and edit their tests and expert opinion that the underlying industry-standard VBScript that Quick Test Professional automatically generates revealed. Any change in the opinion of experts will be automatically synchronized with the keyword friends.

Explain the test report of the merger QTP? –
Demonstrates Once a tester has a test, a test fusion report all aspects of the trial: a high level overview of the results, a tree of expandable trial indicate exactly where application failures occurred the test data used, screenshots of the application for each step of passing the peak deviations and detailed explanations of each checkpoint and failure. By combining the test reports of merger with Quick Test Professional, you can share reports across an entire QA and development team.

What environments does QTP support? - Quick Test Professional supports functional testing of all enterprise environments, including Windows, Web, .. NET, Java/J2EE, SAP, Siebel, Oracle, PeopleSoft, Visual Basic, ActiveX, terminal emulator, mainframe, and Web services.

  What is QTP? –
Quick Test is a GUI tool to automate reading records. It can work with any web, Java or Windows client application. Quick test, you can test standard web objects and ActiveX controls. In addition to these environments, QuickTest Professional also enables you to Java applets and applications and multimedia objects to test applications and standard Windows applications, Visual Basic 6 applications and.NET Framework
  
Explain QTP testing process? –
Process rapid test test consists of 6 main phases:
Create a plan to test your - Before automation should follow a detailed description of the test, including accurate measurements, the data is entered, and all matters for which the test must be considered. The verification information should include data validations and existence or state verifications of objects in the application.
Recording a session on your application - As you navigate through your application, QuickTest graphically displays each step you in the form of a tree-based test of folding icons. A step is a user action that causes or makes a difference in your site, such as clicking on a link or image, or entering data into a form.
 Improve test - Inserting checkpoints into your test lets you search for a specific value for a page, object or a string that lets you determine whether your application will work correctly. NOTE: Checkpoints can be added to a test that you are taking or after the law on the active screen. It is much easier and faster to add checkpoints during the recording. Extending the scope of the test by replacing fixed values of the parameters that you can check how your application does the same operations with multiple records. Adding logic and conditional statements to your test enables you to add sophisticated checks to your test.
  Debugging 14th test - If changes were made to the script debugging required to ensure that it works smoothly and without interruption.
Running your test on a new version of your application - a test to verify the behavior of your application. When running, QuickTest connects to your application and performs each step of your experiment.
Analysis of test results - check the test results to deficiencies in the target application.

Reporting Defects - As you encounter failures in the application in the analysis of test results, create reports of defects default Reporting Tool.

 Explain the QTP Tool interface. - It contains the following key elements: title bar displays the name of the trial opened, the menu bar contains the menu display command bar buttons QuickTest file to help you in managing tests, Toolbar test, with the buttons used in the creation and maintenance tests, debugging toolbar, containing buttons used while debugging tests. Note: The Debug toolbar is not displayed when you open QuickTest for the first time. You can debug toolbar View View - Toolbars - Debug. toolbar contains buttons for action and a list of actions, allowing you to see the details of the flow of a single action or the entire test. Note: The Action toolbar is not displayed when you open QuickTest for the first time. You can use the toolbar action display by selecting View - Toolbars - Action. If you have reusable or external action in a test set, the action appears automatically on the toolbar. pane contains two tabs to test your test tree and the view of experts, Test Details pane, with the active screen. data table contains two tabs, Global and Action, to help you set up your test. Debug Viewer window with three tabs to assist you in debugging your test-Watch Expressions, Variables and command. (The Debug Viewer window can be opened if a single test run stopped at a breakpoint.) Status bar, displaying the status of the test
 
  How does QTP recognizes Objects in AUT? –
Quick Test stores the definitions for application objects in a file called the Object Repository. How can you save your test, QuickTest will interact with one entry for each element with. Each Object Repository entry will be by a logical name (will be automatically determined by the rapid test) were identified, and a number of properties (type, name, etc.) that identify each object. Each line in the test script contains a quick reference to the object that you interacted with, placed a call to the appropriate method (click box) and all parameters of this method (as the value of a call to set method). The references to objects in the script are all identified by the logical name, rather than physical, descriptive properties.

What are the types of Object Repositories in QTP?
Quick Test has two types of object repositories of information on the subject of storage: shared object repositories and action object repositories. You can choose what type of object repository you want the default type for new tests, and you can change the default as necessary for each new test. The object repository per share is the default mode. In this mode, QuickTest automatically creates a file in the directory object for each action in your test, you can create and run tests without creating, selecting or modifying object repository files. However, if you do, you change the values in an action object repository, the changes do not affect other actions. Therefore, when the test object is the same in more than one action, then changes to a â ¢ objected, ¬ â "¢ s property values in action, you must use the same change in all shares (and all tests) that are the subject.

  Explain thecheckpoints in QTP? –
A checkpoint verifies that it is intended to display information in an application while the test is run. You can add eight types of checkpoints to test standard web objects using QTP. A checkpoint verifies the features page of the application. A checkpoint verifies that the text string of text displayed in the appropriate place on an application. A checkpoint of the object (Standard) checks the values of an object on an application. A checkpoint verifies the image values of an image on an application. A table checkpoint checks information on a table on an application. A checkpoint verifies Accessibilityy web page for Section 508 compliance. A checkpoint verifies the XML content of individual XML files or XML documents that are part of your Web application. A checkpoint database checks the contents of databases with your website accessible

  how many ways we can check points to add an application using QTP? –
We can add checkpoints while recording the application, or we can add after recording is completed using Active screen (Note: For the second active screen activated during recording).

How does QTP identify objects in the application? - QTP identifies the object in the application of logical name and class.

What setting tests? - If you test your application, you can check how it performs the same operations with multiple records. Suppose you want to check how your application responds to a separate data sets of ten years. You can save ten separate tests, each with its own set of data. Alternatively, you can create a parameterized test that runs ten times: each time the test works, it uses a different set of data.