Professional Documents
Culture Documents
Unit 5 Notes
Unit 5 Notes
Purposes
•Bottom
•Align top right
•Align left border is very popular in web
interface
Application Windows( Main Window)
An application window is a container of application
objects or icons
It contains an entire application with which users can
interact
Application Windows (cont)
Consist of
Frame or border
Title bar
Scroll bars
Menu bar
Toll bar
Status bar
Example
Application Windows (cont)
File menu
Open, Save, Save As, Print, Exit
Edit Menu
Cut, Copy, Paste
View Menu
Zoom,show and etc
Help Menu
Fonts
Colors
Example
Example
Prototyping the user interface
Activity diagram
Create user
interface controls
[ No ]
Test / Debug
[ Yes ]
VIEW LAYER:DESINGING
INTERFACE OBJECTS
Objectives:
• Identifying View Class
• Designing Interface Objects.
INTRODUCTION
Two types of Interface
1. User Interface
View Objects
Business Objects
Access Objects
View Layer Objects
They are the only exposed objects of an application
with which users can interact.
٤ Errors.
٥ Less Plausible ( not worth testing for )
٥ More Plausible ( worth testing for now )
٥ New
٤ Impact of Inheritance on Testing.
٤ Reusability of tests.
TEST CASES
§ A test case is a set of What – if questions.
§ To test a system you must construct some best input cases, that
describe how the output will look.
§ Next, perform the tests and compare the outcome with the
expected output.
(contd…)
Myer’s (objective of testing )
ﭳTesting
Is a process of executing a program with the intent of finding errors.
ﭳGood test case
That has a high probability of finding an as – yet – undiscovered error.
ﭳSuccessful test case
That detects an as – yet – undiscovered error.
(Contd…)
Guidelines (for preparing test cases.)
ổ Describe the feature or service.
ổ If based on use case, then refer its name.
ổ Specify the feature to test and how to test.
ổ Test the normal use.
ổ Test the abnormal but reasonable use.
ổ Test the abnormal and unreasonable use.
ổ Test the boundary conditions.
ổ While revising document the cases.
ổ Reusability and extendibility should be assessed.
ổ Add Questions that arise out of previous ones.
Test Plan
٭A Test plan is developed to detect and identify potential problems
before delivering the software to its users.
٭A test plan offers a road map.
٭A dreaded and frequently overlooked activity in software
development.
٭Steps:
§ Objectives of the test.
§ Development of a test case
§ Test analysis.
٭Regression Testing.
٭Beta Testing.
٭Alpha Testing. (contd…)
Guidelines (for preparing test plan)
Test plan
10 9 8 7 6 5 4 3 2 1
Intuitive UI Very Intuitive Very Hard to Follow
10 9 8 7 6 5 4 3 2 1
Reliability Very Reliable Not Reliable
Comments