Team 51 MusicBox
Homework 3

Group 1
Marc Gagnon
Steven Ostrowski
-----------------------------------------------------------

AUTOMATED SYSTEM TESTS WITH FIT
 
Zip file contents
- Page.java  (\FIT\Release\Source\eg)
- MBSystemTest3.htm and MBSystemTest4.htm (FIT\Release\Documents)
- myresults3.html and myresults4.html (Results from Reports)
 
NOTES:

1 - Running these tests requires a live URL; therefore, java .class files were not provided.  However, we can assist TA in re-running these tests if required.

2 - The include Page.java file is an expanded of the web navigation fixture available from the FIT system.  The file now includes various methods to mimic a user entering values in fields on the form.  The methods are called by associating them with the ENTER command in the input test files (MBSystemTest3.htm and MBSystemTest4.htm).  Additionally, two methods were provided to mimic a user performing a submit action when pressing a button on the form.  These methods are called by associating them with the PRESS command in the input test files.

3 - Since these tests are intended to be re-run automatically, it is important that the input files no require maintenance between test runs.  Some of the tests require that unique e-mails be used, and this precludes the use of static values in the input files.  To work around this problem, we have developed a tag mechanism of which the Page fixture is aware. When reading e-mail input values, if the methods encounter a String parameter of the form [EMAILx] it will interpret this as meaning that a unique e-mail should be automatically generated. Each unique tag and its associated e-mail is maintained for the duration of the test to allow it to be referenced at various points during the test.