Essentially a small number of basic techniques for data gathering
Data gathering techniques are flexible and can be combined and extended in many ways.
Choosing between data-gathering techniques rests on two issues:
The choice of technique is also affected by the kind of task to be studied:
commonly used as the basis for acceptance testing
Scenario for library catalog service
"Say I want to find a book by George Jeffries. I don‘t remember the title but I know it was published before 1995.I go to the catalog and enter my user password.I don‘t understand why I have to do this, since I can‘t get into the library to use the catalog without passing through security gates. However, Once my password has been confirmed, I am given a choice of searching by author or by date, but not the combination of author and date. I tend to choose the author option because the date search usually identifies too many entries. After about 30 seconds the catalog returns saying that there are no entries for George Jeffries and showing me the list of entries closest to the one I‘ve sought. When I see the list, I realize that in fact I got the author‘s first name wrong and it‘s Gregory, not George.I choose the entry I want and the system displays the locations to tell me where to find the book."
A use case is associate with an actor, and it is the actor‘s goal in using the system that the use case wants to capture.
Other possible sequences, called alternative courses, are then listed at the bottom of the use case.
Use case diagram for library catalog service
One use case is "Locate book", and this would be associated with the "library member" actor. The other main actor is the "Librarian." A use case for the "librarian" would be "update catalog"
Use case of Locate Book
- The system prompts for user name and password.
- The user enters his or her user name and password into the catalog system.
- The system verifies the user‘s password.
- The system displays a menu of choices.
- The user chooses the search option.
- The system displays the search menu.
- The user chooses to search by author.
- The system displays the search author screen.
- The user enters the author‘s name.
- The system displays search results.
- The user chooses the required book.
- The system displays details of chosen book.
- The user notes location.
- The user quits catalog system.
Alternative courses for Locate Book
Some alternative courses:
- If user password is invalid
- The system displays an error message.
- The system returns to step 1.
- If the user knows the book details
- The user chooses to enter book details
- The system displays book details screen
- The user enters book details
- The system goes to step 1 2
Example essential use case for library catalog service
LocateBook
USER INTENTION SYSTEM RESPONSIBILITY identify self verify identity offer known details request appropriate details note search results offer search results quit system close
Example Hierarchical Task Analysis
- In order to borrow a book from the library
- go to the library
- find the required book
- 2.1 access library catalogue
- 2.2 access the search screen
- 2.3 enter search criteria
- 2.4 identify required book
- 2.5 note location
- go to correct shelf and retrieve book
- take book to checkout counter
- plan 0: do 1 - 3 - 4. If book isn‘t on the shelf expected, do 2 - 3 - 4
- plan 2: do 2.1 - 2.4 - 2.5. If book not identified do 2.2 - 2.3 - 2.4 - 2.5
Write a scenario of how you would currently go about choosing a brand new car.
人机交互技术 Week 12_Task descriptions
原文:https://www.cnblogs.com/whale90830/p/11028719.html