Upload
edith-miles
View
222
Download
0
Embed Size (px)
Citation preview
Solmar Knowledge Networks Ltd.
Automation Framework
Marvell
Solmar Knowledge Networks Ltd.
Introduction
The Layers method is a part of the OOAT ( Object Oriented Automation Testing ) methodology.
The method offers full isolation between information data, GUI implementation and business process.
The method offers full modularity and interaction within the layers.
Solmar Knowledge Networks Ltd.
The Data Layer
The data layer are data and keyword driven source xml files.
Each xml file represents a test-set that equivalents to a business scenario process.
Solmar Knowledge Networks Ltd.
The Utils Layer
These are common or specific function libraries associated with the scripts.
The function libraries holds a common implementation and a generic solution for all the projects.
Solmar Knowledge Networks Ltd.
The GUI Layer
The GUI layer implements all the steps against the AUT.
Every GUI “Module” handles one GUI screen. This avoid locked repository files when
working within a team and better modularity.
Solmar Knowledge Networks Ltd.
The Business Layer
The Business Layer supports a single business action.
The Business layer module can call 1 to n GUI modules.
The Business module acts like a controller for the GUI layer.
Solmar Knowledge Networks Ltd.
The Test or Test-Case Layer
The Test Layer is the engine of the layer method. The test layer is responsible to parse the
parameters and steps required for a single test-case by calling the required Business Layer Module.
Solmar Knowledge Networks Ltd.
Demonstration
ConfigureSwitchPorts
Solmar Knowledge Networks Ltd.
guiLogin
Solmar Knowledge Networks Ltd.
guiNavigatorTree
Solmar Knowledge Networks Ltd.
guiPortConfiguration
Solmar Knowledge Networks Ltd.
busSwitch
busSwitch
guiLoginguiLogin
guiNavigatorTreeguiNavigatorTree
guiPortConfigurationguiPortConfiguration
<login>
<navigate>
<configure>
Solmar Knowledge Networks Ltd.
Test ConfigureSwitchPorts
ConfigureSwitchPorts busSwitch
guiLoginguiLogin
guiNavigatorTreeguiNavigatorTree
guiPortConfigurationguiPortConfiguration
<login>
<navigate>
<configure>
Datasteps + parameters
Solmar Knowledge Networks Ltd.
Test-Set
ConfigureSwitchPorts
AddSNTPAuthenticationMulti-TestManager
AddServers
Html Report
CopyFiles
Solmar Knowledge Networks Ltd.
Infrastructure
The Method is based on a categorized infrastructure.
LIB
RA
TESTS
RS
DOC
Project
DAT
SETTING
RES
BATCH
ENV
Automation
BL
GL
mapped networkdrive
Q:\
Q:\
Q:\
Solmar Knowledge Networks Ltd.
XML Data Source
Solmar Knowledge Networks Ltd.
XML Data Source
The data source allow to define multiple instances of the same test-case.
Each test-case can implement different data combinations.
The data source give flexibility to the test flow, by customizing steps.
The xml format allows to define and describe complex data parameters.
Solmar Knowledge Networks Ltd.
Test-Case
Flexible steps
Complex datastructure
MultipleInstances
ControlledExecution
Solmar Knowledge Networks Ltd.
Reference Section