Visual GUI Testing and TextTest 6 Months in 4

advertisement
Visual GUI Testing and TextTest
Some work from the last 6 Months in 4 minutes
What is Visual GUI Testing?
Test
step
Input
Expecte
d output
1
Click on Button x
button changes
x
color
2
Click on Button y
button changes
y
color
..
…
N
Click on Button z
button changes
z
color
…
Transition costly and
tedious manual
test-scenarios…
…using image recognition
and scripts…
…to emulate end-user behavior
for automated System and
Acceptance testing.
Improved test frequency
Last time
Works on all platforms
Defect finding ability
Easy to use by anyone
Requires continuous maintenance
Future research: Continuous development
7%
20%
Continuous
VGT Maintenance
1
2
3
4
5
6
7
8
9
10
11
Recent success story
Customer
Every 3-7 months
Reproduced in < 24 hours
Killed in 7 days
Development company
Stimulation with a
VGT Script
Manual
reproduction
What was the defect?
Memory
Custom menu
Shows that automated tests (VGT) can
Item 1
identify non-frequent,
Item 2 non-deterministic,
Item 3
defects!
Item 4
This afternoon… TextTest
Bitmap GUI
2.
ASCII representation
______________________________
|_(r)(y)(g)__StopWatch__________|
| _______________________
|
| |0.0____________________|
|
THIS AFTERNOON!
| _______
_______
|
1. What is TextTest?
| | _start_|
| _stop_|
|
|_____________________________|
What are the benefits
with TextTest?
3. What are the drawbacks with
______________________________
TextTest?
Fix ALL broken scripts and output
with ONE regular expression!
|_(r)(y)(g)__StopWatch__________|
| _______________________
|
| |0.0____________________|
|
| _______
_______
|
| | _stop_|
| _start_|
|
|_____________________________|
Hope to see you this afternoon!
Emil.alegroth@chalmers.se
Download