Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Consider the following nonfunctional requirements and determine which of them ca

ID: 672207 • Letter: C

Question

Consider the following nonfunctional requirements and determine which of them can be verified and which cannot. Write acceptance tests for each requirement or explain why it is not testable.

(a) “The user interface must be user-friendly and easy to use.”
(b) “The number of mouse clicks the user needs to perform when navigating to any window of the system’s user interface must be less than 10.”
(c) “The user interface of the new system must be simple enough so that any user can use it with a minimum training.”
(d) “The maximum latency from the moment the user clicks a hyperlink in a web page until the rendering of the new web page starts is 1 second over a broadband connection.”
(e) “In case of failure, the system must be easy to recover and must suffer minimum loss of important data.” Consider the following nonfunctional requirements and determine which of them can be verified and which cannot. Write acceptance tests for each requirement or explain why it is not testable.

(a) “The user interface must be user-friendly and easy to use.”
(b) “The number of mouse clicks the user needs to perform when navigating to any window of the system’s user interface must be less than 10.”
(c) “The user interface of the new system must be simple enough so that any user can use it with a minimum training.”
(d) “The maximum latency from the moment the user clicks a hyperlink in a web page until the rendering of the new web page starts is 1 second over a broadband connection.”
(e) “In case of failure, the system must be easy to recover and must suffer minimum loss of important data.” Consider the following nonfunctional requirements and determine which of them can be verified and which cannot. Write acceptance tests for each requirement or explain why it is not testable.

(a) “The user interface must be user-friendly and easy to use.”
(b) “The number of mouse clicks the user needs to perform when navigating to any window of the system’s user interface must be less than 10.”
(c) “The user interface of the new system must be simple enough so that any user can use it with a minimum training.”
(d) “The maximum latency from the moment the user clicks a hyperlink in a web page until the rendering of the new web page starts is 1 second over a broadband connection.”
(e) “In case of failure, the system must be easy to recover and must suffer minimum loss of important data.”

Explanation / Answer

a)

The nonfunctional requirement “The user interface must be user-friendly and easy to use.” can be verified. It can be tested manually. The user/tester can test manually the menus, and other aspects of the user interface. Questionaries’ and interviews with the end user to get the feedback can be used as an acceptance test.

b)

The nonfunctional requirements “The number of mouse clicks the user needs to perform when navigating to any window of the system’s user interface must be less than 10.” can be verified. It depends on how the user uses the interface and what operation the user is performing. It can be tested by keeping a count of the mouse clicks. It can be done using mouse click event handler.

c)

The nonfunctional requirement “The user interface of the new system must be simple enough so that any user can use it with a minimum training.” can be verified. It can be tested manually. It depends on how the user accepts the new system. Questionaries’ and interviews with the end user to get the feedback about the new system can be used as an acceptance test.

d)

The nonfunctional requirement “The maximum latency from the moment the user clicks a hyperlink in a web page until the rendering of the new web page starts is 1 second over a broadband connection.” can be tested.

e)

The nonfunctional requirement “In case of failure, the system must be easy to recover and must suffer minimum loss of important data.”cannot be tested. Failure of a system depends on many reasons.