SlideShare uma empresa Scribd logo
1 de 31
Keyword-driven
 Test Automation
 Framework
 Concept, features, architecture



Misha Suboch
TAF is a program which helps to perform
automation testing effectively. Let us see TAF:
                                                  Features




                             Test
  Architecture               Automation               Workflow
                             Framework



                                                   Future




                                                                 2
1.   Features and Advantages

2.   Usage Workflow

3.   Architecture

4.   Artifacts

5.   Implementation in Your Project

6.   TAF Core Features




                                      3
1   Features and Advantages




                              4
1    Keyword-Driven

2   Product-independent

3   Tool-Independent


                          • Business Logic
                          • GUI Objects
4     Maintainability
                          • Steps
                          • Utilities




                                             5
Keyword-driven
Product-independent
Compatible with any automation tools on the market
Aligned with Continuous Integration Frameworks
(single entry point, unified test reports, etc.)




                                                     6
2   Workflow




               7
1   Initialization


                      • Study Application
2                     • Mock up Test Scenarios
    Development
                      • Implement Scenarios
                      • Debug /Verify


                      • Run Test Scenarios
3       Usage
                      • Create New Test Scenarios


                      • Tune for New Build
4   Maintainability
                      • Implement New Steps




                                                 8
3   Architecture




                   9
Test Scenario 1


Test Scenario 2        Test      Bug List


Test Scenario N
                                            TestComplete TAF

                   TAF Core                     Custom
   Run TAF.exe                              Automation tool

                                               Another
                                            Automation tool
    XML

   HTML           Test Reports

Tool Specific


                                                           10
11
Read Configs
Read Test Suite/Unified Test Scenario
Read Bug List
Load Data
Constant variables
  • Stores
  • Substitute
  • Calculate Expressions
Create Execution List
Run Automation Tool TAF
Execution Optional (Cleanup) Command
Create Reports




                                         12
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
15
ExecutionList.txt


                                                      Automation
           TAF Core
                                                       Tool TAF

                           TestResultsSummary.txt


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
Tool       Status of TAF support
                                SilkTest           Supported
            Test                TestComplete       Supported (TAF Core)
            Data                Quicktest Pro      Supported (TAF Core)
                                Watir              Supported (TAF Core)
   Test                         Selenium           Supported (TAF Core)
Scenarios


                   Scripts                                          Actions


                                                Test Cases          Verifies


              Driver         Controller          Frames             Screens


                                                 Utilities


                                                                               18
19
20
21
4   Artifacts




                22
23
Metrics   Summary, Passed



                            24
Summary, Failed




                       Summary, Failed with Bug Link




Summary, Known Issue


                                                       25
5   Implementation in Your Project




                                     26
Automation with TestComplete, Watir   Automation with another tool:
or QTP:

Get Test Complete TAF /
 Watir TAF / QTP TAF                    Implement controller



    Develop test scenarios                 Develop test scenarios



          Implement steps                        Implement steps




                                                                      27
6   TAF Core Features




                        28
1. Unique keywords in test scenarios allow you to
  generate unique text and numbers in specified
  format
2. Ability to run several test scenarios at once, even if
  written in different automation tools
3. Ability to use the same test scenario for different
  automation tools, when one tool could not cover all
  test configurations (browsers/OS).
4.Unified test results (in .xml) across different
  automation tools/projects/applications provide
  integration options with external tools (like Cruise
  Control).
5. Ability to mark failed test cases as known issue and
  link to related bugs in test results.
6.Keywords Feature: Load/Repeat keywords allow to
  create data-driven test cases. Application keyword
  allow you to work in one test scenario (or even in
  one test case) with different applications.


                                                            29
8. Arithmetic expressions calculation and Variables values
   substitution. Ability to exchange variables values
   between different test scenarios, automation tools or
   even when different test scenarios should be run one
   by one on different servers.
9. Unified test scenario could be easily accessed for
   review by customer or business analyst (no
   programming knowledge required)
10. Working with results: Auto-archiving of previous test
   results. Test results contains information about what
   workstation/server was used for scripts run, when and
   which TAF Core version they were generated by.
11. Extensive configuration features: execution (run
   selected tests/complete scenario), results output,
   logging, etc.




                                                             30
Test Automation
Framework

         Misha Suboch
         misha.suboch@gmail.com




                                  31

Mais conteúdo relacionado

Mais procurados

Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using seleniumshreyas JC
 
Katalon Studio - Best automation solution for software testing team
Katalon Studio - Best automation solution for software testing teamKatalon Studio - Best automation solution for software testing team
Katalon Studio - Best automation solution for software testing teamKatalon Studio
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework DesignsSauce Labs
 
Test automation
Test automationTest automation
Test automationXavier Yin
 
Test Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalTest Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalQA or the Highway
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation frameworkdoai tran
 
Automation test framework with cucumber – BDD
Automation test framework with cucumber – BDDAutomation test framework with cucumber – BDD
Automation test framework with cucumber – BDD123abcda
 
Introduce Katalon tool
Introduce Katalon toolIntroduce Katalon tool
Introduce Katalon tool재연 김
 
Setting up Page Object Model in Automation Framework
Setting up Page Object Model in Automation FrameworkSetting up Page Object Model in Automation Framework
Setting up Page Object Model in Automation Frameworkvaluebound
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For AgileNaresh Jain
 
Allure framework
Allure frameworkAllure framework
Allure frameworkartkoshelev
 

Mais procurados (20)

Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
TestNG Framework
TestNG Framework TestNG Framework
TestNG Framework
 
Katalon Studio - Best automation solution for software testing team
Katalon Studio - Best automation solution for software testing teamKatalon Studio - Best automation solution for software testing team
Katalon Studio - Best automation solution for software testing team
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Test automation process
Test automation processTest automation process
Test automation process
 
Test automation
Test automationTest automation
Test automation
 
Test Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalTest Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh Dahal
 
TestNG
TestNGTestNG
TestNG
 
Test NG Framework Complete Walk Through
Test NG Framework Complete Walk ThroughTest NG Framework Complete Walk Through
Test NG Framework Complete Walk Through
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
 
Automation With A Tool Demo
Automation With A Tool DemoAutomation With A Tool Demo
Automation With A Tool Demo
 
Test Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and CucumberTest Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and Cucumber
 
Automation test framework with cucumber – BDD
Automation test framework with cucumber – BDDAutomation test framework with cucumber – BDD
Automation test framework with cucumber – BDD
 
Introduce Katalon tool
Introduce Katalon toolIntroduce Katalon tool
Introduce Katalon tool
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Setting up Page Object Model in Automation Framework
Setting up Page Object Model in Automation FrameworkSetting up Page Object Model in Automation Framework
Setting up Page Object Model in Automation Framework
 
Automated Test Framework with Cucumber
Automated Test Framework with CucumberAutomated Test Framework with Cucumber
Automated Test Framework with Cucumber
 
testng
testngtestng
testng
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
 
Allure framework
Allure frameworkAllure framework
Allure framework
 

Destaque

Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planningSivaprasanthRentala1975
 
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Atirek Gupta
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test AutomationPekka Klärck
 
Do you need commercial auto insurance By Floyd Arthur
Do you need commercial auto insurance By Floyd Arthur Do you need commercial auto insurance By Floyd Arthur
Do you need commercial auto insurance By Floyd Arthur Floyd Arthur
 
Teradata Demand Chain Management (DCM): Version 4
Teradata Demand Chain Management (DCM): Version 4Teradata Demand Chain Management (DCM): Version 4
Teradata Demand Chain Management (DCM): Version 4Teradata
 
What You Should Know About Buying A Lake House
What You Should Know About Buying A Lake HouseWhat You Should Know About Buying A Lake House
What You Should Know About Buying A Lake HouseTrusted Choice
 
Great deals on life insurance for seniors over 65
Great deals on life insurance for seniors over 65Great deals on life insurance for seniors over 65
Great deals on life insurance for seniors over 65LifeNet Insurance Solutions
 

Destaque (8)

Keyword driven testing
Keyword driven testingKeyword driven testing
Keyword driven testing
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
 
Do you need commercial auto insurance By Floyd Arthur
Do you need commercial auto insurance By Floyd Arthur Do you need commercial auto insurance By Floyd Arthur
Do you need commercial auto insurance By Floyd Arthur
 
Teradata Demand Chain Management (DCM): Version 4
Teradata Demand Chain Management (DCM): Version 4Teradata Demand Chain Management (DCM): Version 4
Teradata Demand Chain Management (DCM): Version 4
 
What You Should Know About Buying A Lake House
What You Should Know About Buying A Lake HouseWhat You Should Know About Buying A Lake House
What You Should Know About Buying A Lake House
 
Great deals on life insurance for seniors over 65
Great deals on life insurance for seniors over 65Great deals on life insurance for seniors over 65
Great deals on life insurance for seniors over 65
 

Semelhante a Keyword-driven Test Automation Framework

Data driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumData driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumanandseelan
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basicsmehramit
 
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Azhar Satti
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testingpriya_trivedi
 
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010TEST Huddle
 
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxShivareddyGangam
 
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsTest automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsSteven Li
 
Planning & building scalable test infrastructure
Planning  & building scalable test infrastructurePlanning  & building scalable test infrastructure
Planning & building scalable test infrastructureVijayan Reddy
 
Agile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business ManagersAgile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business ManagersClever Moe
 
Test Automation Demonstration with Dr Yongyan Wang by XBOSoft
Test Automation Demonstration with Dr Yongyan Wang by XBOSoftTest Automation Demonstration with Dr Yongyan Wang by XBOSoft
Test Automation Demonstration with Dr Yongyan Wang by XBOSoftXBOSoft
 
Mohammed Kharma-A flexible framework for quality assurance and testing of sof...
Mohammed Kharma-A flexible framework for quality assurance and testing of sof...Mohammed Kharma-A flexible framework for quality assurance and testing of sof...
Mohammed Kharma-A flexible framework for quality assurance and testing of sof...Mohammed Kharma
 
qLabs How To Get Maximum RoI Using Test Automation
qLabs How To Get Maximum RoI Using Test AutomationqLabs How To Get Maximum RoI Using Test Automation
qLabs How To Get Maximum RoI Using Test Automationguest221c8e
 
03 test specification and execution
03   test specification and execution03   test specification and execution
03 test specification and executionClemens Reijnen
 
Unit testing using Munit Part 1
Unit testing using Munit Part 1Unit testing using Munit Part 1
Unit testing using Munit Part 1Anand kalla
 

Semelhante a Keyword-driven Test Automation Framework (20)

Data driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumData driven automation testing of web applications using selenium
Data driven automation testing of web applications using selenium
 
Qtp (2)
Qtp (2)Qtp (2)
Qtp (2)
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basics
 
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
 
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
 
Automation using ibm rft
Automation using ibm rftAutomation using ibm rft
Automation using ibm rft
 
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsTest automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
 
Planning & building scalable test infrastructure
Planning  & building scalable test infrastructurePlanning  & building scalable test infrastructure
Planning & building scalable test infrastructure
 
Agile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business ManagersAgile Open Source Performance Testing Workshop for Business Managers
Agile Open Source Performance Testing Workshop for Business Managers
 
Test Automation Demonstration with Dr Yongyan Wang by XBOSoft
Test Automation Demonstration with Dr Yongyan Wang by XBOSoftTest Automation Demonstration with Dr Yongyan Wang by XBOSoft
Test Automation Demonstration with Dr Yongyan Wang by XBOSoft
 
Mohammed Kharma-A flexible framework for quality assurance and testing of sof...
Mohammed Kharma-A flexible framework for quality assurance and testing of sof...Mohammed Kharma-A flexible framework for quality assurance and testing of sof...
Mohammed Kharma-A flexible framework for quality assurance and testing of sof...
 
05 test infrastructure
05   test infrastructure05   test infrastructure
05 test infrastructure
 
qLabs How To Get Maximum RoI Using Test Automation
qLabs How To Get Maximum RoI Using Test AutomationqLabs How To Get Maximum RoI Using Test Automation
qLabs How To Get Maximum RoI Using Test Automation
 
03 test specification and execution
03   test specification and execution03   test specification and execution
03 test specification and execution
 
Unit testing using Munit Part 1
Unit testing using Munit Part 1Unit testing using Munit Part 1
Unit testing using Munit Part 1
 
About QTP 9.2
About QTP 9.2About QTP 9.2
About QTP 9.2
 
About Qtp_1 92
About Qtp_1 92About Qtp_1 92
About Qtp_1 92
 
About Qtp 92
About Qtp 92About Qtp 92
About Qtp 92
 

Último

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Último (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Keyword-driven Test Automation Framework

  • 1. Keyword-driven Test Automation Framework Concept, features, architecture Misha Suboch
  • 2. TAF is a program which helps to perform automation testing effectively. Let us see TAF: Features Test Architecture Automation Workflow Framework Future 2
  • 3. 1. Features and Advantages 2. Usage Workflow 3. Architecture 4. Artifacts 5. Implementation in Your Project 6. TAF Core Features 3
  • 4. 1 Features and Advantages 4
  • 5. 1 Keyword-Driven 2 Product-independent 3 Tool-Independent • Business Logic • GUI Objects 4 Maintainability • Steps • Utilities 5
  • 6. Keyword-driven Product-independent Compatible with any automation tools on the market Aligned with Continuous Integration Frameworks (single entry point, unified test reports, etc.) 6
  • 7. 2 Workflow 7
  • 8. 1 Initialization • Study Application 2 • Mock up Test Scenarios Development • Implement Scenarios • Debug /Verify • Run Test Scenarios 3 Usage • Create New Test Scenarios • Tune for New Build 4 Maintainability • Implement New Steps 8
  • 9. 3 Architecture 9
  • 10. Test Scenario 1 Test Scenario 2 Test Bug List Test Scenario N TestComplete TAF TAF Core Custom Run TAF.exe Automation tool Another Automation tool XML HTML Test Reports Tool Specific 10
  • 11. 11
  • 12. Read Configs Read Test Suite/Unified Test Scenario Read Bug List Load Data Constant variables • Stores • Substitute • Calculate Expressions Create Execution List Run Automation Tool TAF Execution Optional (Cleanup) Command Create Reports 12
  • 13. 13
  • 14. 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
  • 15. 15
  • 16. ExecutionList.txt Automation TAF Core Tool TAF TestResultsSummary.txt 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. 17
  • 18. Tool Status of TAF support SilkTest Supported Test TestComplete Supported (TAF Core) Data Quicktest Pro Supported (TAF Core) Watir Supported (TAF Core) Test Selenium Supported (TAF Core) Scenarios Scripts Actions Test Cases Verifies Driver Controller Frames Screens Utilities 18
  • 19. 19
  • 20. 20
  • 21. 21
  • 22. 4 Artifacts 22
  • 23. 23
  • 24. Metrics Summary, Passed 24
  • 25. Summary, Failed Summary, Failed with Bug Link Summary, Known Issue 25
  • 26. 5 Implementation in Your Project 26
  • 27. Automation with TestComplete, Watir Automation with another tool: or QTP: Get Test Complete TAF / Watir TAF / QTP TAF Implement controller Develop test scenarios Develop test scenarios Implement steps Implement steps 27
  • 28. 6 TAF Core Features 28
  • 29. 1. Unique keywords in test scenarios allow you to generate unique text and numbers in specified format 2. Ability to run several test scenarios at once, even if written in different automation tools 3. Ability to use the same test scenario for different automation tools, when one tool could not cover all test configurations (browsers/OS). 4.Unified test results (in .xml) across different automation tools/projects/applications provide integration options with external tools (like Cruise Control). 5. Ability to mark failed test cases as known issue and link to related bugs in test results. 6.Keywords Feature: Load/Repeat keywords allow to create data-driven test cases. Application keyword allow you to work in one test scenario (or even in one test case) with different applications. 29
  • 30. 8. Arithmetic expressions calculation and Variables values substitution. Ability to exchange variables values between different test scenarios, automation tools or even when different test scenarios should be run one by one on different servers. 9. Unified test scenario could be easily accessed for review by customer or business analyst (no programming knowledge required) 10. Working with results: Auto-archiving of previous test results. Test results contains information about what workstation/server was used for scripts run, when and which TAF Core version they were generated by. 11. Extensive configuration features: execution (run selected tests/complete scenario), results output, logging, etc. 30
  • 31. Test Automation Framework Misha Suboch misha.suboch@gmail.com 31