A test case includes several stages. The following table illustrates these stages, describing in high-level terms the steps for each stage of a sample test case that tests whether the Find facility is working.
After learning the basics of recording, you can record from within the test plan file, which makes recording easier by automatically generating the links that connect the test plan to the test case.
Setup and Record
- Open a new document.
- Type text into the document.
- Position the text cursor either before or after the text, depending on the direction of the search.
- Click
Find in the
Search menu.
- In the
Find dialog box:
- Type the text to search for in the
Find What text box.
- Select a direction for the search.
- Make the search case sensitive or not.
- Click
Find Next to perform the search.
- Click
Cancel to close the
Find dialog box.
Verify
Record a
4Test verification statement that checks that the actual search string found, if any, is the expected search string.
Cleanup
- Close the document.
- Click
No when prompted to save the file.