Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Hybrid Test
Automation Framework
Introduction
(Free to Share/View/Download)
Presenter : Ganuka Yashantha
© Ganuka Yashanth...
Contents
Existing Test Automation Framework
Data Driven Framework
Why Hybrid Automation Framework
Hybrid Framework
How to ...
Data Driven Test Framework
1
© Ganuka Yashantha | ganuyash@gmail.com
Existing Framework
In now a days industries using Dat...
© Ganuka Yashantha | ganuyash@gmail.com
Data-Driven Frameworks
A data-driven framework is where test input and output valu...
 In coming slides describes to what extend QA Engineer
requires coding ability when writes an Execution Class/ Data
Objec...
Data Provider Class
Data Loaded from Excel File
Data Passed to the Execution class
© Ganuka Yashantha | ganuyash@gmail.com
Keyword Driven Framework
 Script Writers can use built in frame work which supports to
Keywords. Therefor no coding abili...
Why do we need Hybrid
Automation framework?
2© Ganuka Yashantha | ganuyash@gmail.com
© Ganuka Yashantha | ganuyash@gmail.com
Data Driven Frame Work + Key
Word Driven Frame Work
What is Hybrid Frame Work
Able...
Sample Test Case Runner that will drive our
Hybrid test is shown below.
Once you built the Framework,
No need of coding, j...
Disadvantages of Data Driven Framework
• Tester should be conversant in programming language
• Learning curve is high
• Mo...
Advantages of Hybrid Framework
• No Code level Work (Execution class writes on Excel)
• High level of reusability (All the...
Further Obstacles and Investigations..
• Report generations
• Use of Jenkins
• Execution of multiple test cases
• Implemen...
Next
© Ganuka Yashantha | ganuyash@gmail.com
More About Frame Work Development
Integration of TestNG
Test execution using ...
Thank You
Presenter : Ganuka Yashantha
ganuyash@gmail.com
© Ganuka Yashantha | ganuyash@gmail.com
Upcoming SlideShare
Loading in …5
×

Hybrid Automation Framework Development introduction

1,359 views

Published on

Hybrid Automation Framework Development Introduction

Published in: Technology
  • Login to see the comments

Hybrid Automation Framework Development introduction

  1. 1. Hybrid Test Automation Framework Introduction (Free to Share/View/Download) Presenter : Ganuka Yashantha © Ganuka Yashantha | ganuyash@gmail.com
  2. 2. Contents Existing Test Automation Framework Data Driven Framework Why Hybrid Automation Framework Hybrid Framework How to Use Hybrid Framework Disadvantages of Data Driven Framework Advantages of Hybrid Framework Next © Ganuka Yashantha | ganuyash@gmail.com
  3. 3. Data Driven Test Framework 1 © Ganuka Yashantha | ganuyash@gmail.com Existing Framework In now a days industries using Data Driven frame works It’s also requires script writing experience using IDE(Eclipse or some other). Using this frame work Automation Engineers can write and run robust data driven test suite. Learning Curve is higher
  4. 4. © Ganuka Yashantha | ganuyash@gmail.com Data-Driven Frameworks A data-driven framework is where test input and output values are read from data files (ODBC sources, CVS files, Excel files, DAO objects, ADO objects, and such) and are loaded into variables in captured or manually coded scripts. Data Driven frameworks Mainly Contains Below Packages • Data Objects • Execution Class • Page Objects • Helper Class
  5. 5.  In coming slides describes to what extend QA Engineer requires coding ability when writes an Execution Class/ Data Objects, etc.. © Ganuka Yashantha | ganuyash@gmail.com
  6. 6. Data Provider Class Data Loaded from Excel File Data Passed to the Execution class © Ganuka Yashantha | ganuyash@gmail.com
  7. 7. Keyword Driven Framework  Script Writers can use built in frame work which supports to Keywords. Therefor no coding ability requires when writing automation test suite.  Not supporting bulk data Changes using Excel, CSV or XML  Easier to understand and scripting  Not supporting to new functional changes (JavaScript Executions)  Flexibility is lower  With current functional tests(Various Data Levels) less popular in the industry. © Ganuka Yashantha | ganuyash@gmail.com
  8. 8. Why do we need Hybrid Automation framework? 2© Ganuka Yashantha | ganuyash@gmail.com
  9. 9. © Ganuka Yashantha | ganuyash@gmail.com Data Driven Frame Work + Key Word Driven Frame Work What is Hybrid Frame Work Able to gain advantages of both frame works by eliminating disadvantages
  10. 10. Sample Test Case Runner that will drive our Hybrid test is shown below. Once you built the Framework, No need of coding, just Excel Anyone can Automate Data Set( From Where data is loaded) Page Objects Keywords(Actions) Data validation Column names from Data Set Locators can be ID/XPATH/NAMELocator Type © Ganuka Yashantha | ganuyash@gmail.com
  11. 11. Disadvantages of Data Driven Framework • Tester should be conversant in programming language • Learning curve is high • More time consuming Disadvantages of Keyword Driven Framework • Less flexibility • Not supporting for java script executions/code injections • Less data driven support • Highly depending on the developed framework • When AE’s going to change the framework its highly time consuming and less supporting © Ganuka Yashantha | ganuyash@gmail.com
  12. 12. Advantages of Hybrid Framework • No Code level Work (Execution class writes on Excel) • High level of reusability (All the data objects’ Page Objects maintained in Excel file) • High level of maintainability(Use of Data Driven Framework) • Minimal learning curve for the end user(New Comers can learn quickly) • Higher flexibility(Finally Selenium runs in back end) • Easier to understand(Not in IDE just Excel file) © Ganuka Yashantha | ganuyash@gmail.com
  13. 13. Further Obstacles and Investigations.. • Report generations • Use of Jenkins • Execution of multiple test cases • Implementing custom listeners • Different browser per page • Loading more properties © Ganuka Yashantha | ganuyash@gmail.com
  14. 14. Next © Ganuka Yashantha | ganuyash@gmail.com More About Frame Work Development Integration of TestNG Test execution using “.bat” file
  15. 15. Thank You Presenter : Ganuka Yashantha ganuyash@gmail.com © Ganuka Yashantha | ganuyash@gmail.com

×