Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IS&T web applications include many complex browser-based user interfaces created with JavaScript, HTML and CSS.  The functional/regression test tool we currently use, QTP, only works in Internet ExplorerWindows, so it does not test IS&T’s set of supported web browsers. Therefore QTP cannot test individual browser issues.  IS&T needs to evaluate it's web applications against new web browsers and changes to the IS&T web application infrastructure (new database, new application server, new VM, etc.). Therefore we convened a cross-directorate team to evaluate functional web testing tools to see if any would fit IS&T's needs.

...

Roll out Selenium to web developers with the following requirements and caveats:

  1. No Selelenium does not support for the current version of Safari , may be restored in future.
  2. Hardware requirements: need to be able to get to the all the OS/brower combos
  3. (5) that ships with OSX 10.6 and 10.7. See http://code.google.com/p/selenium/issues/detail?id=573Image Added.
  4. We will need the following dedicated hardware set up to run Selenium tests for OSX 10.6 with Firefox, 0SX 10.7 with Firefox, Windows 7 with IE and Firefox, and Linux with Firefox.
  5. In order to be successful, IS&T will need to task someone at least part time to be the Selenium product evangelist. This person will create documentation, build some baseline tests, Need someone who is the product evangelist, creates the docs, builds some baseline tests, shows handle problem items (type versus type keys), and trains developers and help desk
  6. Need dedicated hardware/software and test users (Touchstone and certificates)
  7. Need someone to coordinate and maintain the environment
  8. Management buyin and continued support
  9. how to use Selenium, how to create proper tests and how to run their tests on the IS&T hardware.
  10. We will need to create test users in the various systems who have Touchstone and web certificates.
  11. We will need someone tasked with coordinating and maintaining the testing hardware and software. This could be the Selenium evangelist or someone else.
  12. In order for this project to be successful, it will need management buyin and continued support to create and maintain the above.
  13. To make this happen, we would need to create a project with A project and a project plan and project manager.

What we did:

  1. We convened a committee with representation from the Help Desk (Lisa Robinson), the Quality Assurance Team (Sean Velury and Don Flanders), Web Services (Michael Berger and Ed Orsini), Stellar (Judith McJohn) Student Systems (Felicia Young), and SWRT (Alex Kozlov) and began studying the current web application testing landscape.
  2. We looked at a list of approximately 82 different automated Test Tools (http://www.softwareqatest.com/qatweb1.html#FUNC) and choose 6 worthy of further evaluation, based on the following criteria:
    1. Support for all MIT operating systems
    2. Support for all MIT browsers
    3. Ability to playback tests in a browser (instead of testing via browser emulation)
    4. Ability to record tests (to make test creation easier)
    5. Some sort of gui (versus a code only framework)
    6. Decent documentation
    7. Some sort of name in the industry
  3. We created a test plan to evaluate these Test Tools (view the test plan here). We created the test plan based on an existing administrative web application called APR Hires. The test plan involved data input of text, numbers, dates and dollar amounts. It included testing AJAX calls, JavaScript Validation of user input, insertion of new DOM elements. The test plan contains positive test assertions (checks in the software to confirm that the expected result occurred) for most user input. The test plan did not contain negative assertions (tests that unexpected things did not happen).
  4. We broke up into groups of 1 to 3 users to try each of the 6 Test Tools.
  5. We modified the Test Plan as needed.
  6. We found the following:

criteria

AppPerfect

EggPlant

FuncUnit

QTP 11

Selenium

Squish

adequate documentation  (1 to 10 scale)

3

-2

5

6.5

6.5

4

longevity/viability of vendor (1 to 10 scale)

 

8/unknown

5yrs/

20yrs/10

9yrs/9

unknown

recorded test plan

yes

yes

no

yes

yes

yes

ran test plan in IE 9/Win

no

yes

did not test because it could not record

yes

yes  

did not test

ran test plan in Firefox 8/Win

no

yes

did not test because it could not record

no

yes  

did not test

ran test plan in Firefox 8/Mac

no

did not test

did not test because it could not record

no

yes
 

did not test

ran test plan in Safari 5/Mac

no

did not test

did not test because it could not record

no

no

no sort of

Lessons Learned

Record and play is a myth; it turned out that programming was needed with every tool to be able to reproduce the test case.

...