Acceptation Test

This document describes a product acceptation test. It is more detailed version of the document that is an attachment 2 of the project contract - the document is in Czech.

Conditions

Environment

The acceptation test should be run on primary installation of SimuTranslator server available at www.translator.simutrans.com. If that will not be possible for any reason, SimuTranslator server will be installed according to the installation guide on some other available machine meeting platform requirements.

Input Data

Simutrans object definitions for 128x128 are not freeware and completely accessible. Only subset of freely available object definitions will be used. The files can be accessed here: general objects, some residental houses, rail units. Used game text files can be found in text file package.

Starting User

Login described in installation guide will be used - login: root, password: root (on any machine).

Severity Level

Problems detected during the testing can have two severity levels. If action has no reactions defined, than inability to execute the action as described is assumed to have severity: failure.

  • Failure
    Fatal: application cannot pass acceptation test.
  • Skip
    Low: application can pass the test and run almost properly. Detected errors will be reported to developers and corrected in future during runtime.

Documentation

Any required documentation can be found in documentation section of SimuTranslator. Action descriptions from user's guide will be used as a reference for actions described in next section.

Protocol will be created either in electronic or paper form and sent back to SimuTranslator team.

Action Definitions

  1. Start Client
    Go to http://translator.simutrans.com or different address if different server is used.
  2. Login
    Log into the SimuTranslator as root.
  3. User Creation
    1 User with role admin will be created
    1 User with role tr1 will be created
  4. Log as newly created user
    Login as a user created with role admin
  5. Add Version
    Go to administration - versions, and create new version. If input data above should be used, version tile size must be 128. (Maintainer should be currently logged user.)
  6. Add Languages
    Go to administration - languages and add 2 languages: čeština - id: cz, coding: ISO 8859-2, English - id: en, coding: ASCII.
  7. Load Definitions
    Go to object management screen, choose object import and try to import files named in condition section.
    Reactions:
    • Everything is ok.
    • Bad file format - data files are in incorrect format, data are only partially loaded - severity: skip.
    • Problem, nothing is loaded - severity: failure.
  8. Test Loaded Data
    Go to Object Management - Object Browser and compare content of the database with the dat files.
    Reactions:
    • Everything is ok.
    • Problem - data loaded improperly, severity depends on the type of difference. Incorrect object names - severity: failure; missing images or missing attributes - severity: skip.
    • Problem - nothing is loaded - severity: failure.
  9. Load Translation Files
    If data were loaded properly, go to Upload Texts, get the cz.tab and en.tab files. Load those files for given language and version you created.
    Reactions:
    • Everything us ok - text files loaded.
    • Text files were loaded, but there was no conflict resolution phase, or the text for non-existing objects were loaded - severity: skip.
    • Problem, nothing is loaded - severity: failure.
  10. Load Existing Translations
    Try to load one of the files again. Watch the program behavior. Go to main menu - preferences - change the value in config2. Repeat the action.
    Reactions:
    • Everything is ok.
    • Data loaded without asking - severity: skip.
  11. Edit Translations 1
    Go to Edit Texts, try to list between translations and modify some of them.
    Reactions:
    • Everything is ok.
    • Nothing is saved - severity: failure.
  12. Edit Translations 2
    Logout, login as the second user you have created. Repeat step 11.
  13. Reserve Translations
    Go to Reserve Texts, try to reserve some texts, try to delete reservation from for some texts, try to modify reservation date.
    Reactions:
    • Everything is ok.
    • Translations are not reserved - severity: failure.
    • Listing does not behave properly (incorrect buttons, does not obey config3 attribute) - severity: skip.
  14. Output Reserved Translations
    Try to output translations you have reserved. Try to output them in both languages.
    Reactions:
    • Everything is ok.
    • Wrong translations are reported - severity: failure.
  15. Enter as Unknown User, Edit Suggestions
    Logout from SimuTranslator, enter as unlogged user. Go to Edit Text and save some suggestions.
    Reactions:
    • Everything is ok.
    • Suggestions not saved - severity: failure.
  16. Promote Suggestions 1
    Login again as admin, go to Edit Texts and try to accept (promote) suggestions you have entered. Suggestion should become a translation.
    Reactions:
    • Everything is ok.
    • Suggestion is not promoted - severity: failure.
    • Suggestion is promoted, but it is not removed from suggestion field - severity: skip.
  17. Promote Suggestions 2
    Repeat the step 16. for user of class tr1.
  18. Output Translation File
    Download Texts - download file for newly created version, languages: cz, en. Compare the files with the .tab file definition. If possible download and install the application Simutrans (128.simutrans.com), replace the files in directory pak128\text\ by newly downloaded files, run Simutrans and check if files are displayed correctly.
    How to check translation for goods objects: run the game, exit welcome screen by click, select language - "česky" or "English", click load saved game, click cancel. Now you are in game screen. Press "shift+G" to invoke goods list. Check if the texts here match the texts in SimuTranslator.
    Reactions:
    • Everything ok.
    • Text not displayed at all - severity: failure.
    • Text displayed improperly, wrong characters - severity: failure.

 
   
In case of any questions, please contact Tomáš Kubeš.

 
   
   
   
 



SimuTranslator: ©2004-2005 SimuTranslator Team
Documentation: ©2004-2005 Tomáš Kubeš
SimuTranslator documentation home