« Previous - Version 4/43 (diff) - Next » - Current version
Paul Holland, 02/22/2012 10:20 pm
Adding upload tests - in progress


Basic functional Test Cases based on the top menu items

FOSSology home page

Purpose To check that the basic user functionality of the home page works
Dependencies A working server to test on
Step Action Expected Results
1. Open FOSSology UI (http://<server>/repo/) FOSSology loads with a "Welcome" message; the text of the page makes sense and doesn't contain typos.
2. Select "Home" menu The same FOSSology page re-loads successfully. There are still only a limited number of menu options.
3. Select "Help" menu Several sub-menus appear and are selectable
4. Select "Help -> About" menu Text explaining FOSSology is displayed, it makes sense, and there are no typos.
5. Select "Help -> Documentation" menu The page for User Documentation is displayed, it makes sense, and there are no typos.
6. Select "Help -> Getting Started" menu A page explaining the overview of FOSSology is displayed, it makes sense, and there are no typos.
7. Select "Help -> Debug" menu Several sub-menus appear and are selectable
8. Select "Help -> Debug -> Debug Menus" menu A page is displayed explaining the functionality, it makes sense, and there are no typos. There is a button to Enable Full Debugging.
9. Select the "Enable" button The page is re-displayed and full debugging enabled. A button to Disable Full Debugging is now displayed.
10. Select the "Disable" button The page is re-displayed and full debugging disabled. A button to Enable Full Debugging is again displayed.
11. Select "Help -> Debug -> Global Variables" menu A page is displayed with the global variables, it makes sense, and there are no typos.
12. Select the login link. Enter your username and password and select the login button. The system logs you in and many more menu items now appear.

Upload

Purpose To test the upload functionality via various mechanisms
Dependencies A working server to test on
Step Action Expected Results
1. Select "Upload -> Instructions" menu A page is displayed with upload instructions, it makes sense, all the links work, and there are no typos.
2. Select "Upload -> From File" menu and click upload button The page does not do anything since there was nothing entered.
3. Click on various checkboxes and click the upload button The page does not do anything since there was nothing entered.
4. Select the browse button and select a file; click the upload button The page is re-loaded and a message indicating your file was uploaded is displayed. Note the upload number.
5. Select the browse button and select a different file; select various checkboxes and click the upload button The page is re-loaded and a message indicating your file was uploaded is displayed. Note the upload number.
6. Select "Upload -> From Server" menu and click upload button The page does not do anything since there was nothing entered.
7. Click on various checkboxes and click the upload button The page does not do anything since there was nothing entered.
8. TBD - how do we get something to the server The page is re-loaded and a message indicating your file was uploaded is displayed. Note the upload number.
9. TBD - do it again The page is re-loaded and a message indicating your file was uploaded is displayed. Note the upload number.
10. TBD - try different alphabetized options
11.

Jobs

Purpose
Dependencies
Step Action Expected Results
1.
2.
3.

Search

Purpose
Dependencies
Step Action Expected Results
1.
2.
3.

Browse

Purpose
Dependencies
Step Action Expected Results
1.
2.
3.

Organize

Purpose
Dependencies
Step Action Expected Results
1.
2.
3.

Admin

Purpose
Dependencies
Step Action Expected Results
1.
2.
3.