Académique Documents
Professionnel Documents
Culture Documents
EDUCATION SERVICES
QTP9.0USING-SLIDES-01A
Objectives
After completing this chapter, you will be able to:
Define checkpoints.
Use standard checkpoints. Add flexibility to a constant value using a regular expression.
Understanding Checkpoints
A checkpoint is a specialized step that compares two values and reports the result. QuickTest compares actual results from the test run with expected results in the test plan. If the two values match, the checkpoint passes. Otherwise, the test fails.
Using Checkpoints
You use a checkpoint to:
Visual Cues
Checkpoint Types
Standard Checkpoint
10
11
12
Brackets
[A-Z][a-z] [0-9] \w \W
Digit
\d \d{4}
Rename a Checkpoint
14
Add a Comment
15
Summary
In this chapter, you learned how to: Define checkpoints. Use standard checkpoints. Add flexibility to a constant value by using a regular expression.
16
Review Questions
Now answer these review questions. 1. What is a Standard checkpoint? a) A mechanism to check the property of an object b) An add-in c) An object type d) A parameter
17
Review Questions
2. How do you determine if a checkpoint is used in a test? a) A check mark appears next to the step in the test results.
b) The Operation column of Keyword View lists the operation as Check. c) A check mark appears at each level of the Test Summary tree. d) All of the above.
18
Review Questions
3. Does QuickTest verify only the visible properties of the application? 4. Why do you use regular expressions in your tests?
19
Part 5: Add a comment Part 6: Run the test Part 7: Modify and run the test Part 8: Fix the test
20