Testing your changes
To test the new version of your schema:
- In the Designer workspace, click to verify that your schema definition contains no errors. The results appear in the pane at the bottom of the Designer. Fix any errors before continuing.
- Click .
- In the Test Database list in the Test Database window, select test, which is the name of the test user database that you created in the Create a test user database exercise. Enter admin in the User Name field. Leave the Password field blank. Click OK.
- Click to start your test session.
- In the Rational® ClearQuest® Client client, click the New Defect toolbar icon. The Submit Defect form opens.
- Enter values in the mandatory fields, which are identified by having red labels. Verify that the user database is validating the User_ID field correctly. Enter a noninteger value in the field and click OK. An error message should appear reminding you to enter an integer. Enter an integer that is outside the range of 1 to 100. Click OK. An error message should appear reminding you to enter an integer between 1 and 100. Enter an acceptable integer in the field.
- Click the Documentation tab. Click the arrow in the Doc_Impact field and verify that the choice list of values is displayed.
- Click the Attachments tab. Click Add to attach a file to the defect.
- On a piece of paper write down the defect number. Click OK to submit the defect.
- Click ID field of the Find Record window and click OK. . Enter the defect number in the
- Click Actions and select Assign.
- In the Owner field, select admin to assign the defect to yourself. Click OK.
- Open the defect again.
- Click Actions and select Open to transition the defect from the Assigned state to the Opened state. Click OK.
- Open the defect again. Test the reassign action that you added to the schema. Click Actions and select Reassign. You should see an error message reminding you to enter a value in the Action_reason field.
- Enter text in the Action_reason field. Click OK. The defect should be moved to the Reassigned state.
- Close the Rational ClearQuest Client.