QTP 4 years real time interview quetions and answers:
1.How many types of Parameters are available in QuickTest Professional (QTP)?
QTP provides three types of Parameter-
* Method Argument
* Data Driven
* Dynamic
2.When we try to use test run option "Run from Step", the browser is not launching automatically why?
This is default behaviour.
3. How Does Run time data (Parameterization) is handled in QTP?
You can then enter test data into the Data Table, an integrated spreadsheet with the full functionality of Excel, to manipulate data sets and create multiple test iterations, without programming, to expand test case coverage. Data can be typed in or imported from databases, spreadsheets, or text files.
4. If I give some thousand tests to execute in 2 days what do you do?
Adhoc testing is done. It Covers the least basic functionalities to verify that the system is working fine.
5. How to "Turn Off" QTP results after running a Script?
Goto "Tools > Options > Run Tab" and Deselect "View results when run session ends". But this supresses only the result window, but a og will be created and can viewed manulaly which cannot be restricted from getting created.
6. Explain about the Test Fusion Report of QuickTest Professional (QTP) ?
Once a tester has run a test, a TestFusion report displays all aspects of the test run: a high-level results overview, an expandable Tree View of the test specifying exactly where application failures occurred, the test data used, application screen shots for every step that highlight any discrepancies, and detailed explanations of each checkpoint pass and failure. By combining TestFusion reports with QuickTest Professional, you can share reports across an entire QA and development team.
7. If an application name is changes frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handles?
QTP handles those situations using “Regular Expressions..
8. How to handle the exceptions using recovery secnario manager in QuickTest Professional (QTP)?
You can instruct QTP to recover unexpected events or errors that occured 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
1. Triggered Events
2. Recovery steps
3. Post Recovery Test-Run
9. What’s the basic concept of QuickTest Professional (QTP)?
QTP is based on two concept-
* Recording
* Playback.
10. Why use Regular Expressions?
you created a text checkpoint that searched for a specific text string. You can use regular expressions to increase the flexibility and adaptability of your tests.
Regular expressions enable QuickTest to identify objects and text strings with varying values. You can use regular expressions when defining the properties of an object, the methods of an argument, when parameterizing a step, and when creating checkpoints with varying values.
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.