Version 32, last updated by Wendy Mason at 30 Mar 03:00 UTC

Automation of FileSender client side workflow tests is in progress using Selenium. This is occurring in two (probably overlapping) phases listed below. See Automated Client Side Testing milestone for related ticket progress, and Test Workflows for v1-5 for the latest test descriptions for the FileSender 1.5 release.

--------------------------------------------------------------------------------------------------

Phase 1: Selenium-IDE - in preparation for FileSender 1.5 release

See #507 for details.

Quick Guide to Using Selenium-IDE test scripts for FileSender releases

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):

  1. 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.
  2. Open Selenium IDE from Tools >Selenium IDE.
  3. 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).
  4. In the top right-hand corner, click on the red circle icon to stop recording, which is on by default.
  5. 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.
  6. In a new browser tab, logon to the FileSender test installation and navigate to the applicable page (and popup in the case of Adding recipients) for the script you want to run
  7. In Selenium IDE, select the modified test script you want to run from File > Open.
  8. Click on the "Play current test case" button (second play button).
  9. Enjoy the show! Selenium-IDE highlights steps 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 in Firefox then try again).

--------------------------------------------------------------------------------------------------

Phase 2: Selenium Server - post FileSender 1.5 release

Convert and expand Selenium-IDE test scripts for automated running on a server. See other tickets under the Automated Client Side Testing milestone for further details.