Notizen
Gliederung
EMOS Framework
Basics 1
Agenda
System architecture
Test structure
Test development (exercise)
Test organisation
System architecture
EMOS Framework core
Test project architecture
Test data
Test scripts
Demonstration
EMOS Framework core
Technically, EMOS Framework is a set of
WinRunner libraries and main tests.
EMOS Framework is typically installed
as a WinRunner AddIn in
<WinRunner>/lib/EMOS_GPL
However, it can be installed anywhere.
The EMOS Framework methodology relies upon the services/features provided by EMOS Framework core.
EMOS Framework core is open source available under Lesser GPL downloadable from http://www.emos.de.
EMOS Framework core
Directory structure
FRM
Framework core
FRM/TPL
template directory
STD
standard libraries
DDT
DDT-related libraries
emosinit
initialisation test
EMOS Framework core
Template directory
Example of a basic structure for a single test project
Copy or unzip into a directory of your choice to start a new test project
System architecture
EMOS Framework core
Test project architecture
Test data
Test scripts
Demonstration
Test project architecture
System architecture
EMOS Framework core
Test project architecture
Test data
Test scripts
Demonstration
Test data
Single directory structure
Based on Excel tables
Data vs. Suite tables
Test data
(continued)
No predefined structure
Structure depends on:
test objectives
complexity of the test cases
technical limitations
proficiency with technique
individual style
...
Test data
(continued)
Two types of test tables
Data tables
Suite tables (optional)
Suites (groups of test cases) can be implemented in different ways (TestDirector, batch test scripts, etc.)
Test data
Data table
Test data
Data table (continued)
table structure defined by T
test cases (i.e. test data) defined by D
T  = tool expert
D  = domain expert
Test data
Suite table
Test data
Suite table (continued)
the structure of suite tables is fixed
the content of suite tables is defined by D
D  = domain expert
System architecture
EMOS Framework core
Test project architecture
Test data
Test scripts
Demonstration
Test scripts
Single directory structure
Naming conventions
Programming guidelines
Suitable to practically any test project
Test scripts
Basic directory structure
startup script
GUI
all GUI-Maps
LIB
all project-specific libraries
DRV
all project-specific test drivers(*)
kickoff script
Test scripts
Startup script
Test scripts
Startup script example
Recommended practices
Startup script
Test scripts
Directory: GUI
Recommended practices
Directory: GUI
Test scripts
Directory: LIB
Test scripts
Directory: LIB example
Recommended practices
Directory: LIB
Test scripts
Directory: DRV
Test scripts
Directory: DRV example
Test scripts
Directory: DRV example
Test scripts
Directory: DRV example
Recommended practices
Directory: DRV
Recommended practices
Directory: DRV
Test scripts
Kickoff script
Test scripts
Kickoff script example
Recommended practices
Kickoff script
EMOS Framework
System architecture
System architecture
EMOS Framework core
Test project architecture
Test data
Test scripts
Demonstration
Demonstration