Professional Documents
Culture Documents
Tool Support For Testing (CAST) : Software Testing ISTQB / ISEB Foundation Exam Practice
Tool Support For Testing (CAST) : Software Testing ISTQB / ISEB Foundation Exam Practice
1 Principles
2 Lifecycle
4 Dynamic test
5 Management
techniques
Chapter 6
3 Static testing
6 Tools
Tool support
Contents
Types of CAST tool
Why capture/replay is not test automation
Automating and testing are separate skills
Best practice
Acc Test
Requirements
testing
Performance
measurement
Function
Sys Test
Test running
Comparison
Test design
Test data
preparation
Design
Int Test
Debug
Static
analysis
Code
Comp. Test
Test harness
& drivers
Coverage
measures
Dynamic
analysis
Data manipulation
- selected from existing databases or files
- created according to some rules
- edited from other sources
Character-based
- simulates user interaction from dumb terminals
- capture keystrokes and screen responses
GUI (Graphical User Interface)
- simulates user interaction for WIMP applications
(Windows, Icons, Mouse, Pointer)
- capture mouse movement, button clicks, and keyboard
inputs
- capture screens, bitmaps, characters, object states
Comparison tools
Load generation
- drive application via user interface or test harness
- simulates realistic load on the system & logs the
number of transactions
Transaction measurement
- response times for selected transactions via user
interface
Reports based on logs, graphs of load versus
response times
Debugging tools
Tool support
Content
Types of CAST tool
Why capture/replay is not test automation
Automating and testing are separate skills
Best practice
Sensitive Tests
Susceptibility to changes
Implementation effort
Miss faults
Failure analysis effort
Storage space
Unexpected
change occurs
for every test
Automated verification
Tool support
Content
Types of CAST tool
Why capture/replay is not test automation
Automating and testing are separate skills
Best practice
Effort to automate
Step 4: check
it worked OK
Wizzo
Computer
Step 1: identify
conditions
to test
Step 2: think
up specific
inputs
Input
Run up Scribble
Open file with sorted list
Select Add items to List
Add some items to List
Move an item
Add an item
Delete item from List
Delete item not in List
Save changes in new file
Expected Result
Document menu displayed
Menus displayed
Item box displayed
Items added in order
Item moved, list is unsorted
Item added at end of List
Item deleted
Error message displayed
New file created
Pass
Step 4: check
it worked OK
Wizzo
Computer
Step 1: read
what to do
Step 2: think
up specific
inputs
Input
Run up Scribble
Open file with sorted list
Select Add items to List
Add two items to List
Move an item
Add an item
Delete item from List
Delete item not in List
Save changes in new file
Expected Result
Document menu displayed
Menus displayed
Item box displayed
Items added in order
Item moved, list is unsorted
Item added at end of List
Item deleted
Error message displayed
New file created
Pass
Expected Result
Pass
Scribble opened, List menu
disabled.
File menu appears, options
enabled: Open, New, Exit.
Click on Open option. Open dialogue box lists
document "countries.dcm" in
current folder.
Select countries.dcm Open dialogue box
and click OK button.
removed, file countries.dcm
opened and displayed. List
menu enabled.
Step 3: check
it worked OK
Wizzo
Computer
Step 1: read
what to do
Tool support
Content
Types of CAST tool
Why capture/replay is not test automation
Automating and testing are separate skills
Best practice
Maintain control
keep pruning
- remove dead-wood: redundant, superceded,
duplicated, worn-out
- challenge new additions (whats the benefit?)
measure costs & benefits
- maintenance costs
- time or effort saved, faults found?
Invest
Tests to automate
Automate
Tool support