sjgyogi77 wrote
I need some advice. In my SRS I add screen shots of the pages of the application. Under the screen shot I add requirements that pertain to the fields on the screen shot. For example, if there is a Last Name field, I state how many characters it will accept, does it accept special characters, is it an input field, the errors related to the field...etc. Where do you write these types of requirements? |
Ideally, these types of requirements would have already been captured as part of a separate business rules document repository or a data dictionary repository. In the SRS they are now system requirements and you run the risk of duplicating information.
For example, let's say that you have identified that "home phone number" is a piece of data which you need to capture. In the data dictionary you would have already identified "home phone number" as an attribute of a person. In the same place, you would specify other information about that attribute such as:
- How many characters (country code vs. no country code)
- What is the format/mask of the number: ex: XXX-XXX-XXXX
- When is it required: always (upon the creation of the person record) or only when certain events occur (a business rule) ex: A person's home phone number is required before creating a new account.
- etc.
On small projects with small team you can, if you wish, put this information in the SRS. But you should still consider if you want to specify this info at the individual screen/page level or more global. What if the same piece of data appears on multiple screens/pages, will you want to specify the same rules every place the field appears. Probably not - since you don't want to have to maintain that info in multiple places.
Hope I've answered your question.
- Adrian