Test Automation Frameworks: Assumptions, Concepts & Tools

Download Test Automation Frameworks: Assumptions, Concepts & Tools

Post on 19-Feb-2017

246 views

Category:

Technology

4 download

Embed Size (px)

TRANSCRIPT

<p>Agile Testing, Test Automation &amp; BDDOCTOBER 25, 2016SINGAPORE</p> <p>ORGANIZED BY TESTINGMIND#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>About MyselfQuick Bio: Test Automation Consultant having more than 11 years of experience in Software Automated Testing space.</p> <p>Twitter: @sahajamait</p> <p>Github: https://github.com/sahajamit</p> <p>P.S. : All the opinions given in this talk are completely personal and has nothing to do with my employer.</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Talk Abstract: What goes into the selection of right Test Automation Framework for your application? the Application type (Mobile, Desktop, Web), the scripting language(Java, Ruby, Python) or the tools (Selenium, Appium, UFT). No, there are many more factors to consider before finalising your ideal automation framework and if you get this decision wrong then it can have a cascading effect to your entire test strategy. In this rapidly changing Agile environment, the automation framework should be extremely flexible and agnostic of external factors like tools and languages. In this talk we will be covering this subject more deeply with some real life examples.#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Test Automation Frameworks Assumptions, Concepts and Tools</p> <p># By : Amit Rawat</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Who can help you to build your Test Automation Framework ??Some Assumptions:</p> <p>Why to build (already so many open-source frameworks available)I will hire a Selenium/Automation ArchitectI will buy a Licensed tool</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Who can help you to build your Test Automation Framework ??Reality:</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>How easy is to design your Automation Framework</p> <p>Google yield more than million results for the query Test Automation Framework#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Test Automation Frameworks Assumptions, Concepts and Tools What is a Test Automation Framework?</p> <p> It is a supporting structure or a harness that provides a conducive environment to execute and maintain the automation scripts effectively. It defines a single standard of doing things which can result in highly-reusable automation scripts and that can lead to very low cost of maintenance.</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Some common types of Automation FrameworksLinearTest Script ModularityKeyword-drivenBehavior-driven(BDD)HybridAgile Automation Framework</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Keyword Driven Approach (Script Less Automation)</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Data Driven Approach</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Behavior Driven Approach (BDD) : Functionality Driven</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Behavior Driven Approach (BDD) : Data Driven#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Automating the UI or Automating the FUnctionality ??</p> <p>UI/UXFunctionality/Workflow#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Same Test Across Platforms#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Test Automation Pyramid - Current State</p> <p>#</p> <p>Manual Tests</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Test Automation Pyramid : Ideal State</p> <p>Image Credit: http://martinfowler.com/bliki/TestPyramid.html#Manual TestsX-UNIT TestsAPI/ServiceUI</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Test Automation Pyramid : Achievable State#</p> <p>UI TestsAPI/Service TestsManual Tests</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Automation Paradigm: UI Interaction#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>New Paradigm: Automation Robots (Tapster)#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Things to consider before designing your Framework</p> <p>Progressive Test Automation / Agile Test AutomationTypes of testing to be supported: Functional and Non-FunctionalParallel executionApplication Interfaces to be supported: Mobile, Web, Desktop, APIs.Operating SystemReporting : Screenshots, Videos, Data, LogsFramework Interface: Web, Excel, Feature FilesTool / Language IndependenceRun via CIDesign PatternsAutomation Environment</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Parallel Execution &amp; Automation EnvironmentHeadless ExecutionThird party Automation Cloud (SauceLabs, BrowserStack, AWS)Virtualization (VMs, Vagrant, Docker)Creating Test Environment on the fly (Docker, Kubernetes)</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Tool Agnostic FrameworkAbstraction on the tool specific commandsLeveraging multiple tools beneath the framework layer for different types of testingWeb UI Testing - Selenium,AutoITAPI Testing - RestAssured, SoapUI, PostmanData Reconciliation - google-diff-match,PDFBox,BeyondCompareMobile App Testing - Appium, CalabashNetwork Testing - BMPResponsive Design Testing - Galen FrameworkAnalytics Testing - Fiddler, CharlesProxySecurity Testing - BurpMainframe Testing - Jagacy, IBM PCOMExpose Domain Specific Language(DSL)</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Locator StrategyMultiple LocatorsStatistical TechniqueArtificial Intelligence </p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Test Automation Design PatternsPage Object ModelPage Factory PatternLoadable componentBuilderSingleton</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Test ReportingAllureMasterthoughtSerenity</p> <p>#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Test Reporting#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Test Automation Framework Layers#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p> <p>Q &amp; A#</p> <p>Agile Testing, Test Automation &amp; BDD, Singaporewww.testingmind.comOctober 25, 2016</p>

Recommended

View more >