19
Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd. Automation Framework Marvell

Embed Size (px)

Citation preview

Page 1: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

Automation Framework

Marvell

Page 2: 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.

Page 3: Solmar Knowledge Networks Ltd. Automation Framework Marvell

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.

Page 4: Solmar Knowledge Networks Ltd. Automation Framework Marvell

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.

Page 5: Solmar Knowledge Networks Ltd. Automation Framework Marvell

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.

Page 6: Solmar Knowledge Networks Ltd. Automation Framework Marvell

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.

Page 7: Solmar Knowledge Networks Ltd. Automation Framework Marvell

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.

Page 8: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

Demonstration

ConfigureSwitchPorts

Page 9: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

guiLogin

Page 10: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

guiNavigatorTree

Page 11: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

guiPortConfiguration

Page 12: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

busSwitch

busSwitch

guiLoginguiLogin

guiNavigatorTreeguiNavigatorTree

guiPortConfigurationguiPortConfiguration

<login>

<navigate>

<configure>

Page 13: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

Test ConfigureSwitchPorts

ConfigureSwitchPorts busSwitch

guiLoginguiLogin

guiNavigatorTreeguiNavigatorTree

guiPortConfigurationguiPortConfiguration

<login>

<navigate>

<configure>

Datasteps + parameters

Page 14: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

Test-Set

ConfigureSwitchPorts

AddSNTPAuthenticationMulti-TestManager

AddServers

Html Report

CopyFiles

Page 15: Solmar Knowledge Networks Ltd. Automation Framework Marvell

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:\

Page 16: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

XML Data Source

Page 17: Solmar Knowledge Networks Ltd. Automation Framework Marvell

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.

Page 18: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

Test-Case

Flexible steps

Complex datastructure

MultipleInstances

ControlledExecution

Page 19: Solmar Knowledge Networks Ltd. Automation Framework Marvell

Solmar Knowledge Networks Ltd.

Reference Section