wiki:scriptbuilderTestCases

Version 2 (modified by jdalbey, 9 years ago) (diff)

sample test case written

System Test Case Matrix

Stage 1 Delivery

AuthorRequirementTest CaseStatus
John?Test Case 1assigned


Status Codes
later - to be assigned in a subsequent stage
assigned - has been assigned for this stage, but the link may be broken or point to a blank template.
submitted - the test case has been written and the link is operational. The test case is being reviewed by QA.
rework - the test case needs revision or is undergoing revision.
done - the test case has been accepted by QA.
pass - the test has passed manual testing (include date).


Test Case #1

Purpose:

Verify:

  1. The Script Builder application GUI appears on program start.
  2. An empty script "canvas" appears.
  3. A new incident can be created at a given time.
  4. A new event can be added to the incident.
  5. The Script can be saved (and XML file generated).
  6. The resulting XML file runs successfully in the Simulation Manager.

Requirement Traceability:

Requirements: TBD

Setup:

  1. Obtain the most current version of the Script Builder from the DownloadPage.
  2. Start the application (see below).
    java -jar ScriptBuilder.jar 
    
    
  3. Follow the steps below.

Test Data:

The following is not accurate it's just for demonstration.

ActionInputExpected Output
Application starts GUI appears.
Choose New IncidentClick 'Incidents' then "New Incident" New Incident Dialog appears
Complete incident properties Enter Incident Name: Alpha
Enter Incident Description: Turtle on road
Click OK
New incident appears in left hand column.
Choose New Event Right-click on the Incident and choose "New event" New Event Dialog appears
Complete event properties TBD New event appears on the timeline.
Choose File Save Confirmation dialog appears
Quit!Application terminates

Verify that XML file is created. Compare against oracle file below:

(Oracle file will appear here)