







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Professor: Memon; Class: ADV TOPC PROG LANG; Subject: Computer Science; University: University of Maryland; Term: Fall 2003;
Typology: Study notes
1 / 13
This page cannot be seen from the preview
Don't miss anything!








2
Interactions between the GUI and the Underlying Code
Cases
4
Selecting Test Sequences
Initial State Goal State
Multiple Event
This is the text. Sequences Thisis the text.
8
Action
Operator :: CUT Preconditions : isCurrent(Menu2).
Effects : FORALL Obj in Objects Selected(Obj)? ADD inClipboard(Obj) DEL onScreen(Obj) DEL Selected(Obj) ADD isCurrent(Menu1) DEL isCurrent(Menu2). Menu
Menu
File Edit View Ins
10
English (United States)
OK Cancel Default...
Set Language
Two Types of Abstractions
14
File_SendTo_MailRecipient
= <File + SendTo +
MailRecipient >
Sys-Interaction Operator:
SelectFromList() Default OK Cancel
Language Window’s Operator Set
Main GUI’s Operator Set … Set Language SelectFromList() Default OK Cancel ...
English (United States)
OK Cancel Default...
Set Language
Set Language ...
Main GUI’s Operator Set
16
SetLanguage()
SelectFromList (“English(US)”)
Abstract Operator
Planner
SelectFromList() Default OK Cancel
Language Window’s Operator Set
SetLanguage()
High Level Plan
Sub Plan Define Abstraction
SelectText (“This”)
FormatFont (“This”, 18pt)
FormatFont (“text”, Underline)
SelectText (“text”)
Primitive Operator
Primitive Operator
Abstract Operator
Abstract Operator
20
FormatFont 18 OK FormatFont^ Underline^ OK
Planner Planner
Format Font Format^ Font
Mapping Mapping
SelectText (“This”) Format Font 18 OK SelectText (“text”)
Format Font Underline OK
22
SelectText (“This”)
SelectFromList (18)
FormatFont (“text”, Underline)
SelectText (“text”)
Primitive Operator
Primitive Operator
Primitive Operator
Abstract Operator
SelectText (“This”)
SelectFromList (18)
SelectText (“text”)
Format Font (^) Underline OK
SelectText (“This”)
FormatFont (“This”, 18pt)
FormatFont (“text”, Underline)
SelectText (“text”)
Primitive Operator
Primitive Operator
Abstract Operator
Abstract Operator
26
Approach for GUI Test Case Generation
Preconditions and Effects from GUI Specifications
(Automated Verification)