Testsuit Name Website sanity checks Estimated run time 2h Note

AboutMenuTest.php

Purpose check the about page valid
Dependencies install fossology sucessfully
Step Action Expected Results
1. visite the home page(url is like http://hostname/repo)
2. click on [Help]-->[About] menu to go to the page 'About FOSSology' You can see the fossology version(looks like FOSSology version 2.0.0-devel (code revision 5524M)) and copyright provision(looks like Copyright (C) 2007-2011 Hewlett-Packard Development Company, L.P. ....................

OrgFoldersMenuTest-Create.php

OrgFoldersMenuTest-Move.php

The test cases above are tested in http://www.fossology.org/projects/fossology/wiki/Common_UI_Test_Cases#FolderListUploads

OrgFoldersMenuTest-Delete.php

OrgFoldersMenuTest-Edit.php

Purpose Folder organization testing
Dependencies install fossology sucessfully; start the scheduler
Step Action Expected Results
1. Click on [Organize]-->[Folders]-->[Create] menu to create one Folder 'test_folder', folder description as 'test folder description' click on [Browse] menu to go to 'Folder Navigation' page, you should see the one folder 'test_folder' you just created
2. click on [Organize]-->[Folders]-->[Edit Properties] menue to go to the 'Edit Folder Properties' page; selet the folder 'test_folder'; change the folder name to 'folder_test' and folder description to 'folder test description'; click on 'Edit!' link on the bottom of this page click on [Browse] menu, you will find that the 'test_folder' is changed to 'folder_test'; click on [Organize]-->[Folders]-->[Edit Properties] to go to the 'Edit Folder Properties' page, you will find that the description of 'folder_test' is 'folder test description'
3. click on [Organize]-->[Folders]-->[Delete Folder] menu to delete one Folder, selet the folder 'folder_test';click on the link 'Delete!' wait for one while; click on [Browse] menu to go to the 'Folder Navigation' page, you will find that the folder 'folder_test' is missing

OrgUploadsMenuTest-Delete.php

OrgUploadsMenuTest-Move.php

Purpose upload organization testing
Dependencies install fossology sucessfully; create one Folder 'test_folder', how to create one folder, you can refer to the test case http://www.fossology.org/projects/fossology/wiki/Website_sanity_checks/#OrgFoldersMenuTest-Createphp
Step Action Expected Results
1. click on [Upload]-->[From URL] menu to go to the page 'upload from URL'
2. enter the url you want to upload; set the upload name as 'test_file' and set the upload description as 'upload test description', select the upload folder as 'test_folder'; click on the link 'Upload!' on the bottom left You will get one upload report on this page, it looks like The upload test_file has been scheduled. It is upload #upload_id(this is a link).
3. click on the link #upload_id; go to the page 'Show Jobs', wait one while, all the job's status is 'Completed'
4. click on the [Organize]-->[Uploads]-->[Edit Properties] menu to go to the 'Edit Uploaded File Properties' page; change the upload name of the upload you just upload to 'test_file_file', and change the upload description of the upload you just upload to 'test upload description'; click on link 'Edit!' click on [Browse] menu to go to the 'Browse' page, you will find the upload name and upload description of the upload you just upload are changed.
5. click on the [Organize]-->[Uploads]-->[Move] menu to go to the page 'Move upload to different folder' you are on the page 'Move upload to different folder', #1179
6. move the upload 'test_file_file' from folder 'test_foler' to folder 'Software Repository'; click on the link 'Move!' click on the menu [Browse], you will find that the file 'test_file_file'is moved from 'test_folder' to 'Software Repository' #1185
7. click on the menu [Organize]-->[Uploads]-->[Delete Upload File] to go to the 'Delete Uploaded File' page; select the upload 'test_file_file' to delete click on the menu [Browse], you will find 'test_file_file' is missing

SearchMenuTest.php

Purpose check the about page valid
Dependencies install fossology sucessfully; know how to upload(how to upload, you can refer to test case http://www.fossology.org/projects/fossology/wiki/Website_sanity_checks/#OrgUploadsMenuTest-Movephp
Step Action Expected Results
1. upload one package fossology-1.1.0-1.fc10.i386.rpm
2. click on the menu [Search], just enter one file name search-file% you can get a list of files which have a prefix 'search-file'
3. click on the menu [Search], just enter one file name plugins you can get a list of directory which are plugins
4. you can set other conditions yourself, then search it should get what you want to get

UploadFileMenuTest.php

UploadOne-ShotMenuTest.php

UploadServerMenuTest.php

UploadUrlMenuTest.php

These test scripts are tested in http://www.fossology.org/projects/fossology/wiki/20-specific_Test_Suite#Functionality

UploadInstructMenuTest.php

Purpose check the upload instruction work fine
Dependencies install fossology sucessfully
Step Action Expected Results
1. click on [Upload]-->[Instructions] menu to go to the 'Upload Instructions' page
2. click the link 'Upload File' go to the 'upload from file' page
3. click the link 'Upload from URL' go to the 'upload from url' page
4. click the link 'Upload from Server' go to the 'upload from server' page