Skip to content
Snippets Groups Projects
Commit 6f13ca9e authored by zshan2's avatar zshan2
Browse files

Update ManualTest.md

parent e20745a2
No related branches found
No related tags found
1 merge request!2Implementation of assignment-2.2
# GoodRead Crawler Manual Test # GoodRead Crawler Manual Test
This is a manual test plan for cs242-sp21 assignment1: UNO game. This is a manual test plan for cs242-sp21 assignment2: GoodRead Crawler
## System Requirements ## System Requirements
#### OS: #### OS:
The following OS are appropriate system for running the UNO application and testing. The following OS are appropriate system for running the GoodRead Crawler application and testing.
- Windows 7 or above - Windows 7 or above
- Mac OS X - Mac OS X
- Linux - Linux
...@@ -20,7 +20,7 @@ Softwares/applications are required for running the test. ...@@ -20,7 +20,7 @@ Softwares/applications are required for running the test.
## Scenes for Testing ## Scenes for Testing
![1](./ManualTestPictures/1 (1).png) ![1](./ManualTestPictures/1(1).png)
## 1.GET function ## 1.GET function
...@@ -29,56 +29,56 @@ Softwares/applications are required for running the test. ...@@ -29,56 +29,56 @@ Softwares/applications are required for running the test.
Test GET exist book data Test GET exist book data
- expect result: - expect result:
Successfully get book data and showing in table Successfully get book data and showing in table
![2](./ManualTestPictures/1 (5).png) ![2](./ManualTestPictures/1(5).png)
#### Test1.2 #### Test1.2
- test content: - test content:
Test GET exist author data Test GET exist author data
- expect result: - expect result:
Successfully get author data and showing in table Successfully get author data and showing in table
![3](./ManualTestPictures/1 (4).png) ![3](./ManualTestPictures/1(4).png)
#### Test1.3 #### Test1.3
- test content: - test content:
Test GET unexist book data Test GET unexist book data
- expect result: - expect result:
Request failed Request failed
![4](./ManualTestPictures/1 (2).png) ![4](./ManualTestPictures/1(2).png)
#### Test1.4 #### Test1.4
- test content: - test content:
Test GET unexist author data Test GET unexist author data
- expect result: - expect result:
Request failed Request failed
![5](./ManualTestPictures/1 (3).png) ![5](./ManualTestPictures/1(3).png)
#### Test1.5 #### Test1.5
- test content: - test content:
Test search exist book data with id Test search exist book data with id
- expect result: - expect result:
Successfully find the data and print in table Successfully find the data and print in table
![6](./ManualTestPictures/1 (6).png) ![6](./ManualTestPictures/1(6).png)
#### Test1.6 #### Test1.6
- test content: - test content:
Test search exist book data with flexible search condition Test search exist book data with flexible search condition
- expect result: - expect result:
Successfully find the data and showing in table Successfully find the data and showing in table
![7](./ManualTestPictures/1 (7).png) ![7](./ManualTestPictures/1(7).png)
#### Test1.7 #### Test1.7
- test content: - test content:
Test search unexist book data Test search unexist book data
- expect result: - expect result:
Request failed Request failed
![8](./ManualTestPictures/1 (8).png) ![8](./ManualTestPictures/1(8).png)
#### Test1.8 #### Test1.8
- test content: - test content:
Test using scrape in GET command Test using scrape in GET command
- expect result: - expect result:
Request failed Request failed
![9](./ManualTestPictures/1 (24).png) ![9](./ManualTestPictures/1(24).png)
## 2.PUT function ## 2.PUT function
...@@ -87,34 +87,34 @@ Softwares/applications are required for running the test. ...@@ -87,34 +87,34 @@ Softwares/applications are required for running the test.
Test PUT update data for exist book documentation Test PUT update data for exist book documentation
- expect result: - expect result:
No new document is created, existing document updated No new document is created, existing document updated
![10](./ManualTestPictures/1 (9).png) ![10](./ManualTestPictures/1(9).png)
![11](./ManualTestPictures/1 (10).png) ![11](./ManualTestPictures/1(10).png)
![12](./ManualTestPictures/1 (12).png) ![12](./ManualTestPictures/1(12).png)
#### Test2.2 #### Test2.2
- test content: - test content:
Test PUT new book documentation Test PUT new book documentation
- expect result: - expect result:
A new book document is created A new book document is created
![13](./ManualTestPictures/1 (13).png) ![13](./ManualTestPictures/1(13).png)
![14](./ManualTestPictures/1 (15).png) ![14](./ManualTestPictures/1(15).png)
#### Test2.3 #### Test2.3
- test content: - test content:
Test PUT update data for exist author documentation Test PUT update data for exist author documentation
- expect result: - expect result:
No new document is created, existing document updated No new document is created, existing document updated
![15](./ManualTestPictures/1 (16).png) ![15](./ManualTestPictures/1(16).png)
![16](./ManualTestPictures/1 (17).png) ![16](./ManualTestPictures/1(17).png)
![17](./ManualTestPictures/1 (19).png) ![17](./ManualTestPictures/1(19).png)
#### Test2.4 #### Test2.4
- test content: - test content:
Test PUT new author documentation Test PUT new author documentation
- expect result: - expect result:
A new author document is created A new author document is created
![18](./ManualTestPictures/1 (20).png) ![18](./ManualTestPictures/1(20).png)
![19](./ManualTestPictures/1 (22).png) ![19](./ManualTestPictures/1(22).png)
## 3.POST function ## 3.POST function
...@@ -124,8 +124,8 @@ Softwares/applications are required for running the test. ...@@ -124,8 +124,8 @@ Softwares/applications are required for running the test.
Test POST book data Test POST book data
- expect result: - expect result:
Successfully post new book documtent Successfully post new book documtent
![20](./ManualTestPictures/1 (26).png) ![20](./ManualTestPictures/1(26).png)
![21](./ManualTestPictures/1 (28).png) ![21](./ManualTestPictures/1(28).png)
#### Test3.2 #### Test3.2
...@@ -133,24 +133,24 @@ Softwares/applications are required for running the test. ...@@ -133,24 +133,24 @@ Softwares/applications are required for running the test.
Test POST author data Test POST author data
- expect result: - expect result:
Successfully post new author documtent Successfully post new author documtent
![22](./ManualTestPictures/1 (29).png) ![22](./ManualTestPictures/1(29).png)
![23](./ManualTestPictures/1 (30).png) ![23](./ManualTestPictures/1(30).png)
#### Test3.3 #### Test3.3
- test content: - test content:
Test Scrape data Test Scrape data
- expect result: - expect result:
New book and author data is added into collections New book and author data is added into collections
![24](./ManualTestPictures/1 (23).png) ![24](./ManualTestPictures/1(23).png)
![25](./ManualTestPictures/1 (25).png) ![25](./ManualTestPictures/1(25).png)
#### Test3.4 #### Test3.4
- test content: - test content:
Test the input form of book-type doc can be closed by click 'back' button and another form of author-type can be opened Test the input form of book-type doc can be closed by click 'back' button and another form of author-type can be opened
- expect result: - expect result:
Successfully changed the form Successfully changed the form
![26](./ManualTestPictures/1 (29).png) ![26](./ManualTestPictures/1(29).png)
![27](./ManualTestPictures/1 (31).png) ![27](./ManualTestPictures/1(31).png)
## 4.DELETE function ## 4.DELETE function
...@@ -159,21 +159,21 @@ Softwares/applications are required for running the test. ...@@ -159,21 +159,21 @@ Softwares/applications are required for running the test.
Test DELETE book data by id Test DELETE book data by id
- expect result: - expect result:
Successfully delete the book data Successfully delete the book data
![28](./ManualTestPictures/1 (34).png) ![28](./ManualTestPictures/1(34).png)
#### Test4.2 #### Test4.2
- test content: - test content:
Test DELETE author data by name Test DELETE author data by name
- expect result: - expect result:
Successfully delete the author data Successfully delete the author data
![29](./ManualTestPictures/1 (37).png) ![29](./ManualTestPictures/1(37).png)
#### Test4.3 #### Test4.3
- test content: - test content:
Test DELETE unexist data Test DELETE unexist data
- expect result: - expect result:
Request failed Request failed
![30](./ManualTestPictures/1 (38).png) ![30](./ManualTestPictures/1(38).png)
## 5.Responsive UI Test ## 5.Responsive UI Test
...@@ -182,13 +182,13 @@ Softwares/applications are required for running the test. ...@@ -182,13 +182,13 @@ Softwares/applications are required for running the test.
Test main page can fit mobile device Test main page can fit mobile device
- expect result: - expect result:
All elements can be fitted in screen of mobile-device size All elements can be fitted in screen of mobile-device size
![31](./ManualTestPictures/1 (40).png) ![31](./ManualTestPictures/1(40).png)
#### Test5.2 #### Test5.2
- test content: - test content:
Test data table can scroll Test data table can scroll
- expect result: - expect result:
Data table can be scroll to right and left when the screen's size is not large enough Data table can be scroll to right and left when the screen's size is not large enough
![32](./ManualTestPictures/1 (41).png) ![32](./ManualTestPictures/1(41).png)
![33](./ManualTestPictures/1 (42).png) ![33](./ManualTestPictures/1(42).png)
![34](./ManualTestPictures/1 (43).png) ![34](./ManualTestPictures/1(43).png)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment