How is the testing process in QTP ?
The QuickTest testing process consists of 7 main phases:
1.Preparing to record
Before you record a test, confirm that your application and QuickTest are set to match the needs of your test.Make sure your application displays elements on which you want to record,such as a toolbar or a special window pane, for example, and that your application options are set as you expect for the purposes of your test. You should also view the settings in the QuickTest Test Settings dialog box (Test > Settings) and the Options dialog box (Tools > Options) to ensure that QuickTest will record and store information appropriately. For example, you should confirm that the test is set to use the appropriate object repository mode.
2. Recording a session on your application
As you navigate through your application or Web site, QuickTest graphically displays each step you perform in the form of a collapsible icon-based test tree. A step is any user action that causes or makes a change in your application, such as clicking a link or image, or entering data in a form.
3. Enhancing your test
a) Inserting checkpoints into your test lets you search for a specific value of a page, object or text string, which helps you identify whether or not your application or site is functioning correctly.
b) Broadening the scope of your test, by replacing fixed values with parameters, lets you check how your application performs the same operations with multiple sets of data.
c) Adding logic and conditional statements enables you to add sophisticated checks to your test.
4 .Debugging your test
You debug a test to check that it operates smoothly and without interruption.
5. Running your test on a new version of your application
You run a test to check the behavior of your application or Web site. While running, QuickTest opens the application, or connects to the Web site, and performs each step in your test.
6 .Analyzing the test results
You examine the test results to pinpoint defects in your application.
7. Reporting defects
If you have TestDirector installed, you can report the defects you discover to a database. TestDirector is Mercury Interactives software test management tool.
