REVISIONS HISTORY Revision No. Date of Issue Author Description 1. 19.08.2014 <Tester Name> Functional testing 2. 03.09.2014 <Tester Name> Updated pre steps Browser Build version Google Chrome Mozilla Firefox Internet Explorer 8 Internet Explorer 11 FUNCTIONAL TEST CASES
№ Steps Expected results Test results Open component. Chrome Firefox IE 8 IE 11 Pre-steps: Run Ajax File Browser from Visual Studio. 1. Uploading by clicking on the button on toolbar. 1.1. Click on “Upload” button on toolbar. Select a file “Open” dialog and push “Open” button. Selected file is uploaded and has same size as original local file. 1.2. Click on “Upload Folder” on toolbar. Select a folder on “Browse folder” dialog and push “OK” button. Selected folder is uploaded and has same size as original local folder. 2. Uploading by using a context menu. 2.1. Right click on any folder on the list of files and folders. Select “Upload Files” from opened context menu. Select a file on “Open” dialog and push “Open” button. Selected file is uploaded and has same size as original local file. 2.2. Right click on any folder on the list of files and folders. Select “Upload Folder” from opened context menu. Select a folder on “Browse folder” dialog and push “OK” button. Selected folder is uploaded and has same size as original local folder.
2.3. Upload “Test.doc” file on AjaxBrowser using “Upload” button on toolbar. Open locally “Test.doc” and make some changes to it, and save this changes. Right click on “Test.doc” file on list of files AjaxBrowser. Select “Update File” from context menu. And choose changed local copy of file. Push “Open” on “Open” dialog Click “Yes” on “Overwrite Confirmation” dialog. Open changed “Test.doc” in Ajax File Browser web page. “Test.doc” file is updated and has same size as original local file. 3. Uploading using “Browse” button on “Upload Progress Panel”. 3.1. Click on “Browse” button on “Upload Progress Panel”. Select a file on “Open” dialog and push “Open” button. Selected file is uploaded and has same size as original local file. 4. Uploading by using drag & drop. 4.1. Select a file on your file system. Drop selected file to list of files and folders of Ajax File Browser on web browser. Selected file is uploaded and has same size as original local file. Not ask for rename or exist file 4.2. Select a folder on your file system. Drop selected folder to list of files and folders of Ajax File Browser on web browser. Selected folder is uploaded and has same size as original local folder. Selected folder is uploaded and has same size as original local folder 5. Uploading if file/folder already exist.
5.1. Upload “Test.doc” file on “Home” page of Ajax File Browser. Create another “Test.doc” file and try to upload it using ”Upload” button on toolbar. Click “Yes” on “Overwrite Confirm” dialog. Open uploaded file from the list on “Ajax Browser”. New copy of file is uploaded. Compare size of local file with new copy that has been should be the same. 5.2. Upload “Test.doc” file on “Home” page of Ajax File Browser using “Upload” button on toolbar. Create another “Test.doc” file and try to upload it using. ”Upload” button on toolbar. Click “No” on “Overwrite Confirm” dialog. Open “Test.doc” from list of files on “Ajax Browser”. “Test.doc” file isn’t changed. Compare size of local "Test.doc" file with file on the list of AjaxBrowser - they should be the same. 5.3. Upload “Test.doc” file on “Home” page of Ajax File Browser using “Upload” button on toolbar. Create another “Test.doc” file and try to upload it using ”Upload” button on toolbar. Click “Cancel” on “Overwrite Confirm” dialog. Open “Test.doc” from list of files on “Ajax Browser”. “Test.doc” file isn’t changed. Compare size of local "Test.doc" file with file on the list of AjaxBrowser - they should be the same. 5.4. Upload or create “Test” folder on list of files and folders using “Upload folder” button on toolbar. Create “Test” folder on your local drive. Click on “Upload Folder” on toolbar of “Ajax Browser” page. Select previously created locally “Test” folder and click “Ok” button on “Browse folder” dialog. Click “Yes” on “Overwrite Confirm” dialog. Look at “Test” folder on list of files and folders. “Test” folder is overwritten by new copy. To verify it look at “Date Modified” of that folder and verify that it is changed after overwriting.
5.5. Upload several files using "Upload" button on toolbar. Select same files that just has been uploaded locally on your file system. Drop selected files to list of files on Ajax File Browser. Click "Yes to All" on "Overwrite Confirm" dialog. Check all files that should be overwritten. All files should be changed. Check "Date Modified" of every file and verify that time of modifying on all files is changed. 5.6. Upload several files using "Upload" button on toolbar. Select same files that just has been uploaded locally on your file system. Drop selected files to list of files on Ajax File Browser. Click "Yes" on every "Overwrite Confirm" dialog. "Overwrite Confirm" dialog appears for every file overwriting. All files should be changed. Check "Date Modified" of every file and verify that time of modifying on all files is changed. 5.7. Upload several files using "Upload" button on toolbar. Select same files that just has been uploaded locally on your file system. Drop selected files to list of files on Ajax File Browser. Click "No to All" on "Overwrite Confirm" dialog. Check all files that should be overwritten. All files shouldn't be changed. Check "Date Modified" of every file and verify that time of modifying on all files isn't changed. 6. Uploading of few files/folders. 6.1. Click on “Upload” button on toolbar. Select few files (by holding “Ctrl” button) on “Open” dialog and push “Open” button. All selected files are uploaded. Compare sizes of uploaded files with original local copies and verify that all local files are the same size as uploaded copies. 6.2. Select few folders on your file system. Drop selected folders to list of files and folders of Ajax File Browser on web browser. All selected folders are uploaded. Compare sizes of uploaded files with original local copies and verify that all local files are the same size as uploaded copies. 7. Uploading to folder.
7.1. Create a folder “Test” on list of files using “New folder” button on toolbar. Open “Test” folder. Click on “Upload” button on toolbar. Select a file or create new one on “Open” dialog and push “Open” button. Selected file is uploaded to opened folder and size of this file is same as size of original local copy. 7.2. Create a folder “Test” on list of files using “New folder” button on toolbar. Open “Test” folder. Create locally folder “Test1” and copy on it some files. Click on “Upload folder” button on toolbar. Select a folder “Test1” on “Browse folder” dialog and push “Ok” button. Selected folder is uploaded to opened folder. Open uploaded folder and verify that all copied locally to folder files are present on uploaded folder. 7.3. Create a folder “Test” on list of files using “New folder” button on toolbar. Open “Test” folder. Click on “Upload” button on toolbar. Select a file bigger than 2Gb on “Open” dialog and push “Open” button. Selected file is uploaded to opened folder and size of this file is same as size of original local copy. 8. Uploading of large file/folder. 8.1. Click on “Upload” button on toolbar. Select a large file (file should be bigger than 2Gb) on “Open” dialog and push “Open” button. Selected file is uploaded. Compare sizes of uploaded file with original local copy and verify that local file is the same size as uploaded copy. 8.2. Click on “Upload” button on toolbar. Select few large files (every file should be bigger than 2Gb) on “Open” dialog and push “Open” button. All selected files are uploaded. Compare sizes of uploaded files with original local copies and verify that all local files are the same size as uploaded copies.
8.3. Click on “Upload Folder” on toolbar. Select big folder (folder with size bigger than 2Gb) on “Browse folder” dialog and push “OK” button. Selected folder is uploaded. Compare sizes of uploaded file with original local copy and verify that local folder is the same size as uploaded folder. 8.4. Select few folders (every folder should have bigger than 2Gb size)on your file system. Drop selected folders to list of files and folders of Ajax File Browser on web browser. All selected folders are uploaded. Compare sizes of uploaded files with original local copies and verify that all local files are the same size as uploaded copies. 9. Uploading with using buttons of “Uploading Progress Panel”. 9.1. Click on “Upload” button on toolbar. Select a large file (file should be bigger than 2Gb) on “Open” dialog and push “Open” button. Right click on opened file on “Uploading Progress Panel” Choose “Pause” from context menu. Right click on opened file on “Uploading Progress Panel” again. Choose “Resume” from context menu. Install “HashTab” application on your computer and compare checksum of uploaded file with original local file. Uploading process is paused. After resuming file is uploaded correctly. Compare size of uploaded file with local copy and verify that they are the same. After comparing of checksum result should be correct. 9.2. Click on “Upload” button on toolbar. Select a large file (file should be bigger than 2Gb) on “Open” dialog and push “Open” button. Right click on opened file on “Uploading Progress Panel”. Choose “Cancel” from context menu. Uploading process is cancelled. File didn’t appear on list of files and folders of AjaxBrowser. 9.3. Click on “Upload” button on toolbar. Select few large files (files should be bigger than 2Gb) on “Open” dialog and push “Open” button. Uploading process is paused. After resuming all file are uploaded correctly. Compare sizes of uploaded files with local
Select all files and right click on them on “Uploading Progress Panel”. Choose “Pause” from context menu. Right click on all opened files on “Uploading Progress Panel” again. Choose “Resume” from context menu. copies and verify that they are the same. 9.4. Click on “Upload” button on toolbar. Select few large files (files should be bigger than 2Gb) on “Open” dialog and push “Open” button. Select all files and right click on them on “Uploading Progress Panel”. Choose “Cancel” from context menu. Uploading process is cancelled. File didn’t appear on list of files and folders of AjaxBrowser. 9.5. Click on “Upload” button on toolbar. Select few large files (files should be bigger than 2Gb) on “Open” dialog and push “Open” button. Refresh web page of Ajax File Browser on web browser (by pushing on “Refresh” on browser or “F5” on keyboard). Right click on any file on “Uploading Process Panel”. Select “Resume” from context menu. Choose any of opened on second step file again on “Open” dialog. All uploading process should be paused after refreshing of Ajax File Browser page. To resume uploading process it is needed to choose file again on “Open” dialog. After reopening of file uploading should be continued from same percentage on which it was paused-not again from the beginning. Verify that uploaded file is same size as original local file. 9.6. Click on “Upload” button on toolbar. Select few large files (files should be bigger than 2Gb) on “Open” dialog and push “Open” button. Refresh web page of Ajax File Browser on web browser (by pushing on “Refresh” on browser or “F5” on keyboard). Right click on any file on “Uploading Process Panel”. Select “Resume” from context menu. All uploading process should be paused after refreshing of Ajax File Browser page. To resume uploading process it is needed to choose file again on “Open” dialog. After reopening of file message “The following file(s) was modified…The uploading will start from the beginning of each file.” appears.
Choose any other than on step 2 file on “Open” dialog. Click “Close” on warning message dialog. After closing of warning message dialog uploading of the file should start from the beginning. Verify that file after uploading is same size as local copy of this file. 10. Checking on AjaxBrowser which was started by using "ASP.NET WebDAV Server Application Wizard" on Visual Studio. 10.1. Click on “Upload” button on toolbar. Select a large file (file should be bigger than 2Gb) on “Open” dialog and push “Open” button. Compare checksum of uploaded file with by using original “HashTab” tab on properties of uploaded and local files. Selected file is uploaded and has same size as original local file. After comparing of checksum result should be correct. 10.2. Click on “Upload” button on toolbar. Select few large files (every file should be bigger than 2Gb) on “Open” dialog and push “Open” button. Selected files are uploaded and have same size as original local file. 10.3. Click on “Upload Folder” on toolbar. Select big folder (folder with size bigger than 2Gb) on “Browse folder” dialog and push “OK” button. Selected folder is uploaded and has same size as original local file. 10.4. Select few folders (every folder should have bigger than 2Gb size)on your file system. Drop selected folders to list of files and folders of Ajax File Browser on web browser. All selected folders are uploaded. Compare sizes of uploaded files with original local copies and verify that all local files are the same size as uploaded copies. 11. Checking on AjaxBrowser which was started by using "Add WebDAV Server Implementation Wizard" on Visual Studio.
11.1. Click on “Upload” button on toolbar. Select a large file (file should be bigger than 2Gb) on “Open” dialog and push “Open” button. Compare checksum of uploaded file with by using original “HashTab” tab on properties of uploaded and local files. Selected file is uploaded and has same size as original local file. After comparing of checksum result should be correct. 11.2. Click on “Upload” button on toolbar. Select few large files (every file should be bigger than 2Gb) on “Open” dialog and push “Open” button. Selected files are uploaded and have same size as original local file. 11.3. Click on “Upload Folder” on toolbar. Select big folder (folder with size bigger than 2Gb) on “Browse folder” dialog and push “OK” button. Selected folder is uploaded and has same size as original local file. 11.4. Select few folders (every folder should have bigger than 2Gb size)on your file system. Drop selected folders to list of files and folders of Ajax File Browser on web browser. All selected folders are uploaded. Compare sizes of uploaded files with original local copies and verify that all local files are the same size as uploaded copies. 12. Checking on AjaxBrowser which was started by using "HttpListener WebDAV Server Application Wizard" on Visual Studio. 12.1. Click on “Upload” button on toolbar. Select a large file (file should be bigger than 2Gb) on “Open” dialog and push “Open” button. Compare checksum of uploaded file with by using original “HashTab” tab on properties of uploaded and local files. Selected file is uploaded and has same size as original local file. After comparing of checksum result should be correct. 12.2. Click on “Upload” button on toolbar. Select few large files (every file should be bigger than 2Gb) on “Open” dialog and push “Open” button. Selected files are uploaded and have same size as original local file.
12.3. Click on “Upload Folder” on toolbar. Select big folder (folder with size bigger than 2Gb) on “Browse folder” dialog and push “OK” button. Selected folder is uploaded and has same size as original local file. 12.4. Select few folders (every folder should have bigger than 2Gb size)on your file system. Drop selected folders to list of files and folders of Ajax File Browser on web browser. All selected folders are uploaded. Compare sizes of uploaded files with original local copies and verify that all local files are the same size as uploaded copies. 13. Negative tests. 13.1. Uploading with turned off Internet connection: Load previously web page “www.ajaxbrowser.com” on web browser. Click on “Upload” button on toolbar. Select a file or create new one on “Open” dialog and push “Open” button. Uploading isn’t starting (Error appears “Upload Progress Panel” and 10 seconds timeout before trying to reconnect). After turning on internet connection uploading restarts and finishes correct. 13.2. Turning off internet connection during uploading of the file: Click on “Upload” button on toolbar. Select a large file (file with size bigger than 2Gb) on “Open” dialog and push “Open” button. Turn off internet connection on computer. Uploading is pause on “Upload Progress Panel” and will start as soon as you turn on internet connection on your machine.