Below is an overview of the cloud Computing PAAs Platform page:
Today we are going to talk about the test design of the image management page:
Can see, this page mainly has to increase the deletion of four functions.
1. Querying the image
(1) Ease of use: To view the image query interface, the interface of the components design reasonable, beautiful, easy to use, text display normal, buttons can be used normally
(2) Performance: Click on the left column image Management button, open the Mirror query interface, the page open speed in an acceptable range, usually 3 seconds
(3) Function: Enter the name of the image you want to query in the input box or some keywords, click the query button, the query results show the matching to the image record;
In the input box to enter a non-existent keyword or a long keyword, click the query button, the query results are empty;
2. New Image
(1) Performance: Click on the new Image button on the page, pop up the new Image window, the page can pop up smoothly, no obvious delay, and the page is normal, the reaction speed within the acceptable range
(2) Function:
① fill in the background has done the base image name and the corresponding running environment, click the OK button, pop up a window to show the new image success, click OK after the new Image window automatically closed,
Click the Query Mirroring button to see if the image has been added successfully, the image name in the query results, the corresponding running environment and the creation time information are displayed correctly;
② only fill in the background has done the basic image name or run environment information, click the OK button, the image added failure, prompted to fill in the corresponding operating environment or image name,
Click the query Mirror button to see if the image has been added successfully, the results of the query did not appear;
③ Add a good base image deployment path or start command or log directory or detailed information, click the OK button, the image is added successfully, click the Query Mirror button to see the results of the corresponding information is correct;
④ added an existing image name and run environment information to indicate that a record already exists
⑤ 100 new images, 100 image records in the query results page display, and the image name to arrange, provide a button on the upper and lower pages to switch
⑥ If the use case adds success, check to see if a new record appears in the corresponding table in the database.
⑦ Click the Reset button when the new image is added and the contents are emptied
3. Modify the image
(1) Performance: Click on the page to modify the mirror button, pop-up to modify the image window, the page can be ejected smoothly, no obvious delay, and the page is normal, the reaction speed within the acceptable range
(2) Function: Click the Modify Mirror button on the page, pop up to modify the image window, modify the image name or the running environment or the deployment path or start the command or log directory or details to see if the corresponding information is updated
Query whether the information in the corresponding table in the database is updated
Click the Reset button when modifying the image and the contents are emptied
4. Remove the image
When the image is not used, select the image record, click the Delete button, the image deletion succeeds
Click Delete when the image is being used, the image deletion fails
Delete the corresponding app, delete the mirror again, the image deleted successfully
Delete a large number of mirrors to see if the image was deleted successfully
Delete a mirrored record, add an identical record to see if it was successful
All of the above use cases need to check whether the corresponding records in the database are deleted
Image management of test design for cloud computing PAAs platform