Quality Assurance /
Software Testing Training
Page 2Classification: Restricted
Agenda
• Introduction
• Why Automated Testing?
• What can I Automate?
• Test Automation Process
• Automation Tool
• Automation Framework
Page 3Classification: Restricted
Introduction
• Software Testing - is a process used to identify the correctness,
completeness and quality of developed computer software.
• In reality, testing can never establish the correctness of the
software. It can only find defects, not prove that there are none.
• Manual Testing –is defined as developing and executing tests with
human interaction throughout the entire test phases
• Automation Testing – is defined as developing and executing tests
that can run unattended, comparing the actual to expected results
and logging status.
Page 4Classification: Restricted
Automated software testing is important due to following reasons:
• Manual Testing of all work flows, all fields , all negative scenarios is
time and cost consuming
• It is difficult to test for multi lingual sites manually
• Automation does not require Human intervention. You can run
automated test unattended (overnight)
• Automation increases speed of test execution
• Automation helps increase Test Coverage
• Manual Testing can become boring and hence error prone.
Why Automated Testing?
Page 5Classification: Restricted
What can I Automate?
Test cases to be automated can be selected using the following criterion to
increase the automation ROI
• High Risk - Business Critical test cases
• Test cases that are executed repeatedly
• Test Cases that are very tedious or difficult to perform manually
• Test Cases which are time consuming
• Test cases with multiple data or multiple languages
The following category of test cases are not suitable for automation:
• Test Cases that are newly designed and not executed manually at least
once
• Test Cases for which the requirements are changing frequently
• Test cases which are executed on ad-hoc basis.
• Test cases that do not execute multiple times
Page 6Classification: Restricted
Test Automation Process
Page 7Classification: Restricted
Automation Tool
• Automation tool is a software or Solution to implement the test
automation
• Multiple automation tools are available in the industry mainly
proprietary, Licensed, free and open source.
• Tool selection will be making with different aspects, some of them are
• Environment and application technology Support
• Ease of use
• Object identification
• Scripting Language Used
• Support for various types of test - including functional, test
management, mobile, etc...
• Easy to debug the automation software scripts
• Ability to recognize objects in any environment
• Extensive test reports and results
• Minimize training cost of selected tools
Page 8Classification: Restricted
Automation Tool
Product Vendor URL
Selenium Open Source http://seleniumhq.org/
Unified Functional
Testing (UFT)
HP https://saas.hpe.com/en-
us/software/uft
VSTS/Coded UI Microsoft http://msdn.microsoft.com/en-
us/library/dd286726.aspx
Ranorex Ranorex
GmbH
http://www.ranorex.com
Test Complee Smartbear https://smartbear.com/product/tes
tcomplete/overview/
• Some of the leading automation tool in the software industries are,
Page 9Classification: Restricted
• Test Automation Framework - A set of guidelines like coding
standards , test-data handling , object repository treatment etc...
which when followed during automation scripting produce beneficial
outcomes like increase code re-usage , higher portability , reduced
script maintenance cost etc.
• Major types automation frameworks are:
• Data Driven: While Test case logic resides in Test Scripts, the Test Data
is separated and kept outside the Test Scripts. Test Data is read from
the external files (Excel Files, Text Files, CSV Files, etc.) and are loaded
into the variables inside the Test Script.
Automation Framework
Page 10Classification: Restricted
Automation Framework
• Hybrid Automation framework: Combination of more than one driven
framework
• Keyword + Data
• Keyword Driven: Test scripts are created based on the keyword and
feeding the keywords externally from the script
• Keywords are nothing but the functionality of the application-under-
test and it will define in the automating tool.
• 2 Types of Keyword driven automation frameworks are available,
• Business Level / High Level Keyword :
• Eg. LoginToApplication
• Action Level/Low Level keyword:
• Eg: OpenURL
EnterText(UserID)
EnterPassword(Password)
ClickObject (Login)
Page 11Classification: Restricted
Question?
Page 12Classification: Restricted
Thank You

Introduction to Automation Testing

  • 1.
  • 2.
    Page 2Classification: Restricted Agenda •Introduction • Why Automated Testing? • What can I Automate? • Test Automation Process • Automation Tool • Automation Framework
  • 3.
    Page 3Classification: Restricted Introduction •Software Testing - is a process used to identify the correctness, completeness and quality of developed computer software. • In reality, testing can never establish the correctness of the software. It can only find defects, not prove that there are none. • Manual Testing –is defined as developing and executing tests with human interaction throughout the entire test phases • Automation Testing – is defined as developing and executing tests that can run unattended, comparing the actual to expected results and logging status.
  • 4.
    Page 4Classification: Restricted Automatedsoftware testing is important due to following reasons: • Manual Testing of all work flows, all fields , all negative scenarios is time and cost consuming • It is difficult to test for multi lingual sites manually • Automation does not require Human intervention. You can run automated test unattended (overnight) • Automation increases speed of test execution • Automation helps increase Test Coverage • Manual Testing can become boring and hence error prone. Why Automated Testing?
  • 5.
    Page 5Classification: Restricted Whatcan I Automate? Test cases to be automated can be selected using the following criterion to increase the automation ROI • High Risk - Business Critical test cases • Test cases that are executed repeatedly • Test Cases that are very tedious or difficult to perform manually • Test Cases which are time consuming • Test cases with multiple data or multiple languages The following category of test cases are not suitable for automation: • Test Cases that are newly designed and not executed manually at least once • Test Cases for which the requirements are changing frequently • Test cases which are executed on ad-hoc basis. • Test cases that do not execute multiple times
  • 6.
  • 7.
    Page 7Classification: Restricted AutomationTool • Automation tool is a software or Solution to implement the test automation • Multiple automation tools are available in the industry mainly proprietary, Licensed, free and open source. • Tool selection will be making with different aspects, some of them are • Environment and application technology Support • Ease of use • Object identification • Scripting Language Used • Support for various types of test - including functional, test management, mobile, etc... • Easy to debug the automation software scripts • Ability to recognize objects in any environment • Extensive test reports and results • Minimize training cost of selected tools
  • 8.
    Page 8Classification: Restricted AutomationTool Product Vendor URL Selenium Open Source http://seleniumhq.org/ Unified Functional Testing (UFT) HP https://saas.hpe.com/en- us/software/uft VSTS/Coded UI Microsoft http://msdn.microsoft.com/en- us/library/dd286726.aspx Ranorex Ranorex GmbH http://www.ranorex.com Test Complee Smartbear https://smartbear.com/product/tes tcomplete/overview/ • Some of the leading automation tool in the software industries are,
  • 9.
    Page 9Classification: Restricted •Test Automation Framework - A set of guidelines like coding standards , test-data handling , object repository treatment etc... which when followed during automation scripting produce beneficial outcomes like increase code re-usage , higher portability , reduced script maintenance cost etc. • Major types automation frameworks are: • Data Driven: While Test case logic resides in Test Scripts, the Test Data is separated and kept outside the Test Scripts. Test Data is read from the external files (Excel Files, Text Files, CSV Files, etc.) and are loaded into the variables inside the Test Script. Automation Framework
  • 10.
    Page 10Classification: Restricted AutomationFramework • Hybrid Automation framework: Combination of more than one driven framework • Keyword + Data • Keyword Driven: Test scripts are created based on the keyword and feeding the keywords externally from the script • Keywords are nothing but the functionality of the application-under- test and it will define in the automating tool. • 2 Types of Keyword driven automation frameworks are available, • Business Level / High Level Keyword : • Eg. LoginToApplication • Action Level/Low Level keyword: • Eg: OpenURL EnterText(UserID) EnterPassword(Password) ClickObject (Login)
  • 11.
  • 12.