Test content:
1. Open a file in any location.
2. open the file in various ways.
3. Open files in any format
4. Click the buttons in the file dialog box.
The test of opening a file also involves passing the test and failing the test.
The following situations occur when you pass the test:
1. Open the local file directly.
2. Open files on the network. Such as opening files on the server or sharing files on other machines
3. directly enter the file path and name
4. Test different file types one by one.
5. Select the open mode and version.
6. Select the open mode operation. For example, you can directly select a file using a combination list box, or use icons such as "going to the upper level" and "going to a folder that has been accessed" to control the file.
7. Select cancel and click Cancel to exit the window without opening any files.
8. hotkeys and enter keys. Use of the tab key.
There are eight failure tests:
1. Enter a non-existent file name.
2. Change the file access permission. For example, you can open an opened file or change the file extension by compressing and encrypting the file. For example, change the file with the dll extension to the doc extension and open it in word.
3. Modify the file name.
4. Destroy the file content. For example, you can modify the special characters of a file to corrupt the file data. Check whether the program can process the corrupted data without the redundant cyclic verification. Finally crash.
5. Enter an invalid file name and open the file.
6. Make the storage medium busy or unavailable. For example, an attempt is made to open an unfinished file being downloaded from a Web page.
7. When the disk capacity is full, open the file
Ii. Save the file:
Test content:
1. Save the file to any location.
2. save files in various forms.
3. select various storage methods.
4. Save the button in the dialog box.
You can also test the saved files by passing the test or failing the test.
The following situations occur when you pass the test:
1. Save it locally or on the network.
2. Save as an existing file. If the file already exists, check whether it is overwritten.
3. Save the file type and open it again to check whether the saved content is correct.
4. Save method. For example, if the file extension is automatically added and no password is used for saving files.
5. Select the location for saving the file. For example, you can directly select a file using the combination list box, or use charts such as "going to the upper level" and "going to a folder that has been accessed" to control the file.
6. Select cancel and click Cancel to exit the window without opening any files.
7. hotkeys and enter keys. Use of the tab key.
There are eight failure tests:
1. Change the file access permission. For example, you can open a read-only file and save it after modification. Alternatively, you can open the file in a directory on the server that has no write permission and save it.
2. The file name contains null values, spaces, and default values. For example, use the default file name to save the file, and use a null value as the file name. Use space as the file name.
3. Special characters are used for file names.
4. The file name must be of a special length.
5. Make the file path hierarchical and long. For example, the file path and file name are 300 characters in length,
The programmer only considers the restriction on the file name and ignores the restriction on the path length.
6. The file system is overloaded. For example, save a 2 MB file to a floppy disk or a file to a hard disk without disk space.
7. Make the media busy or unavailable. For example, save the files that other users are reading.
3. Close files
Test content:
1. close the file through menu options.
2. close the file through the window button.
3. close the file normally. The system prompts you to confirm the information. For example, if the file is edited and not saved, the system prompts "save" when it is disabled ". If it is saved, the file is saved and closed; otherwise, the file is closed directly.
4. Click the menu or window button to close the window.
5. Disable abnormally. For example, terminate a task directly in the task manager.
4. Print files
Test content:
1. Whether local printing and network printing can be completed.
2. Print the settings of each attribute on the page.
3. Can the button function be printed on the page.
Pass the test:
1. Print it directly to the local printer and confirm that the printed content is correct.
2. output on the network printer.
3. Print it to a file and output it to the printer. For example, print the file to the file, and then output the file to the printer in DOS mode.
4. Print various properties of the interface. Such as the number of copies and the number of pages to print.
5. Use of the hotkey, enter key, and Tab key.
6. Select Cancel to cancel printing the file.
Failed tests:
Printer error. The system prompts you. For example, if the printer is turned on, the data line is not connected, or the data transmission fails.
5. Insert operations
Test content:
1. Insert a file. For example, insert the selected file into the document.
2. Insert the document itself. For example, insert doc1.doc in doc1.doc
3. Remove the inserted original file. For example, insert D: \ test.jpg to the file, save and close the file, and put test. Move JPG to another directory and open the file again, test. BMP should be correctly displayed.
4. insert an image. For example, insert images in common formats, including BMP, Tif, and jpg urgent WMF.
5. Replace the content of the inserted source file. For example, insert D: \ test.bmp into the file, save and close the file, and change the content of test.bmp. After opening the file again, test.bmp should still be displayed as the pre-repair content
6. Connection file:
Test content:
Inserting a connection file refers to saving the inserted link address in the file without saving the specific content. To test the link, you need to test the content:
1. link the document itself to the document.
2 .......
7. Form:
Test content:
1. Form size.
2. Move the form.
3. Scale the form.
4. Display resolution.
Case 2:
1. Status Bar
2. toolbar.
3. error message.
4. parent form. The center of the parent form should be near the corner of the diagonal.
5. subform. The sub-form should be in the upper left or middle of the main form.
When multiple subforms are displayed, they should be shifted to the lower right corner. The Form title is displayed.
4. Replace the inserted source file.