Professional Documents
Culture Documents
Keyword-Driven Test Automation Framework: Concept, Features, Architecture
Keyword-Driven Test Automation Framework: Concept, Features, Architecture
Misha Suboch
Topics Covered
TAF is a program which helps to perform automation testing effectively. Let us see TAF:
Features
Architecture
Workflow
Future
Presentation agenda
1. 2. 3. 4. 5. 6.
Features and Advantages Usage Workflow Architecture Artifacts Implementation in Your Project TAF Core Features
Features
1 2 3
Keyword-Driven
Product-independent
Tool-Independent
Business Logic GUI Objects Steps Utilities
Maintainability
Advantages
Keyword-driven Product-independent Compatible with any automation tools on the market Aligned with Continuous Integration Frameworks (single entry point, unified test reports, etc.)
Workflow
Initialization
Study Application Mock up Test Scenarios Implement Scenarios Debug /Verify Run Test Scenarios Create New Test Scenarios Tune for New Build Implement New Steps
Development
Usage
Maintainability
Architecture
High-Level Architecture Test Scenario 1 Test Scenario 2 Test Scenario N Test Bug List
TestComplete TAF
Run TAF.exe
TAF Core
10
Detailed Architecture
11
TAF Core, Responsibilities Read Configs Read Test Suite/Unified Test Scenario Read Bug List Load Data Constant variables
Stores Substitute Calculate Expressions
12
TAF.exe Config
13
TAF Core code is generated using Test-Driven Development approach, it is very well structured and covered by unit tests (more than 300 passed unit tests validates TAF Core quality).
14
Detailed Architecture
15
ExecutionList.txt
TAF Core
1.When scenario is read and parsed, TAF Core generate Execution List and run Automation Tool TAF. 2.After executing all tests, Automation Tool TAF generates Test Results Summary and exits. 3.TAF Core reads Test Results Summary and generates final results.
16
17
Status of TAF support Supported Supported (TAF Core) Supported (TAF Core) Supported (TAF Core)
Test Data
Test Scenarios
Selenium
Scripts
Test Cases
Driver Controller Frames Utilities
Verifies
Screens
18
Controller in TestComplete
19
Step Implementation
20
21
Artifacts
22
23
Metrics
Summary, Passed
24
Summary, Failed
25
26
How to Proceed and Take Advantage of TAF Automation with TestComplete, Watir or QTP: Get Test Complete TAF / Watir TAF / QTP TAF Automation with another tool:
Implement controller
Implement steps
Implement steps
27
28
29
30
31