Updating the test case document: Messages
Messages and warnings that are referred in the Test Cases are specified in this tab. These messages and warnings are specified in the WebSphere Commerce properties file. The message and value pairs can be copied and pasted into this tab. The messages and warnings are separated from the test cases so that they can be easily updated and maintained. If a message or warning is used in multiple places and if it changes, one place update in the messages and warning tab is adequate to update the test cases.
Messages contains
two columns:
- Name
- Name is an identifier to identify the message. Names are copied from the store properties file without any modification.
- Value
- Value is the actual message or warning
from the properties file.
Values are referenced in the test case expected results column. The
message or warning values can be changed and the changes are automatically
reflected in the test cases.
- If an existing message or error is updated, check other test cases that reference the message and determine if they are affected.
About this task
Procedure
- Existing message or warning is updated
- New message
or warning is added. Determine whether to add
a Test Case:
Option Description Test Case is added - Insert a new row in a logical place and add the name-value pair in the Messages tab.
- Reference the value from the appropriate test step from the new Test Case.
Existing Test Case is modified - Insert a new row in a logical place and add the name-value pair the Messages tab.
- Update the test step that is modified to reference the new message or warning