Version 20, last updated by Wendy Mason at Feb 21 UTC
Test Workflows for v1-5
Under development
- Overview
- Versions Tested
- Guide to Using Supplied Selenium-IDE test scripts
- Test Workflows (Automated and Manual)
--------------------------------------------------------------------------------------------------
Overview
The following provides a list of considerations and test workflows (both automated and manual) for and during testing of the local configuration and functionality of FileSender prior to the 1.5 release. See Test Workflows for links to tests conducted for other releases.
These tests are based primarily on usage by Wendy Mason of the AARNet installation of FileSender. Contributions to these workflows also provided by Xander Jansen based on the SURFnet installation of FileSender.
Please note that these test workflows may not represent an exhaustive list of all possible user actions. Also, some aspects of these workflows may become no longer applicable as FileSender develops. If you find anything incorrect, please advise, or correct it yourself if you have access.
--------------------------------------------------------------------------------------------------
Versions Tested
| FileSender release | Site & installation type (source, .deb, .rpm) |
Testing status | Tests being conducted (e.g. workflow; installation and / or documentation review; field testing) |
Notes | HTML5 or Flash? |
OS | Browser | (To be) conducted by |
| 1.5.0-beta1 | https://filesender.surfnet.nl/preview/ |
Complete | All authenticated workflow tests (manual); issue voucher, ASCII file upload using voucher (manual) |
HTML5 | Mac OSX 10.6.x | Google Chrome | Jan Meijer | |
| 1.5.0-beta2 | https://filesender.surfnet.nl/preview/ |
Pending | All workflow tests (automated?) | HTML5 | Mac OSX 10.6.8 | Firefox (latest) | [[url:https://www.assembla.com/profile/wendy_mason | Wendy Mason] | |
| Flash |
tbc |
Wendy Mason |
||||||
See also Browser-compatibility-matrix.
--------------------------------------------------------------------------------------------------
Quick Guide to Using FileSender's (DRAFT!) Selenium-IDE test scripts
Prior to running each script, open it in a text editor and follow the "make the following substitutions prior to running this test" instructions contained in the top of the script, to adjust it to your test environment. Then using the latest version of Firefox (Selenium IDE is a Firefox plugin only):
- Go to http://seleniumhq.org/download/ and download and install the latest Selenium IDE browser plugin. You should then be able to see the plugin listed in Tools > Add-ons > Extensions.
- Open Selenium IDE from Tools > Selenium IDE.
- In the top left-hand corner, slide the bar across from "Fast" to "Slow", to reduce the rate at which the test will run, so that you can watch each step as it is executed (also some script timings may not work yet at the faster rate).
- In the top right-hand corner, click on the red circle icon to stop recording, which is on by default.
- In Options > Options > General tab, uncheck "Start recording immediately on open" and under "Default timeout value of recorded command in milliseconds [...]" change the value to 60000.
- In a new browser tab, logon to https://filesender.surfnet.nl/proto/index.php, and navigate to the applicable page (and popup in the case of Adding recipients) for the script you want to run
- In Selenium IDE, select the modified test script you want to run from File > Open.
- Click on the "Play current test case" button (second play button).
- Enjoy the show! Steps become highlighted in green as they pass or red if they fail. Failure of a major step will stop the script. Any errors should appear in red in the pane at the bottom of the Selenium-IDE window. (If the script fails immediately, try clicking on the FileSender tab then try again).
--------------------------------------------------------------------------------------------------
Note: the following is being updated from 1.1 test workflows, in particular the script steps
Steps being automated are contained in yellow boxes, and are being updated here from comments within the scripts as they are finished
Updated script descriptions are marked "UPDATED"
Browser Flash plugin, Javascript settings and HTML5 detection
- disable Flash plugin and restart browser
- load FileSender logon page, prompt should appear "Install Flash Player. This application requires Flash Player. To install Flash Player go to Adobe.com" with a link to "Get Flash"
- re-enable Flash plugin and restart browser
- disable Javascript in browser (e.g. Firefox on Mac under Preferences > Content)
- load FileSender logon page again, prompt should appear "JavaScript is turned off in your web browser. This application will not run without Javascript enabled in your web browser."
- re-enable Javascript (no need to restart browser)
- load FileSender logon page again
- verify whether "HTML5 [tick]" or "HTML5 X" icon is displayed in top right-hand corner, which indicates whether the browser (version) does support HTML5 or does not (Flash only)
--------------------------------------------------------------------------------------------------
-- Authenticated only --
Authentication - Logon
- verify that page cannot be reached by http - should be accessible via https only
- click on the About and Help links and verify content, before logging on to FileSender
- logon
- click on the About and Help links again and verify content again after logon
- verify that name is displayed in top left corner "Welcome [first name surname]"
UPDATED - Issue vouchers, single and multiple recipients separated by colon / semicolon
|
Script: Issue vouchers, single and multiple recipients separated by colon / semicolon
|
- verify that email notification with “Voucher” in the title is sent to both sender and recipient, and that text is correct
--------------------------------------------------------------------------------------------------
-- Authenticated and using a voucher --
For voucher uploads, ensure that: you are recognised as "Guest" for both uploads and downloads (even if you are logged on in another browser tab), and that "New Upload", "Voucher", "My Files" and "Log Off" buttons do *not* appear; use a recipient email addresses different from that of the authenticated voucher issuer and recipient(s), for testing bcc email to voucher issuer (bcc of each email is sent to voucher issuer in addition to voucher recipient and uploaded file recipients).
UPDATED - ASCII file upload, single recipient, default field contents, upload prompts
|
Script: ASCII file upload, single recipient, default field contents, upload prompts
|
- verify receipt of notification email to sender and recipient, and that the content matches the input
- click on the filename in the My Files table of uploaded ASCII file to download the file
- verify that file has downloaded and can be opened
- verify that an email is sent to both sender and recipient to whom link was sent, notifying that the above file has been downloaded
- click on link in email again to verify that the file can be downloaded more than once
UPDATED - ISO-8859-1 / non-ISO-8859-1 UTF8 file upload, recipients separated by comma / semi-colon, custom field contents
- utf8-iso8859-1-çßøþ-test.txt - ISO-8859-1 file, recipients separated by comma, custom “Subject” and “Message” fields with <tag> blåbærsyltetøy &"'></?\n'"
|
Script: ISO-8859-1 file upload, two recipients separated by comma, custom ISO-8859-1 field contents
|
- verify receipt of notification email to sender and both recipients, and that the content matches the input, with a different url for each recipient
- for voucher, verify that voucher has been deleted from Voucher list, and click on voucher link again to verify that voucher cannot be used a second time - text should appear "This file/voucher is no longer available"
- click on the link to the file in one of the emails generated by authenticated upload
- verify that you recognised as Guest (even if you are logged on in another browser tab), and that "New Upload", "Voucher", "My Files" and "Log Off" buttons do *not* appear
- verify that “To” is auto-populated by email addresses of selected recipient
- verify that “From” is auto-populated by email address of sender
- verify that all other fields match the input
- click on “Start Download” button and click on the "Save File" button - “Your file should start downloading” should appear
- verify that file has downloaded and can be opened, and that non-ASCII characters are preserved in filename
- verify that an email is sent to both sender and recipient to whom link was sent, notifying that the above file has been downloaded
- repeat using voucher
- utf8-latin-extended-a-šřŬŴ-test.txt - non-ISO-8859-1 UTF8 file, recipients separated by semi-colon), custom “Subject” and “Message” fields with <tag> žćčđš &"'></?\n'"
|
- verify receipt of notification email to sender and both recipients, and that the content matches the input, with a different url for each recipient
- for voucher, verify that voucher has been deleted from Voucher list, and click on voucher link again to verify that voucher cannot be used a second time - text should appear "This file/voucher is no longer available"
- click on the link to the file in one of the emails generated by authenticated upload
- verify that you recognised as Guest (even if you are logged on in another browser tab), and that "New Upload", "Voucher", "My Files" and "Log Off" buttons do *not* appear
- verify that “To” is auto-populated by email addresses of selected recipient
- verify that “From” is auto-populated by email address of sender
- verify that all other fields match the input
- click on “Start Download” button and click on the "Save File" button - “Your file should start downloading” should appear
- verify that file has downloaded and can be opened, and that non-ASCII characters are preserved in filename
- verify that an email is sent to both sender and recipient to whom link was sent, notifying that the above file has been downloaded
- repeat using voucher
Cancel and restart (Flash) or resume (HTML5) authenticated upload, single recipient, custom field contents
|
- verify receipt of notification email to sender and recipient, and that the content matches the input
- click on the link to file in email generated by restarted authenticated upload
- verify that you recognised as Guest (even if you are logged on in another browser tab), and that "New Upload", "Voucher", "My Files" and "Log Off" buttons do *not* appear
- verify that “To” is auto-populated by email addresses of recipient
- verify that “From” is auto-populated by email address of sender
- verify that all other fields match the input
- click on “Start Download” button and click on the "Save File" button - “Your file should start downloading” should appear
- verify that file has downloaded and can be opened
- compare MD5 / SHA-1 etc. hash for uploaded and downloaded file
- verify that an email is sent to both sender and recipient to whom link was sent, notifying that the above file has been downloaded
- repeat using voucher
Large file upload over 2 GB, single recipient, default field contents (HTML5 only)
|
Script: large file upload over 2 GB, single recipient, default field contents (HTML5 only)
|
- verify receipt of notification email to sender and recipient, and that the content matches the input
- click on the link in email generated by authenticated large file upload over 2 GB using HTML5
- verify that you recognised as Guest (even if you are logged on in another browser tab), and that "New Upload", "Voucher", "My Files" and "Log Off" buttons do *not* appear
- verify that “To” is auto-populated by recipient's email address
- verify that “From” is auto-populated by sender's email address
- verify that all other fields match the input
- click on “Start Download” button and click on the "Save File" button - “Your file should start downloading” should appear
- verify that file has downloaded and can be opened
- verify that an email is sent to both sender and recipient to whom link was sent, notifying that the above file has been downloaded
- compare MD5 / SHA-1 etc. hash for uploaded and downloaded file
- repeat using voucher
--------------------------------------------------------------------------------------------------
-- Authenticated only --
Re-Send New Email
- click on “My Files” button
- next to the uploaded ASCII file entry, click on “Re-Send Email” button on the left - a prompt should appear “Re-send. Are you sure you want to re-send this Email?”, click on “Cancel” button, view should return to table
- click on “Re-Send Email” button again, click on “OK” button, another prompt should appear “Email has been sent”
- verify receipt of email to both sender and recipient(s)
Add New Recipient, ASCII, single recipient, original field contents
- click on “My Files” button
- click on “Add New Recipient” button to the left of uploaded ASCII file entry - a prompt should appear “Add Recipient”:
|
Script: Add New Recipient, ASCII, single recipient, original field contents
|
- verify receipt of notification email to sender and recipient, and that the content matches the input
Add New Recipient, ISO-8859-1 / non-ISO-8859-1 UTF8, two recipients separated by comma / semi-colon, custom field contents
Repeat the following for these uploaded file entries:
- utf8-iso8859-1-çßøþ-test.txt - ISO-8859-1 file, recipients separated by comma, custom “Subject” and “Message” fields with <tag> blåbærsyltetøy &"'></?\n'"
- utf8-latin-extended-a-šřŬŴ-test.txt - non-ISO-8859-1 UTF8 file, recipients separated by semi-colon), custom “Subject” and “Message” fields with <tag> žćčđš &"'></?\n'"
- click on “My Files” button
- next to an uploaded file entry, click on “Add New Recipient” button on the left - a prompt should appear “Add Recipient”
|
Scripts: Add New Recipient, ISO-8859-1, two recipients separated by comma / semi-colon, custom field contents and Add New Recipient, non-ISO-8859-1 UTF8, two recipients separated by comma / semi-colon, custom field contents
|
- verify receipt of notification email to sender and recipients, and that the content matches the input
Delete File
- click on “My Files” button
- next to the entry for an authenticated upload file, click on “Delete” button on the right - a prompt should appear “Delete File. Are you sure?” - click on “Cancel” button, file should remain in table
- click on “Delete” button again and click on “OK” button - file should disappear from table
- verify that an email is sent to uploader and recipients advising that the file has been deleted
- verify that the file can no longer be accessed, message "This file / Voucher is no longer available"
- repeat for a file uploaded using a voucher and verify email advice
Delete Voucher
- click on "Vouchers" button
- next to the last voucher that was issued (which may now be the only voucher listed), click on “Delete” button on the right - a prompt should appear “Delete Voucher. Are you sure?” - click on “Cancel” button, voucher should remain in table
- click on “Delete” button again and click on “OK” button - voucher should disappear from table
- verify that deleted voucher is no longer listed in Voucher list
- verify whether an email is sent to voucher issuer and voucher recipient, advising that the voucher has been cancelled
- click on the email link pertaining to the deleted voucher again, to verify that it can no longer be used - text should appear "This voucher has been cancelled"
Authentication - Logoff
- before logging off, open a second FileSender tab in your browser, then logoff in one - if you refresh the tab in which you did not logoff, verify that you are logged out and are presented with the logon screen
- in the tab you logged out in, click on the “Back” button in your browser - verify that are you still logged out, and are presented with the logon screen.
--------------------------------------------------------------------------------------------------
My contributions to this project are as a Monash University user, beta-tester and release tester of the AARNet, the Australian National Research and Educational Network (NREN) and test installations of FileSender. I am not a developer of FileSender. -- Wendy Mason.
