To execute a Test Run, there MUST have a scenario file added to the Test Run. To add a scenario file the User can:
Please note that these menu items will only be available if there is NOT a scenario file already added to the Test Run.
Whichever method is chosen, a file selection dialog box will be displayed. There are two file filters provided to allow the User to find and select scenario files quickly, they are:
scen.* This will filter for all files STARTING with "scen".
*.scn This will filter for all files ENDING with ".scn".
Once a scenario file has been selected by clicking "Open", a check will be made to ensure that the chosen file is not a directory and that it exists, if those criteria are NOT met then the Scenario file is not valid dialog box will be displayed:
If the chosen file is valid (i.e. it exists and is a file) then it will be parsed by the Scenario file parser. A Scenario file node will be created for the Test Run with the name of the Scenario file and all the scenarios found added to that node as children.
As can be seen the text of the Scenario file will be displayed in the right-hand window. The text will be displayed if any of the scenario are clicked on.
For information on managing scenarios please click here.
Please note: once a Scenario file has been added to the Test Run, the menu items for adding a Scenario file will be disabled until that Scenario file is removed.
The Scenario file parser implements rules which are not as strict as TETware professional for scenarios in a Scenario file. However the User should note that TETware professional will enforce all rules associated with the Scenario file.
Scenarios are added to the Scenario file tree node in the order in which they appear in the Scenario file.
Please note: the Scenario file parser is unable to distinguish between a valid Scenario file and an invalid Scenario file, it is the Users responsibility to ensure that the Scenario file added to the Test Run is valid.