4. • History
– Created at IBM Austin in 1998
– Open-sourced (on SourceForge) in 2001
• http://staf.sourceforge.net/
6/12/2012 | Copyright 2012 Trend Micro Inc. 4
5. • STAF runs as a daemon process, called STAFProc
6/12/2012 | Copyright 2012 Trend Micro Inc. 5
12. Testware concept included:
Testware configurations can be customized
Test suite, test case defined in Python syntax
Test process included: Setup, Test and Teardown
Execution log for tracing
XML test report w/ email notification
Command line interface
Cross-platform execution
6/12/2012 | Copyright 2012 Trend Micro Inc. 12
15. TMSTAF vs. QA‟s Automation
6/12/2012 | Copyright 2012 Trend Micro Inc. 15
16. QA‟s Automation Process
• Automation construction
Test Test cases Automation
Automation
cases convert to script pre-
environment
creation automation run and
setup
scripts debug
• Automation online
Integrate
Build
with build
quality
release
verification
process
6/12/2012 | Copyright 2012 Trend Micro Inc. 16
20. • Automation environment can be deployed easily
Automation Environment
TMSTAF
framework
Python 2.6 STAF 3.x
6/12/2012 | Copyright 2012 Trend Micro Inc. 20
21. Test Cases Convert to
Automation Scripts
6/12/2012 Confidential | Copyright 2012 Trend Micro Inc. 21
22. • Convert test case to automation scripts structurally
Automation
Test step
Module Test case
(automation
script)
Automation
Test step
Module
Automation
Module
6/12/2012 | Copyright 2012 Trend Micro Inc. 22
23. 6/12/2012 | Copyright 2012 Trend Micro Inc. 23
24. 6/12/2012 | Copyright 2012 Trend Micro Inc. 24
30. III - Result Verification
• Execution result of each steps (includes setup and
teardown) can be verified easily
Passed if ‘result’ = 0
6/12/2012 | Copyright 2012 Trend Micro Inc. 30
31. Script Pre-run and
Debug
6/12/2012 Confidential | Copyright 2012 Trend Micro Inc. 31
32. • More efficiency development of automation
Script
execution
Refinement Debugging
of script of script
6/12/2012 | Copyright 2012 Trend Micro Inc. 32
33. • Script execution from command line interface
6/12/2012 | Copyright 2012 Trend Micro Inc. 33
34. “-h” Online Help
Easy to Integrate
Run Target Case
Run Target Suite
6/12/2012 | Copyright 2012 Trend Micro Inc. 34
35. • Execution log for tracing/debugging
6/12/2012 | Copyright 2012 Trend Micro Inc. 35
36. 6/12/2012 | Copyright 2012 Trend Micro Inc. 36
45. 6/12/2012 | Copyright 2012 Trend Micro Inc. 45
46. 6/12/2012 | Copyright 2012 Trend Micro Inc. 46
47. 6/12/2012 | Copyright 2012 Trend Micro Inc. 47
48. 6/12/2012 | Copyright 2012 Trend Micro Inc. 48
49. 6/12/2012 | Copyright 2012 Trend Micro Inc. 49
50. 6/12/2012 | Copyright 2012 Trend Micro Inc. 50
51. 6/12/2012 | Copyright 2012 Trend Micro Inc. 51
52. So, with TMSTAF,
you can…
6/12/2012 Confidential | Copyright 2012 Trend Micro Inc. 52
53. Test
Test case can be used for both ‘manual’ and
cases creation
‘automation’ use, no extra effort needs
Automation
Easy to setup automation environment for
environment
development and execution
setup
Test cases
convert to Implement test cases with structural and flexible
automation mechanism
scripts
Automation script More efficiency development and trouble-shooting
pre-run and debug of automation
Integrate with
build release Easy integrate with standard build release process
process
Build quality Useful information in testing report can help to
verification identify issue more quickly
6/12/2012 | Copyright 2012 Trend Micro Inc. 53