HomeHelp Index Using HelpSearchContact

TETware GUI Help Pages


Return to TETware GUI Help Index
TETware Help Page

Creating a Scenario File




The TETware GUI adds the capability to create scenarios automatically by choosing the files to be included using a File Parser. A simple Scenario file is generated, without directives. It can be edited and saved, including saved as a different file name if the user wishes.

To Create a Scenario File the User can:

  • Use the icon on the menu bar .
  • Use the "Create Scenario File" menu item in the "Config" menu.
  • Right-click on the Test Run tree node at the 'No Scenario' point and click on the "Add Scenario File" menu item.
    (Please note that these items will only be available if there is NOT a scenario file already added to the Test Run.)

Whichever method is chosen, the Create Scenario file tab is displayed.



Including Test Cases in the Scenario File Creation (ADD)

There are two main ways of creating a Scenario file on this screen, either

  • Type in the name and path of the Test Case(s) or
  • Browse and select Test Case(s).

(Please note that, user need to have specified what the TET_ROOT is, under Local System: Environment TET_ROOT).

  • If the user chooses to type in into the field 'Include test cases', they will need to click on the Add button and the test case will be included in the scenario file being created.
  • If the user chooses to browse, then the Select Test(s) dialog box opens, which will allow the user to choose test cases by putting a check mark in the appropriate check box.
  • The user should then click on OK and the file(s) will be transferred to the Included Test Case(s) field. Alternately if the user clicks on Cancel  the Select Test(s) box is closed and they are returned to the Create Scenario File tab.

Removing Test Cases from Scenario File (REMOVE)

To remove any of the previously added Test cases from the Scenario file, the user must select them from the Included Test Case(s) field  and click "REMOVE"; the files will then be removed.

To remove multiple files you can hold the "Shift" or "Ctrl" key and select rows in the table using your mouse or the arrow key, if you hold "Shift" then you can select a contiguous list of files but if you hold "Ctrl", you can choose a non-continuous list of file. To remove the selected Test Cases press "REMOVE".



Resetting the whole file selection process (RESET)

If the user wants to reset the whole file selection, all they need to do is to press on the Reset button and all the Included Test Case(s) will disappear leaving the field empty.



Editing the selected file

If the user wishes to change some of the parameters on their selection they should highlight the file to be to be edited, and click on the 'Edit' button. This will move the file to the 'Include Test Case' field.  It can then be edited in this field.

After editing, the user will again need to press on the button ADD to include the edited file in the scenario being created.



Saving the Scenario File

After the user has browsed, edited, and added the selected test cases into the scenario file to be created.  They then need to click on the 'Create' button  to generate and save the Scenario file.

When the 'Create' button is pressed, a dialog box will appear to provide the option to save the scenario file into any drive and directory. It is recommended that you save it in either your TET_ROOT or TET_SUITE_ROOT directory.

After making your selection and naming the scenario file created it will come up with a confirmation dialogue box - Save Scenario File is presented.  Click on OK to close it.

A dialog box is then presented providing the option of adding the new Scenario file to the active Test Run tree.  If the user selects Yes the Scenario file is added to the tree and the generated Scenario, 'all' is selected. Selecting No or Cancel closes the dialog box and returns the user to the Create Scenario File tab.

If added the Scenario file may now be edited in the Scenario File Test screen and saved using the same name, or saved with an alternate file name.





©
Return to TETware GUI Help Index

Home Contacts Legal Copyright Corporate News

Copyright © The Open Group 1995-2006, All Rights Reserved