Академический Документы
Профессиональный Документы
Культура Документы
Automation Framework
(STAF)
Day - 1
Regression Test Automation Process
2
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
STAF-Definition
3
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Types Of Test Automation Framework
STAF
4
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Types Of Test Automation Framework-Data Driven
5
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Types Of Test Automation Framework –Keyword Driven
6
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Types Of Test Automation Framework-Hybrid
7
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Components of Test Automation Framework
User Interface
Layer Test Suite Driver Script
8
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Test Automation Framework - Data Layer
Data files:
Consists of data required for the application
This could be maintained in
Excel File
MS Access DB
Text Files
9
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Test Automation Framework - Reusable Components
10
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Business Layer & User Interface Layer
Business Layer:
All the application specific scripts are available here
User Interface Layer:
TestSuiteDriver script is the script which drives the entire Automation
Suite
This script calls all other scripts
All application specific scripts are stored here
Driver script can be developed in the automation tool’s scripting
language
11
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Identification Of Common Functions
12
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Supporting documents for Automation Framework
13
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Comparison of scripts without framework and with
framework.
Scripts
ScriptsWith
WithFramework
Framework Scripts
ScriptsWithout
WithoutFramework
Framework
14
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
STAF –Case Study
15
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Exercise
Create an Automation Framework for Flight application which covers the following
Functionality
Group A
STR-Select
STR-Update
STR-Add
STR-Link
Group B
STR-Add
STR-Add to KBB
STR-Customize
STR-Advanced Search
16
Copyright Polaris Software Lab Limited, 2005.
Confidential. Not to be republished without prior consent.
Thank You