Creating a Scenario File




TETware professional 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:

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


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


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.





© The Open Group 1995-2002