Interview Questions and Answers
Freshers / Beginner level questions & answers
Ques 1. What is QTP (QuickTest Professional)?
QTP is an automated functional testing tool that helps testers to perform automated regression testing on software applications.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Intermediate / 1 to 5 years experienced level questions & answers
Ques 2. Explain the difference between QTP and Selenium.
QTP is a commercial tool developed by HP for functional testing, while Selenium is an open-source tool mainly used for web application testing.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 3. What are the types of recording modes in QTP?
QTP supports three recording modes: Keyword Driven, Analog, and Low-Level Recording.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 4. How does Parameterization work in QTP?
Parameterization allows testers to use different sets of data for the same test. QTP supports parameterization through Data Table and Environment Variables.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 5. What is Object Repository in QTP?
Object Repository is a collection of objects and properties with which QTP can identify and perform operations on the application under test.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 6. Explain the concept of Checkpoints in QTP.
Checkpoints in QTP are used to verify if certain conditions are met during the execution of a test. Examples include text, database, and image checkpoints.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 7. What is Descriptive Programming in QTP?
Descriptive Programming is a way to perform operations on objects without adding them to the Object Repository. It involves defining properties and their values in the script itself.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 8. How can you handle dynamic objects in QTP?
To handle dynamic objects, regular expressions and descriptive programming can be used in QTP scripts.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 9. Explain the concept of Regular Expressions in QTP.
Regular Expressions in QTP allow testers to create flexible and powerful object recognition criteria by defining patterns for object property values.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 10. How can you handle dynamic data in QTP scripts?
Dynamic data in QTP scripts can be handled using parameterization, where the values are supplied during runtime using Data Table or Environment Variables.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 11. What is the significance of the Recovery Scenario Manager in QTP?
The Recovery Scenario Manager in QTP is used to define recovery operations for handling unexpected events during test execution, ensuring the stability of the test.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 12. What is the purpose of the Data Table in QTP?
The Data Table in QTP is used to store data input values for a test and allows testers to parameterize and iterate test cases using different sets of data.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 13. Explain the concept of Smart Identification in QTP.
Smart Identification in QTP is a mechanism to identify objects even if they have changed properties, by using base filter criteria and optional properties.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 14. What is the use of the Object Spy in QTP?
The Object Spy in QTP is used to view and retrieve the properties and methods of the objects in the application under test, helping in script development.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 15. How can you handle exceptions in QTP scripts?
Exceptions in QTP scripts can be handled using the 'On Error' statement, which allows testers to define error-handling routines to manage unexpected errors.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 16. Explain the concept of Business Process Testing (BPT) in QTP.
Business Process Testing in QTP allows testers to organize and modularize test components, making it easier to manage and maintain complex test scenarios.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 17. What are the benefits of using the Keyword View in QTP?
The Keyword View in QTP provides a tabular representation of test steps using keywords, making it easier for non-programmers to create and modify test scripts.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 18. How can you export test results in QTP?
Test results in QTP can be exported in various formats like HTML or PDF using the 'Export' option in the Test Results window.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 19. Explain the concept of Synchronization in QTP.
Synchronization in QTP is used to ensure that the test script waits for the application to respond before performing the next step, preventing timing issues.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 20. How can you perform database testing in QTP?
Database testing in QTP can be done using SQL queries to verify data integrity and consistency in the application's backend database.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 21. Explain the concept of Environment Variables in QTP.
Environment Variables in QTP are used to store and retrieve values that can be referenced across multiple tests, enhancing reusability.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 22. What is the purpose of the Object Identification Center in QTP?
The Object Identification Center in QTP is used to configure and fine-tune the recognition properties of test objects for accurate object identification.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 23. How can you integrate QTP with version control systems?
QTP can be integrated with version control systems like SVN or Git by configuring the appropriate settings in the version control tools and QTP.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 24. Explain the concept of Shared Object Repositories in QTP.
Shared Object Repositories in QTP allow multiple tests to share a common set of objects, promoting reusability and maintainability.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 25. What is the purpose of the Step Properties in QTP?
Step Properties in QTP allow testers to define specific settings and behaviors for individual steps in a test, providing greater control over test execution.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 26. How can you handle dynamic web elements in QTP?
Dynamic web elements in QTP can be handled using regular expressions, making the object identification flexible to changes in properties.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 27. What is the purpose of the Resource tab in QTP?
The Resource tab in QTP is used to manage external resources such as libraries, function libraries, and shared object repositories for better test organization.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 28. How can you handle pop-up windows in QTP?
Pop-up windows in QTP can be handled using the built-in functions and methods provided by QTP, such as 'Dialog', to interact with dialog boxes.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 29. How can you perform parameterization using Excel sheets in QTP?
Parameterization using Excel sheets in QTP involves importing data from Excel files using data table methods like 'Import' and 'Export'.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 30. What is the purpose of the Test Batch Runner in QTP?
The Test Batch Runner in QTP allows testers to execute multiple tests in a batch, facilitating the automation of regression testing for larger test suites.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 31. How can you configure QTP to work with different browsers?
QTP can be configured to work with different browsers by installing the appropriate browser add-ins and configuring the browser settings in QTP.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 32. Explain the concept of the Global Data Table in QTP.
The Global Data Table in QTP is used to store and share data across multiple actions, providing a centralized location for test data.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 33. How can you perform image-based testing in QTP?
Image-based testing in QTP involves using the 'Image Checkpoint' and 'Image' functions to verify the presence and properties of images in the application.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 34. Explain the concept of Parameterization using Data Table in QTP.
Parameterization using Data Table in QTP involves storing and retrieving data from the Data Table during test execution, allowing for data-driven testing.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 35. What is the significance of the QTP Test Merge Tool?
The QTP Test Merge Tool is used to merge changes between different versions of the same test, facilitating collaborative test script development.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 36. How can you handle test data in QTP?
Test data in QTP can be handled using Data Table, Environment Variables, and external sources like Excel sheets or databases for parameterization.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 37. Explain the concept of the Test Summary Report in QTP.
The Test Summary Report in QTP provides a comprehensive summary of test execution results, including pass/fail status, enabling efficient test analysis.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 38. What is the purpose of the XML Checkpoint in QTP?
The XML Checkpoint in QTP is used to verify the content and structure of XML documents, ensuring the correct representation of data.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Experienced / Expert level questions & answers
Ques 39. Explain the concept of Virtual Object in QTP.
A Virtual Object in QTP is a non-standard object that does not have a corresponding test object class. It allows users to perform operations on non-standard objects.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 40. What is the significance of the Step Generator in QTP?
The Step Generator in QTP is used to add steps to a test or action without having to record them. It helps in enhancing the efficiency of test script creation.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 41. What is the purpose of the Test Object Model (TOM) in QTP?
The Test Object Model in QTP provides a set of programming objects that represent the elements in the application under test, facilitating test automation.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 42. Explain the concept of Action Splitting in QTP.
Action Splitting in QTP involves breaking down a large test script into smaller, more manageable actions to improve maintainability and reusability.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 43. Explain the concept of Business Component in QTP.
A Business Component in QTP is a modular and reusable unit that represents a business process or functionality, enhancing test design and maintenance.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Ques 44. What is the significance of the QTP Automation Object Model (AOM)?
The QTP Automation Object Model (AOM) allows testers to control QTP programmatically, enabling the automation of various tasks outside the QTP interface.
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Most helpful rated by users:
Related interview subjects
| TestNG perguntas e respostas de entrevista - Total 38 questions |
| Postman perguntas e respostas de entrevista - Total 30 questions |
| SDET perguntas e respostas de entrevista - Total 30 questions |
| Selenium perguntas e respostas de entrevista - Total 40 questions |
| Kali Linux perguntas e respostas de entrevista - Total 29 questions |
| Mobile Testing perguntas e respostas de entrevista - Total 30 questions |
| UiPath perguntas e respostas de entrevista - Total 38 questions |
| Quality Assurance perguntas e respostas de entrevista - Total 56 questions |
| API Testing perguntas e respostas de entrevista - Total 30 questions |
| Appium perguntas e respostas de entrevista - Total 30 questions |
| ETL Testing perguntas e respostas de entrevista - Total 20 questions |
| Cucumber perguntas e respostas de entrevista - Total 30 questions |
| QTP perguntas e respostas de entrevista - Total 44 questions |