This tool is used for semiautomatic generation of STF 475 tests.

Requirements:
1. .NET 4.0
2. TestCast 6.7.4.7 or higher

To install:
1. Compile macro processing tool:
   a. Create a directory for the tool
   b. Get the tool source code from svn (trunk/tools/TestMacroProcessor)
   c. Compile the tool into executable jar file and place this file into the directory
   d. Copy the config.properties and macro directory to the tool directory
   e. Copy macro-processor.cmd to the tool directory

2. Get LoopbackXmlTrap from svn (trunk/tools/TestCastSupport/LoopbackXmlTrap)

3. Prepare Stf475TestGenerator:
   a. Create a directory for the tool
   b. Copy Stf475TestGenerator.exe and Stf475TestGenerator.exe.config to the tool directory
   c. Update the paths in Stf475TestGenerator.exe.config:
      - TestCastDir: directory where TestCast is installed
      - MacroProcDir: directory of macro processing tool (created in point 1)
      - TempDir: directory for storing temporary files
      - LoopbackDir: directory of the LoopbackXmlTrap (see point 2)

To use:
1. Launch Stf475TestGenerator.exe
2. Browse to the chapter folder of insert the path to the text box
3. Click on "Generate Files"
4. The tool will automatically create the test case folder, TTCN-3 template and XSD template.
   Then it will start TestCast and open the generated files for editing.
   The test case name is automatically inserted to text box in the tool for later use.
5. Once the editing is finished (XSD and TTCN-3 template are ready), the user should close 
   TestCast and click on "Execute"
6. The tool will resolve the macro and create an executable TTCN-3 file. Then it will use
   TestCast command line tool to run the test. During the test, the content of produced 
   XML message is saved automatically and copied to the test case folder and verified
   against the schema. Because the file will be used as the reference XML file the user
   should check the content manually as well, especially if the schema supports optional
   content.
   