SunRav WEB Class :: Creating XML files

To add a test to the database, you should create the test file in the XML format. This can be done using the tMaker program, which is a part of the SunRav WEB Class package.


To create an XML test, you should:

  1. Create the test using tMaker.
  2. Prepare the XML file.
  3. Upload it to the web server to add it to the database.


There are two ways to upload the XML file to the web server. This can be done either manually or automatically.


Manually.

  1. Open the test in tMaker.
  2. Press Ctrl+E
  3. In the list of file types, select XML file.
  4. Enter the test filename. It should be specified using lowercase Latin characters.
  5. Enter the unique test identifier. The name of this identifier will be used to create a folder where multimedia files (images, audio, video) will be stored.
  6. Copy the created XML file to the /servername.com/tests/system/tests/ folder on the web server.
  7. In the folder on your computer where the XML file is stored, the media folder will be created. In this folder there will be a folder named according to the name you entered at step 5. Copy the entire folder to the /servername.com/tests/media/ folder on your web server. Steps 6 and 7 can be performed using special software – an FTP client.


Automatic

  1. Run tMaker.
  2. Configure FTP access to your web server. To do this:
    1. Press F2.
    2. Switch to the FTP tab.
    3. Specify the web server connection parameters. Consult your system administrator or you hosting provider about these parameters.
    4. In the Server folder field specify the path to the folder where you installed SunRav WEB Class.
    5. Press OK
  3. Open the test.
  4. Press Ctrl+W.
  5. Enter the unique test identifier. A folder with this name will be created to store multimedia files (images, audio, video).
  6. All necessary files will be copied to the web server.

Note: Step 2 must be completed only once.