Presentation is loading. Please wait.

Presentation is loading. Please wait.

Test Automation in Agile & Migration 2 Selenium

Similar presentations


Presentation on theme: "Test Automation in Agile & Migration 2 Selenium"— Presentation transcript:

1 Test Automation in Agile & Migration 2 Selenium

2 Agenda The Evolution of Testing Importance of Test Automation in Agile
Rise of Open-Source and Low-cost tools Growing Popularity of Selenium Challenges in Migration and the Options Migrate2Selenium Q & A

3 The Evolution of Testing

4 Evolution of Testing Early Days Test In-house Test Centres
Traditional Manual Testing Uncover Defects Test Testing with Defined Process 80% Phased with SDLC Testing with Enhanced Maturity SIT UAT Matured Process CIT Multi-tier integrated Applications Simple web Applications Stand alone Applications Test Automation Evolution of Testing Early Days In-house Test Centres It was all done by developers In-house Testing Team

5 Transformation Era Specialized Centres of Excellence Federated CoEs
Next Level of Automation with Diversified Tools Performance Testing & Tuning Cross Technology integrated Complex Applications $ Automation UI Service/ API Application Security Agile Driven Test Engineering Diversified Complex Applications Mobility, Digital QE Transformation with Continuous Delivery QE, Agile CI & CD DevOps Performance Security Transformation Era Specialized Centres of Excellence Federated CoEs Testing Managed Centres

6 Trend Forecast Tomorrow's World Go Digital Internet of Things
Hybrid Model Trend Forecast Tomorrow's World Go Digital Internet of Things Virtualization Enterprise Mobility & Cloud Technology Focus Aggressive Functional Engineering Building SMART Automation Platforms AI Enablement Hybrid Security Enabled Performance Engineering Testing Focus Envisioned Test Roles Creative Test Engineers Test Scientists Data Security Performance Analytics Specialists Chief Quality Officer Digital Assurance Specialist

7 The Importance of Test Automation in Agile

8 Why Agile? Early Revenue High Flexibility Speed to Market
Client Involvement Better Quality Cost Control More Visibility Right Product Risk Management More Enjoyable!

9 Importance of Test Automation in Agile
Rapid test coverage Early Defect Detection Faster release of new features to business users Reduction in cost of Defects Continuous Integration and Continuous Deployment Reusability of Test Cases Faster Time to Market Test in pieces rather than the whole product Early Identification of defects Faster release of new features to business users Test in pieces. Rapid coverage Ci

10 Test Automation - Agile Test Quadrants
Business Facing Q2 Q3 Functional Testing Story Tests Prototypes Simulations Exploratory Testing Scenario Based Testing Usability Testing User Acceptance Testing Alpha/Beta Automated & Manual Manual Supporting the team Critique Product Q1 Q4 Performance & Load Testing Security Testing ‘*ility’ testing Unit tests API tests Web Services testing Component Tests Automated Tools Automated Reference to Brian Maricks and Lisa Crispin. Expand to box. Source: Lisa Crispin, Brian Marick Technology Facing

11 Agile Automation Process Workflow
Write Acceptance Test Cases Decision to Automate Test Define Acceptance Test Criteria Yes Prototype Rinse & Refine Integrate Testing Iterative design Design/Update proto types for the Business Components at UI and API level Develop/Update the code, User Interface controls and Unit test cases Unit testing, integration testing and do bug fixes No User Story Perform Manual Testing Coordinate each other for developing Automation suite Execute API level automation scripts on continuous integration environment till Acceptance criteria is met Execute end-to-end automation scripts on developed UI Design Pseudo codes/Classes for API Level Automation Build API Level automation scripts with negative and positive scenarios Execute API level automation scripts on every component of developed code Design Keywords for UI Level automation Build automation scripts using Keywords for UI Level automation Capture UI Objects properties and integrate with UI automation scripts API Level Automation Testing UI Level Automation Testing Application Code Development Perform goal based Exploratory testing Adopt Hybrid Risk Based Testing for Test optimization

12 Test Automation Trends
API / Mid Tier / Non GUI Automation Automation in Agile Environment Automation in Cross Platform/ Technology Service/ Server Virtualization Automation in DevOPS Organizations gradually embrace Agile practices with CI/ CD framework to reduce time to market and gain the competitive edge Agile Practices and Internet of Things are influencing the shift from GUI to API Testing Virtualization and automation testing will be managed by policies at a business-service level, requiring all the groups in an organization to work in harmony Allows developers, quality assurance and operations to meet customer needs through Automation With the rise of IoT, the year 2016 will have more focus to validate cross-device/platform and cross-technology functionalities Test Automation using Cloud Platform Micro Services Automation in BDD/ TDD Mobile Automation Selenium + Open Source tools Small, extremely focused services will can be individually tested through automation and integrated to form a robust application More and more organizations are embracing open-source test automation tools that are widely used across the globe Will lead to closer collaboration between developers & testers enabling shift left of testing Automate Application across a variety of browsers/devices/OS in the cloud to reduce time-to-market, increase release velocity without sacrificing quality Almost 35% of mobile app engagements last less than a minute, hence require more focus on Mobile test Automation for better consistency and user experience

13 Rise of Open-Source and Low-cost tools
Journey of Test Automation Tools 1994 1997 2003 2006 2009 Mercury WinRunner Mercury WinRunner Mercury WinRunner HP WinRunner HP WinRunner HP QTP HP QTP HP QTP SQA Robot Rational Robot IBM Rational Robot IBM Rational Robot IBM Rational Robot Segue QAPartner Segue QAPartner Borland Segue QAPartner Borland Segue QAPartner Microfocus Borland Compuware QARun Compuware QARun Compuware QARun Compuware QARun Microsoft Visual Studio Microsoft Visual Studio Microsoft Visual Studio TRENDS Automated Unit Testing GUI Testing API Driven Testing Continuous Testing Unit Testing Frameworks: API Testing Frameworks: Evolution of Frameworks Nunit XUnit PyUnit Frisby Chakram Django Hybrid BPT TDD Junit TestNG Web Testing: Selenium Watir Ranorex Soap UI Sahi GUI Testing: Ranorex Test Complete eggplant Test Studio API Testing: HPUFT Parasoft vRest Postman Cloud Services Testing Gridlastic CloudBees Mailosaur Sauce Labs TestingBot New Age Tools

14 Growing Popularity of Selenium

15 Selenium vs Top Commercial Tools – Jobs and Interest
Source: Indeed Job Trends Source: Google Trends Selenium clearly has far higher adoption and interest than any other Commercial Test Tool

16 Why Selenium? Capability to operate on almost every Operating System (OS) Supports multiple languages such as Python, Perl, Ruby, PHP, .NET, and Java… Supports multiple browsers – Opera, Safari, Chrome, IE 6, 7, 8… and Mozilla Firefox Cost effective, being an open source tool Has an active developer community for support Supports parallel test execution on various browsers across various devices Easy to use development interface Provides scalability and sustainability in the long term

17 Challenges in Migration and the Options

18 Challenges in Migration
What do I do with my existing test scripts, libraries & reusable functions? How do I handle the additional efforts to rewrite the scripts? How do I manage the additional cost to develop everything from the scratch? How do I make sure that all the test assets are migrated without any errors? What about my tool investment cost? Does the new automation tool integrate with the life cycle tools that I already have? Tool cost investment Non-browser and non-web applications Integrate with life cycle tools

19 What are my Options? Continue with the existing test automation tool and use Selenium for all the future automation activities Manually migrate all the existing test scripts, libraries and reusable functions to Selenium Use an automated tool which migrates all the test assets to Selenium with minimum manual intervention

20 Migration Approach Automated Migration with Tool Manual Migration
The entire migration process is accelerated, creating standardized test assets Reduced Time, Cost and Efforts Needs minimal knowledge transition and less management oversight Business remains as usual even while migration Manual Migration Manual migration to Selenium could be quite costly and time consuming. Some of the major challenges are: Impact on business due to downtime issues Lack of training and knowledge for performing the migration Huge time involved in migration Migration Cost Intricacies Retaining the automation coverage Supports migration from any platform to Selenium 15 times faster and 10 times cost effective compared to manual migration Automation coverage is retained Time involved in migration

21 Migrate2Selenium

22 Migrate 2 Selenium - World’s First Selenium Migration tool
Supports multiple language translation Language Support 1 Supports diverse automation frameworks Design Patterns Functional decomposition Keyword driven Data driven Supports multiple Web browsers and versions Application Support World’s First Selenium Migration tool Accelerated Selenium Migration Migrates all types of object repository models Object Repository Style Descriptive Programming Shared Object Per Action Migrates entire test suites that reside in Quality Center/ALM Test Management Integration Migrate 2 Selenium by Gallop Solutions converts scripts to Selenium (Designed for Agile & DevOps) Supports heterogeneous data sources (Excel & DB) Data Sources

23 Script Migration Framework
Source Automation Suite Scripts (Actions) Environment Variables Object Repositories Checkpoints Data Tables/Excel Application Library Built-in Functions Utility Libraries Automation Suite Rules Source Map Files Target Map Files XML Import/Export Solution Scripts (Class Files) Assertions (Class Flies) Environment Variables Object Repository Data Provider Application Functions (Class Files) Utility Library (Class Files) Profiler Parser Translator Assembler Validator Logger Detailed Log File Launch Translator Load OR Set Parent/Child Hierarchy Load Script Files Convert Script Files Assemble Files Validate Project

24 Sample Screenshots

25 Migrate 2 Selenium – Application Navigation
a) Launch Screen b) Home Screen

26 Migrate 2 Selenium – Application Navigation
c) Select the Java Files d) Select UFT Files

27 Migrate 2 Selenium – Application Navigation
e) Select Target folder f) Select Target Language & Framework

28 Migrate 2 Selenium – Application Navigation
g) Selection Summary h) Analysis Report

29 Q & A

30 Service Virtualization
Test Tools Mind Map TDD Cloud Solutions UI Automation Unit Testing Service Virtualization Continuous Integration Mobile Code Coverage Team Management Tools Convert to boxes or intersecting Venn Diagrams since some tools cover a lot of areas.

31 Thank You

32

33 Contact Information 39899 Balentine Drive, Suite 200 Newark, CA 94560 630 Freedom Business Center 3rd Floor King of Prussia, PA 19406 "The V" Ascendas, Orion Block 1st Floor Hyderabad- TG Website :


Download ppt "Test Automation in Agile & Migration 2 Selenium"

Similar presentations


Ads by Google