Selenium Automation Framework (SAF).


Quicker, more reliable test automation
Automation technologies improve test coverage and yield higher quality
products. They save thousands of manual test execution hours,                             Key features
significantly reducing costs. SAF is a customized framework developed                         Intuitive, user-friendly interface
using Selenium, a widely accepted web application automation tool. It                         for creation and execution of
shrinks test cycle times and related costs. Selenium is a portable software                   test suites
testing framework for web applications. The tests can be written as HTML                     Robust, flexible and extensible
tables or coded in a number of popular programming languages. They can                        framework and support test
be run directly in most modern web browsers. Selenium can be deployed                         automation on diverse sets of web
on Windows, Linux and Macintosh.                                                              applications across domains
                                                                                             Programmatic generation of
                                                                                              functional test cases and
SAF framework
                                                                                              test suites
SAF increases automation efficiency by minimizing initial coding effort. It is
                                                                                             Integration for dynamic and
a script-less framework used for test automation of web applications that
                                                                                              flexible grouping of test suites
are developed on .Net, Java / J2EE, AJAX. The framework provides a
                                                                                             Schedulers for test execution and
platform to implement data driven and Hybrid – keyword + data driven –
                                                                                              test report mailing
framework by spreadsheet template. It can be used in your current automa-
                                                                                             Enables users to perform
tion project. SAF helps enterprises speed up testing using accelerators at
                                                                                              functional, acceptance
the test design layer while keeping the automation suite flexible to
                                                                                              and compatibility testing for most
interface with commercial tools, whenever needed. The test framework
                                                                                              web applications
provides a comprehensive reporting dashboard for managing tests.
                                                                                             Automated HTML report
                                                                                              generation and emailing of the
       Concurrent & remote execution                       Config                             same to all stake holders
                                                             file
       Huge test data generator                                                             Detailed test execution results
       Java code generation                                                                  with consolidated summary and
                                    Integration                            Sent email
                                                      Testing scripts
       Script-less framework
                                    with testNG,
                                                       selenium RC
                                                                           excel report       error snapshots
                                    DOM inspector                          HTML report
                                                                                             Supports concurrent-related
       Reusable functions
                                            Integration                                       bugs detection
       Support DDT                         with testNG,
                                                                    Function
                                                                    library
                                            DOM inspector
       Object repository
Test Automation process                                                                                 Faster execution with Webdriver;
                                                                                                         provides a Hudson plug-in to
                                                                                                         perform in a continuous
                                         Continuous integration                                          integration (CI) environment

                                         Invokes
                                                                                                        Supports UI automation with Sikuli
                                                                                                        Manages multiple execution VM
                                               SAF engine
                                                                                                         environments to run the tests
                                             ANT (build.xml)
                                                                                                         against a vast combination of
                                            TestNg ( Testsuite)
                                                                                          Email          browsers / OS
         Master                                                                           report
        conf file                                                                           with         Script execution, logging defect
                                     Sikuli,autolt                                     screenshots
                                     SeleniumRC                Keywords                                  and tracking from QC
                                   Backed selenium              engine
                                                                                                        Support for sequential and
                                  Seleniumwebdriver
                                                                                                         concurrent execution on



                              !
                                                                                                         various browsers
                                                        Reads
                                                                                                        Mobile web application
             AUT (web, desktop,              Resuable func                Resuable object
                  devices)                     libraries                     libraries                   automation on Android devices
                                                                                                        Selective test script generation for
                                                                                                         expert view, keyword view,
                                                                                                         and many more
                                                                                                        Reduced time-to-market
                                                                                                        Utilities for handheld device
                                                                                                         automation, SAF script generation,
                                                                                                         PDF reports


                                                                                                     Key benefits
                                                                                                        Built on open source tools /
                                                                                                         libraries / frameworks to reduce
                                                                                                         overall costs for customers
                                                                                                        Increases flexibility of time
                                                                                                         and resources
                                                                                                        Avoid redundancy on
                                                                                                         test execution
                                                                                                        Increases test coverage to enhance
                                                                                                         the quality and reliability of the
                                                                                                         end product
                                                                                                        Enables quick updates and shorter
Success story
                                                                                                         learning curve due to our high
The customer is a leading rental car supplier to premium commercial
                                                                                                         interaction with Selenium
and leisure segments of the travel industry. Mindtree is involved in
                                                                                                         user community
development and testing of applications.




www.mindtree.com                                                                                                          ©Mindtree Ltd 2012
Business challenge                                                                       Reduces test automation
   Understand the vast application and the domain quickly,                               development phase by over
    without any proper artifacts                                                          50% reduction
   Consolidate verification and validation activities to                                 High productivity
    reduce dependency                                                                    Low maintenance cost
   Share and reduce infrastructure costs; economically                                  Facilitates better communication
    manage resources                                                                      between various stakeholders and
   Create a flexible and scalable model in line with growing needs                        developers, using tables for
   Standardize tools and follow a stringent testing methodology                          representing tests and reporting
   Reduce time-to-market and cost while maintaining                                      their results
    quality and performance                                                              Reduces dependency on
Test automation approach                                                                  technically skilled resources

   Identified set of complex, medium and simple test cases for each of the
    applications for our in-house Selenium Automation Framework
                                                                                      Technology details
                                                                                         Open source tools / frameworks /
    (SAF) evaluation
   Identify regression set for automation - collaboration with business                  add-ons / and utilities which

    Analysts, statistical analysis of application logs for most used features             include: Selenium-RC, TestNG, Java
   Prioritize identified automation test-set based on business impact into                and Ant developed on Windows
    core and functional regression test suites                                            operating system
   Prepare automation strategy and identification of SAF                                 Browser support includes: Firefox
    customizations required                                                               (1.5+), Internet Explorer (6.0
   Develop reusable components, automated test cases, test data sets                     onwards), and Google Chrome.
    and parameterizations                                                                 Theoretically at least, any modern

Benefits                                                                                   browser that supports JavaScript
                                                                                          such as Safari (1.3+), Mozilla Suite
   Reduced test data set-up time significantly by using automation scripts
                                                                                          (1.6+, 1.7+), Sea Monkey (1.0),
   Leveraged CoE, which allowed comprehensive and variable
                                                                                          Opera (8), Camino (1.0a1)
    testing needs
                                                                                         OS support includes: Windows,
   Automated testing methods increased software quality and reliability;
                                                                                          Linux, GNU, Mobile (Android)
    reduced defects and time-to-market
   Reduced manual regression test effort by 46% to increase coverage
    of product areas
   Reduced effect in cross browser testing due to concurrent execution
    of automated tests across browsers
   Reduction in release cycles for production releases and
    weekend outages
   Faster realization of ROI on test automation due to reduced automated
    test development time
   Multi-platform, device and technology testing using
    in-house frameworks



About Mindtree
Mindtree is a global information technology solutions company with revenues of over USD 400 million. Our team of 11,000 experts
engineer meaningful technology solutions to help businesses and societies flourish. We enable our customers achieve competitive
advantage through flexible and global delivery models, agile methodologies and expert frameworks.

www.mindtree.com                                                                                            ©Mindtree Ltd 2012

Selenium Automation Framework (SAF).

  • 1.
    Selenium Automation Framework(SAF). Quicker, more reliable test automation Automation technologies improve test coverage and yield higher quality products. They save thousands of manual test execution hours, Key features significantly reducing costs. SAF is a customized framework developed  Intuitive, user-friendly interface using Selenium, a widely accepted web application automation tool. It for creation and execution of shrinks test cycle times and related costs. Selenium is a portable software test suites testing framework for web applications. The tests can be written as HTML  Robust, flexible and extensible tables or coded in a number of popular programming languages. They can framework and support test be run directly in most modern web browsers. Selenium can be deployed automation on diverse sets of web on Windows, Linux and Macintosh. applications across domains  Programmatic generation of functional test cases and SAF framework test suites SAF increases automation efficiency by minimizing initial coding effort. It is  Integration for dynamic and a script-less framework used for test automation of web applications that flexible grouping of test suites are developed on .Net, Java / J2EE, AJAX. The framework provides a  Schedulers for test execution and platform to implement data driven and Hybrid – keyword + data driven – test report mailing framework by spreadsheet template. It can be used in your current automa-  Enables users to perform tion project. SAF helps enterprises speed up testing using accelerators at functional, acceptance the test design layer while keeping the automation suite flexible to and compatibility testing for most interface with commercial tools, whenever needed. The test framework web applications provides a comprehensive reporting dashboard for managing tests.  Automated HTML report generation and emailing of the  Concurrent & remote execution Config same to all stake holders file  Huge test data generator  Detailed test execution results  Java code generation with consolidated summary and Integration Sent email Testing scripts  Script-less framework with testNG, selenium RC excel report error snapshots DOM inspector HTML report  Supports concurrent-related  Reusable functions Integration bugs detection  Support DDT with testNG, Function library DOM inspector  Object repository
  • 2.
    Test Automation process  Faster execution with Webdriver; provides a Hudson plug-in to perform in a continuous Continuous integration integration (CI) environment Invokes  Supports UI automation with Sikuli  Manages multiple execution VM SAF engine environments to run the tests ANT (build.xml) against a vast combination of TestNg ( Testsuite) Email browsers / OS Master report conf file with  Script execution, logging defect Sikuli,autolt screenshots SeleniumRC Keywords and tracking from QC Backed selenium engine  Support for sequential and Seleniumwebdriver concurrent execution on ! various browsers Reads  Mobile web application AUT (web, desktop, Resuable func Resuable object devices) libraries libraries automation on Android devices  Selective test script generation for expert view, keyword view, and many more  Reduced time-to-market  Utilities for handheld device automation, SAF script generation, PDF reports Key benefits  Built on open source tools / libraries / frameworks to reduce overall costs for customers  Increases flexibility of time and resources  Avoid redundancy on test execution  Increases test coverage to enhance the quality and reliability of the end product  Enables quick updates and shorter Success story learning curve due to our high The customer is a leading rental car supplier to premium commercial interaction with Selenium and leisure segments of the travel industry. Mindtree is involved in user community development and testing of applications. www.mindtree.com ©Mindtree Ltd 2012
  • 3.
    Business challenge  Reduces test automation  Understand the vast application and the domain quickly, development phase by over without any proper artifacts 50% reduction  Consolidate verification and validation activities to  High productivity reduce dependency  Low maintenance cost  Share and reduce infrastructure costs; economically  Facilitates better communication manage resources between various stakeholders and  Create a flexible and scalable model in line with growing needs developers, using tables for  Standardize tools and follow a stringent testing methodology representing tests and reporting  Reduce time-to-market and cost while maintaining their results quality and performance  Reduces dependency on Test automation approach technically skilled resources  Identified set of complex, medium and simple test cases for each of the applications for our in-house Selenium Automation Framework Technology details  Open source tools / frameworks / (SAF) evaluation  Identify regression set for automation - collaboration with business add-ons / and utilities which Analysts, statistical analysis of application logs for most used features include: Selenium-RC, TestNG, Java  Prioritize identified automation test-set based on business impact into and Ant developed on Windows core and functional regression test suites operating system  Prepare automation strategy and identification of SAF  Browser support includes: Firefox customizations required (1.5+), Internet Explorer (6.0  Develop reusable components, automated test cases, test data sets onwards), and Google Chrome. and parameterizations Theoretically at least, any modern Benefits browser that supports JavaScript such as Safari (1.3+), Mozilla Suite  Reduced test data set-up time significantly by using automation scripts (1.6+, 1.7+), Sea Monkey (1.0),  Leveraged CoE, which allowed comprehensive and variable Opera (8), Camino (1.0a1) testing needs  OS support includes: Windows,  Automated testing methods increased software quality and reliability; Linux, GNU, Mobile (Android) reduced defects and time-to-market  Reduced manual regression test effort by 46% to increase coverage of product areas  Reduced effect in cross browser testing due to concurrent execution of automated tests across browsers  Reduction in release cycles for production releases and weekend outages  Faster realization of ROI on test automation due to reduced automated test development time  Multi-platform, device and technology testing using in-house frameworks About Mindtree Mindtree is a global information technology solutions company with revenues of over USD 400 million. Our team of 11,000 experts engineer meaningful technology solutions to help businesses and societies flourish. We enable our customers achieve competitive advantage through flexible and global delivery models, agile methodologies and expert frameworks. www.mindtree.com ©Mindtree Ltd 2012