aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes requirement gathering for User Interfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "requirement gathering for User Interfaces" Watch "requirement gathering for User Interfaces" New topic
Author

requirement gathering for User Interfaces

Shanmugam nagaraj
Ranch Hand

Joined: May 07, 2007
Posts: 76
Hi,
while gathering requirement how can we capture the logic behind the radio button for user interfaces like forms report etc.

For example :
if you have 50 fields in one form and you need to select one radio button out of 5 radio button if the first radio button has selected then you need to populate the 10 and 20 th fields.

how can we capture the requirements and document it for the purpose of developer.

Any body have any sample template to capture this kind of situation, I struggle a lot for week, but cant find a solution.


Thanks in advance

Shaan


Thanks <br />Shanmugam N
raj malhotra
Ranch Hand

Joined: Feb 22, 2007
Posts: 285
Hi Shaan
One way can be -whenever you select one radio button ,a javascript method should be called .In that method you can disable/hide all other fields except the required fields.
Now when you submit the form depending upon the radio button value you can validate your form.
[ October 03, 2008: Message edited by: raj malhotra ]
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

In terms of capturing your requirements, you should probably look at Use Case diagrams or other UML modeling techniques.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Use Case diagrams are not particularly good for this kind of documentation. And I don't know of anything else in UML that would sound appropriate for me.

At which stage of development are you? As a developer, I would probably prefer to get this requirement in the form of an executable Acceptance Test, but it might be too early to write such a thing if it isn't going to be implemented soon.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Originally posted by Ilja Preuss:
Use Case diagrams are not particularly good for this kind of documentation. And I don't know of anything else in UML that would sound appropriate for me.


Ilja is quite right and my apologies for putting you wrong there. What you might find useful is a simple 2-d matrix (Spreadsheet) with the radio buttons listed down one side and the fields listed along the top, you can then fill in the squares of the fields that should be active when you select a particular radio button.
Shanmugam nagaraj
Ranch Hand

Joined: May 07, 2007
Posts: 76
Thanks for response..

At which stage of development are you? As a developer, I would probably prefer to get this requirement in the form of an executable Acceptance Test, but it might be too early to write such a thing if it isn't going to be implemented soon.


My role is system analyst(new to this role...)

It is in analysis stage like gathering the information from user and documenting and finalizing a solution...

what is executable Acceptance Test ? do you have any sample to explain me better..

My template need to be as ready to code condition and it have to be finalized by user, i.e the template is need to cover all the scenario and confirmed by customer or users. I struggling to probe the right questions and also how to prepare the template like forms..reports letter etc...

Is there any url, document, material, etc. any thing.....to answer my questions
Shanmugam nagaraj
Ranch Hand

Joined: May 07, 2007
Posts: 76
Any body can help out this???
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
while gathering requirement how can we capture the logic behind the radio button for user interfaces like forms report etc.

how can we capture the requirements and document it for the purpose of developer.


A good option for capturing requirements is Use Case narratives.

A Use Case narrative is a textual explanation of a Use Case. It the text of the narrative, one can describe the logic behind the GUI / form report. Also, one can describe any other presentation/display requirement, such as a specific graphic has to be displayed.

Use Case narratives provide good documentation and are very helpful for developers. The key to writing good Use Case narratives is good spelling, good grammar and punctuation, and a clean writing style.

Good Luck!
Lutz Hankewitz
Greenhorn

Joined: Dec 10, 2007
Posts: 5
you can take a look at decision tables to document these kind of rules.
see decision tables

kind regards

Lutz
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: requirement gathering for User Interfaces
 
Similar Threads
Struts 1.1 refresh with values
Dynamic page generation
Form Template - For requirement gathering
radio button
Dynamic field collapse issue in Form