Top QTP Interview Questions and Answers, Best QTP Interview Questions

 QTP Interview Questions and Answers:

1. What are the Features & Benefits of Quick Test Pro (QTP 8.0)? - Operates stand-alone, or integrated to Mercury Business Process Testing and Mercury Quality Center. Introduces next-generation zero-configuration Keyword Driven testing technology in Quick Test Professional 8.0 permitting for eventually test creation, straightforward maintenance, and a good amount powerful data-driving capability. Identifies objects amongst Unique Smart Object Recognition, that much if properties difference based on data from put up to build, enabling reliable unattended script execution. Collapses test documentation and test generation to a single evolution through Auto-documentation technology. Enables complete support of applications over a thorough complement of checkpoints.

 2. How to solve the exceptions making use of recovery scenario manager in QTP? - There are 4 explanation incidences over that a recovery scenario must be activated. A pop up window looks like it's in an opened tool through the test run: A structure of an object unrest its state of affairs or value, A stage in the test performs not run successfully, An open tool fails for the duration of the test run, These triggers are knew as exceptions.You can instruct QTP to recover unpredicted occurreneces or errors the current happened in your testing locations within the duration of test run. Recovery scenario manager offers a wizard the guides you with the defining recovery scenario. Recovery scenario has 3 steps: 1. Triggered Events 2. Recovery steps 3. Post Recovery Test-Run

 3. What is the use of Text output price levels in QTP? - Output price enable to view the worth this the tool talks through run time. When parameterized, the costs adjustment for every iteration. Thus by generating output values, we can capture the market prices the present the tool takes for every run and output them to the information table.

 4. How to use the Object spy in QTP 8.0 version? - There are two ways to Spy the objects in QTP: 1) Thru file toolbar, In the File Toolbar click on the persist toolbar button (an icon popping a past customer in on hat). 2) True Object repository Dialog, In Object repository dialog click on the button object spy. In the Object spy Dialog click on the button shooting hand symbol. The pointer now fluctuations in to a hand symbol and we undergo to height out the object to spy the economy of the object if at all the object is not visible. or window is minimized then, own the Ctrl button and activate the essential window to and release the Ctrl button.

 5. How Does Run second info (Parameterization) is handled in QTP? - You can consequently include test information to the Data Table, an integrated spreadsheet surrounded by the extensive functionality of Excel, to manipulate info sets and put up a multitude of test iterations, without programming, to grow test situation coverage. Data can be typed in or imported based on information from databases, spreadsheets, or text files.

 6. What is keyword view and Expert view in QTP? - Quick Tests Keyword Driven approach, test automation professionals undergo comprehensive entrance to the underlying test and object properties, via an integrated scripting and debugging surroundings which is round-trip synchronized amid the Keyword View. Advanced testers can view and edit this tests in the Expert View, that reveals the underlying industry-standard VBScript who Quick Test Professional merely generates. Any unrest created in the Expert View are merely synchronized amongst the Keyword View.

 7. Explain nearly the Test Fusion Report of QTP? - Once a tester has run a test, a Test Fusion study reports all portions of the test run: a high-level consequences overview, an expandable Tree View of the test specifying precisely at which software failures occurred, the test info used, tool display shots for most every evolution overly highlight any discrepancies, and detailed explanations of every checkpoint pass and failure. By combining Test Fusion alleges surrounded by Quick Test Professional, you can share claims every where in an overall QA and development team.

 8. Which environments performs QTP support? - Quick Test Professional underpins functional testing of all enterprise environments, plus Windows, Web,..NET, Java/J2EE, SAP, Siebel, Oracle, PeopleSoft, Visual Basic, ActiveX, mainframe terminal emulators, and Web services.

 9. What is QTP? - Quick Test is a graphical interface record-playback automation tool. It is able to spinrt in on any web, java or windows customer application. Quick Test enables you to test prevalent web objects and ActiveX controls. In addition to these kinds of environments, Quick Test Professional moreover enables you to test Java applets and applications and multimedia objects on Applications as vastly as rule Windows applications, Visual Basic 6 applications and.NET framework applications

 10. Explain QTP Testing process? - Quick Test testing method consists of 6 chief phases:

 11. Create your test regulations - Prior to automating there provided that be a detailed description of the test together with the individual steps to follow, information to be input, and all items to be proven by the test. The verification hints is able to record both information validations and presence or economy verifications of objects in the application.

 12. Recording a session on your software - As you navigate during your application, Quick Test graphically reads every phase you perform in the create of a collapsible icon-based test tree. A phase is any user action the present affects or leads a tweak in your site, these as clicking a link or image, or entering information in a form.

 13. Enhancing your test - Inserting checkpoints to your test lets you searching for a some worth of a page, object or text string, that supports you identify whether or not your tool is functioning correctly. NOTE: Checkpoints can be added to a test as you record high it or subsequent to the truth via the Active Screen. It is significantly more effortless and quicker to add the checkpoints throughout the recording process. Broadening the scope of your test by replacing set rates investing in parameters lets you scrutinize how your program does the same operations investing in a multitude of sets of data. Adding logic and conditional statements to your test enables you to add sophisticated checks to your test.

 14. Debugging your test - If fluxes got received to the script, you trouble to debug it to look over the it runs smoothly and without interruption.

 15. Running your test on a new version of your tool - You run a test to preventing the behavior of your application. While running, Quick Test connects to your program and does every evolution in your test.

 16. Analyzing the test possible results - You inspect the test consequences to pinpoint defects in your application.

 17. Reporting defects - As you encounter failures in the software when analyzing test results, you are able to engender defect scores in Defect Reporting Tool.

 18. Explain the QTP Tool interface. - It contains the after key elements: Title bar, displaying the and cr of the already open test, Menu bar, displaying menus of Quick Test commands, File toolbar, containing buttons to allow you in managing tests, Test toolbar, containing buttons spent additonally generating and maintaining tests, Debug toolbar, containing buttons expended additonally debugging tests. Note: The Debug toolbar is not displayed when you open Quick Test for the mainly time. You can rating the Debug toolbar by opting for View — Toolbars — Debug. Action toolbar, containing buttons and a register of actions, enabling you to view the things of an precise action or the overall test flow. Note: The Action toolbar is not displayed when you open Quick Test for the beforehand time. You can rating the Action toolbar by opting for View — Toolbars — Action. If you record a reusable or external action in a test, the Action toolbar is displayed automatically. Test pane, containing two tabs to view your test-the Tree View and the Expert View ,Test Details pane, containing the Active Screen. Data Table, containing two tabs, Global and Action, to allow you in parameterizing your test. Debug Viewer pane, containing 3 tabs to improve the ability of you in debugging your test-Watch Expressions, Variables, and Command. (The Debug Viewer pane can be opened simply when a test run pauses at a breakpoint.) Status bar, displaying the status of the test

 19. How performs QTP can make out Objects in AUT? - Quick Test stores the definitions for tool objects in a file identified the Object Repository. As you store your test, Quick Test serves to add an entry for every item you interact with. Each Object Repository entry is able to be dubbed by a realistic and cr (determined automatedly by Quick Test), and ought to contain a set of places (type, name, etc) overly uniquely identify every object. Each string in the Quick Test script will be able to contain a reference to the object the current you interacted with, a engage to the appropriate approach (set, click, check) and any parameters for such a technique (such as the expense for a hire to the set method). The character references to objects in the script serves to all be dubbed by the rational name, in its place as opposed to any physical, descriptive properties.

 20. What are the kinds of Object Repositories in QTP? - Quick Test has two sorts of object repositories for storing object information: shared object repositories and action object repositories. You can select that brand of object repository you fancy to use as the default kind for new tests, and you can difference the default as substantial for every new test. The object repository per-action mode is the default setting. In the current mode, Quick Test merely creates an object repository file for every action in your test so this you can form and run tests without creating, choosing, or modifying object repository files. However, if you do modify market prices in an action object repository, your unrest do not hold any influence on a good deal more actions. Therefore, if the same test object is in a great deal more as opposed to one action and you modify an objects house value in one action, you may wish to provide the same difference in any action (and any test) containing the object.

 21. Explain the scrutinize points in QTP? - A checkpoint verifies such a projected guidelines is displayed in an Application additonally the test is running. You can add eight sorts of checkpoints to your test for median web objects utilizing QTP. A web site checkpoint checks the aspects of an Application. A text checkpoint checks the current a text line is displayed in the appropriate place on an Application. An object checkpoint (Standard) checks the price level of an object on an Application. An image checkpoint checks the price points of an image on an Application. A table checkpoint checks data within the duration of a table on a Application. An Accessibilityy checkpoint checks the web web page for Section 508 compliance. An XML checkpoint checks the contents of precise XML info files or XML documents the present are half of your Web application. A database checkpoint checks the contents of databases accessed by your web site

 22. In how numerous ways we can add evaluate points to an software making the most of QTP? - We can add checkpoints additonally recording the program or we can add once recording is carried out making use of Active rating (Note : To perform the minute one The Active display should be enabled additonally recording).

 23. How performs QTP identify objects in the application? - QTP identifies the object in the program by Logical Name and Class.

 24. What is Parameterizing Tests? - When you test your application, you may ask for to look how it does the same operations amid a good amount of sets of data. For example, expect you need to inspect how your program responds to ten separate sets of data. You may record high ten separate tests, every through its own set of data. Alternatively, you can produce a parameterized test too drives ten times: every phase the test runs, it uses a many set of data.

 25. What is test object ideal in QTP? - The test object ideal is a ample set of object kinds or classes the current Quick Test uses to act for the objects in your application. Each test object course has a input of places such a can uniquely identify objects of such a worth and a set of signficant resources overly Quick Test can top for it. A test object is an object which Quick Test creates in the test or factor to serve the actual object in your application. Quick Test stores data up the object which serves to benefit it identify and look over the object through the run session.

 26. What is Object Spy in QTP? - Using the Object Spy, you can view the real estate of any object in an open application. You use the Object Spy pointer to rate to an object. The Object Spy says the particular objects hierarchy tree and its they and cost in the Properties tab of the Object Spy dialog box.

 27. What is the Diff between Image check-point and Bit map Check point? - Image checkpoints enable you to precluding the homes of a Web image. You can analyze an state of a Web web site or program as a bitmap. While producing a test or component, you specify the neighborhood you fancy to averting by deciding on an object. You can averting an general object or any district during an object. Quick Test captures the specified object as a bitmap, and writes a checkpoint in the test or component. You can too select to save simply the particular state of the object through your test or element in condition to save disk Space. For example, presume you experience a Web site who can score a map of a city the user specifies. The map has control keys for zooming. You can input the new map overly is displayed following one click on the control key too zooms in the map. Using the bitmap checkpoint, you can look at the current the map zooms in correctly. You can make bitmap checkpoints for all supported testing environments (as extended as the appropriate add-ins are loaded). Note: The outcomes of bitmap checkpoints may be affected by components the as speaking system, score resolution, and color settings.

 28. How a good amount of ways we can parameterize information in QTP? - There are one kinds of parameters: Test, action or cog parameters enable you to use costs endorsed based on your test or component, or price points based on more actions in your test. Data Table parameters enable you to generate a data-driven test (or action) too operates multi times paying the information you supply. In every repetition, or iteration, Quick Test uses a several superiority from what i read in the Data Table. Environment variable parameters enable you to use variable worth according to a larger number of methods in the run session. These may be market value you supply, or cost who Quick Test generates for you centered on situations and opportunities you choose. Random total amount parameters enable you to add random amounts as levels in your test or component. For example, to look over how your software manages pitiful and larger ticket orders, you can suffer Quick Test build a random large amount of and affix it in a plethora of tickets edit field.

 29. How do u do batch testing in WR & is it expected to do in QTP, if so explain? - Batch Testing in WR is not anything but running the total test set by choosing Run Test set from what i read in the Execution Grid. The same is achievable amid QTP also. If our test examples are automated subsequently by going for Run Test set all the test scripts can be executed. In the present procedure the Scripts get completed one by one by keeping all the remaining scripts in Waiting mode.

 30. If I provide particular thousand tests to execute in 2 days how do u do? - Adhoc testing is done. It Covers the minimum easy functionalities to confirm too the process is making an attempt fine.

 31. What performs it imply when a scrutinize rate is in red color? how do u do? - A red color causes failure. Here we review the lead to for failure whether it is a Script Issue or Environment Issue or a Application issue.

 32. What is Object Spy in QTP? - Using the Object Spy, you can view the residence of any object in an open application. You use the Object Spy pointer to height to an object. The Object Spy reads the specific objectâۉ„¢s hierarchy tree and its housing and market value in the Properties tab of the Object Spy dialog box.

 33. What is the file extension of the code file & object repository file in QTP? - Code file extension is.vbs and object repository is.tsr

 34. Explain the thought of object repository & how QTP recognizes objects? - Object Repository: reports a tree of all objects in the recent element or in the up to date action or whole test (depending on the object repository mode you selected). We can view or modify the test object description of any test object in the repository or to add new objects to the repository. Quicktest learns the default piece of real estate market value and determines in that test object quality it fits. If it is not a sufficient amount of it adds assistive properties, one by one to the description until it has compiled the distinct description. If no assistive houses are available, later it adds a special Ordinal identifier this as objects location on the web site or in the source code.

 35. What are the real estate you can use for granting a browser & web site when making the most of descriptive programming? - Name will be an additional properties apart of title this we can use.

 36. Give me an model at which you hold spent a COM interface in your QTP project? - com interface turns out in the scenario of front end and coming back end. for eg:if you r employing oracle as coming back end and front end as VB or any gobbledygook next for higher compatibility we serves to go for an interface. of that COM serves to be one with people interfaces. Create object creates deal with to the instance of the specified object so who we plan can use the supplies on the specified object. It is spent for implementing Automation(as defined by Microsoft).

 37. Explain in brief close to the QTP Automation Object Model. - Essentially all configuration and run functionality only if via the Quick Test interface is in particularlly way represented in the Quick Test automation object perfect via objects, methods, and properties. Although a one-on-one comparison cannot consistently be made, numerous dialog boxes in Quick Test undergo a corresponding automation object, multiple opportunities in dialog boxes can be set and/or retrieved paying the corresponding object property, and a multitude of menu commands and some operations suffer corresponding automation methods. You can use the objects, methods, and real estate exposed by the Quick Test automation object model, along amid regular programming ingredients these types of as loops and conditional statements to design your program.

Post a Comment

2 Comments

  1. Hi

    Tks very much for post:

    I like it and hope that you continue posting.

    Let me show other source that may be good for community.

    Source: Good interview questions

    Best rgs
    David

    ReplyDelete
  2. Thanks for the Post

    Check out this website for the Largest Collection of Technical Interview Questions and Answers

    Technical Interview Questions and Answers

    Thanks
    Priyanka

    ReplyDelete

Thank you for your valuable comment.