1) What are the Features & Benefits of Quick Test Pro ?
Ans. Operates stand-alone, or integrated into Mercury Business Process Testing and Mercury Quality Center. Introduces next-generation zero-configuration Keyword Driven testing technology in Quick Test Professional 8.0 allowing for fast test creation, easier maintenance, and more powerful data-driving capability. Identifies objects with Unique Smart Object Recognition, even if they change from build to build, enabling reliable unattended script execution. Collapses test documentation and test creation to a single step with Auto-documentation technology. Enables thorough validation of applications through a full complement of checkpoints.
2) How to handle the exceptions using recovery scenario manager in QTP?
Ans. There are 4 trigger events during which a recovery scenario should be activated. A pop up window appears in an opened application during the test run: A property of an object changes its state or value, A step in the test does not run successfully, An open application fails during the test run, These triggers are considered as exceptions.You can instruct QTP to recover unexpected events or errors that occurred in your testing environment during test run. Recovery scenario manager provides a wizard that guides you through the defining recovery scenario. Recovery scenario has three steps:
- Triggered Events
- Recovery steps
- Post Recovery Test-Run
3) What is the use of Text output value in QTP?
Ans. Output values enable to view the values that the application talks during run time. When parameterized, the values change for each iteration. Thus by creating output values, we can capture the values that the application takes for each run and output them to the data table.
4) How to use the Object spy in QTP 8.0 version?
Ans. There are two ways to Spy the objects in QTP:
- Thru file toolbar, In the File Toolbar click on the last toolbar button (an icon showing a person with hat).
- True Object repository Dialog
In Object repository dialog click on the button object spy. In the Object spy Dialog click on the button showing hand symbol. The pointer now changes in to a hand symbol and we have to point out the object to spy the state of the object if at all the object is not visible. or window is minimized then, hold the Ctrl button and activate the required window to and release the Ctrl button.
5) Explain the concept of object repository & how QTP recognizes objects?
Ans. Object Repository: displays a tree of all objects in the current component or in the current action or entire 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 property values and determines in which test object class it fits. If it is not enough it adds assistive properties, one by one to the description until it has compiled the unique description. If no assistive properties are available, then it adds a special Ordinal identifier such as objects location on the page or in the source code.
6) What are the properties you would use for identifying a browser & page when using descriptive programming?
Ans. Name would be another property apart from title that we can use.
7) Give me an example where you have used a COM interface in your QTP project?
Ans. COM interface appears in the scenario of front end and back end. for eg: if you r using oracle as back end and front end as VB or any language then for better compatibility we will go for an interface of which COM will be one among those interfaces. Create object creates handle to the instance of the specified object so that we program can use the methods on the specified object. It is used for implementing Automation.
8) Explain in brief about the QTP Automation Object Model.
Ans. Essentially all configuration and run functionality provided via the Quick Test interface is in some way represented in the Quick Test automation object model via objects, methods, and properties. Although a one-on-one comparison cannot always be made, most dialog boxes in Quick Test have a corresponding automation object, most options in dialog boxes can be set and/or retrieved using the corresponding object property, and most menu commands and other operations have corresponding automation methods. You can use the objects, methods, and properties exposed by the Quick Test automation object model, along with standard programming elements such as loops and conditional statements to design your program.
Also See:
- QTP Interview Questions – Part 1
- LoadRunner Interview Questions
- Manual Testing Interview Questions – 1
- Manual Testing Interview Questions – 2
- Mercury Quality Center
- WordPress Web Hosting for Small Businesses: Essential Tips - October 3, 2024
- Web Hosting for Online Startups: Scalability and Reliability - October 3, 2024
- 4 Best Upmetrics Alternatives for Your Business Planning [2024] - August 30, 2024