Top 10 QTP Interviews Questions with Answers

QTP is mechanized automated Testing software that causes analyzers to execute tests that are automated in nature to distinguish any blunders, problems, glitches and/or loopholes in opposition to the normal consequences of the application under test. It was the creation of Mercury Interactive and was later subsequently obtained by HP.

Salient Features Of QTP

  • The software can be used by both the categories of testers: technical and non-technical.
  • The capability to test web-based and the desktop application is a plus
  • Business Process Testing is accepted and allowed by QTP.
  • It also has the added capability to perform tests uninterrupted.

QTP Interviews Questions and Answers

In this article, we shall be covering the questions and answers that are most commonly asked in an interview relating to QTP. So, let’s get started.

Q1). What do you understand by the term QTP?

QTP is one of the great computerization apparatus which underpins graphical interface record-playback. Brisk Test empowers you to test standard web and Windows applications.

Q2). Explain some of the most key features and advantages of using QTP?

QTP ought to work as an independent apparatus and incorporated into Mercury Business Process Testing and Mercury Quality Center. Testing results could be naturally encouraged into a database that may give valuable insights on how great the product testing is going. It gives Keyword driven testing. QTP Identifies objects with Unique Smart Object Recognition, regardless of whether they change from work to assemble. By utilizing QTP, Test execution time and cost will lessen.

Q3). What are the scripting languages used when one works with this software QTP?

Some of the languages that are used very regularly while using this QTP software are VisualBasic, Javascript, XML, and HTML.

Q4). Can you explain the two views available in the QTP graphical user interface?

Keyword: This view is an unthinkable portrayal of the considerable number of articles and the activities that are performed on them. Each line in the table is a stage performed on the AUT and can be altered. The absolute most regular segments showed are a thing, task, esteem, and documentation.

Expert: As the name demonstrates, this view is for progressively specialized clients who might need to change the source code according to their prerequisites.

Q5). What is the model which QTP uses for creating tests?

  1. a) decide your testing requirements and needs
  2. b) Setting up of storehouses
  3. c) Defining your work libraries
  4. d) Generation of test steps
  5. e) Data driving of tests
  6. f) Execute the tests

Q6). What are the three recording modes that are available in this QTP software and how does it work?

Normal mode – The default recording technique is dependably the ordinary mode. This technique utilizes the model of Test Objects and Runtime items to learn and follow up on the AUT.

Analog mode – Records the definite mouse and keystrokes that the client performs in connection to either the screen or AUT window. The means that are recorded utilizing this technique can’t be altered.

Basic mode – This mode records the directions in the application where the task is performed, regardless of whether QTP perceives the particular Object or Operation.

Q7). How would you use the recovery scenario manager to handle the exceptions arising in QTP?

There are 4 trigger occasions amid which a recovery situation ought to be initiated. A spring up window shows up in an opened application amid the trial: A property of an item changes its state or esteem, A stage in the test does not run effectively. An open application comes up short amid the trial, these triggers are considered as exceptions. You can pre-instruct QTP to recover unexpected blunders that happened in your testing condition amid trial. recovery situations manager gives a wizard in the form of help that guides you through the characterizing recovery situation. Recovery situation has three stages: 1. Activated Events 2. Recuperation stages 3. Post-Recovery Test-Run

Q8). What do you mean by a test fusion report and what is its role in QTP?

When an analyzer/tester has run a test, a Test Fusion report shows all parts of the trial: an abnormal state results review, an flexible and easily expandable tree-type view of the test indicating precisely where the failure of the applications happened, the test information utilized, application screenshots for each progression that feature any disparities, and nitty-gritty clarifications of every checkpoint pass and fails.

Q9). What is the role of checkpoints in QTP Software?

A checkpoint confirms that normal data is shown in an Application while the test is running. You can add eight kinds of checkpoints to your test for standard web objects utilizing QTP. A page checkpoint verifies the attributes of an Application. A content checkpoint watches that a content string is shown in the proper spot on an Application. An item checkpoint (Standard) checks the estimations of an article on an Application. A picture checkpoint checks the estimations of a picture on an Application. A table checkpoint checks data inside a table on an Application. An Accessibility checkpoint verifies the site page for Section 508 consistency. An XML checkpoint verifies the substance of individual XML information records or XML reports that are a piece of your Web application. A database checkpoint verifies the substance of databases gotten to by your site.

Q10). What role does a test object model play in QTP?

The test object model is a huge arrangement of article types or classes that Quick Test uses to speak to the items in your application. Each test object class has a rundown of properties that can interestingly distinguish objects of that class and a lot of significant strategies that Quick Test can record for it. A test object is an article that Quick Test makes in the test or segment to speak to the real item in your application.

Q11). How can you add checkpoints in QTP?

We can include checkpoints while recording the application or we can include in the wake of the chronicle is finished utilizing Active screen (Note: To play out the second one The Active screen must be empowered while recording).

Conclusion

In totality, this article has covered the six most common questions usually asked for freshers and the six most common questions asked to the experienced professionals who are switching or planning to switch their jobs. Hope these are of help to you while preparing for your interview.

 

Author: Manchun Kumar

Leave a Reply

Your email address will not be published. Required fields are marked *