background image
<< Lesson 9 Testing Your Own Application | Report defects >>
<< Lesson 9 Testing Your Own Application | Report defects >>
Enhance your recorded test
Lesson 9 · Where Do You Go from Here?
92
Decide which object repository mode to use for your test. The object
repository mode you choose determines the way that QuickTest stores
information about your application when you record tests. You can have a
separate action repository for each action and store the objects for each
action in its corresponding action repository, or you can store all the objects
in your test in a common (shared) object repository file. You can also use the
same shared object repository file for multiple tests.
If you are new to testing, you may want to use the object repository
per-action mode, as you can use this mode without making any other
changes to your test.
If you are familiar with testing, it is probably most efficient to work in the
shared object repository mode. In this mode, you can use one object
repository file for multiple tests. This means that object information that
applies to many tests is kept in one central location. When the objects in
your application change, you can update them in one location for all of
your tests.
For more information on choosing an object repository mode, refer to the
QuickTest Professional User's Guide.
2 Record your test.
While recording (described in "Recording Tests" on page 9), follow the steps
you expect users to perform as they navigate within your application or Web
site.
3 Enhance your recorded test.
Add checkpoints (described in "Creating Checkpoints" on page 25) to
search for specific values of a page, object, text string, or table.
Replace fixed values in your test with parameters (described in
"Parameterizing Tests" on page 45) to check how your application
performs the same operations with multiple sets of data.
Create output values (described in "Creating Output Values" on page 55)
to retrieve data during a test run.
Where applicable, use regular expressions (described in "Using Regular
Expressions" on page 63) to increase the flexibility and adaptability of
your tests.