SlideShare a Scribd company logo
Automated Testing for Web application


                                                     Kiattikhun Prathumma




                                                              June 21, 2012

© Copyright 2010, Accellence (Thailand) Ltd.
Agenda



    • What is Automated Testing
    • Automated Testing vs Manual testing
    • Automated Testing Framework
    • Demo
    • Q&A




                                       © 2010 Accellence (Thailand) Limited.
What is Automated Testing



    “…Test automation is the process of writing a
    computer program to do testing that would
    otherwise need to be done manually…”




                            Source: http://en.wikipedia.org/wiki/Test_automation
                                                    © 2010 Accellence (Thailand) Limited.
Advantages

               Automated Testing                          Manual Testing
                                              If Test Cases have to be run a small
     If you have to run a set of tests
                                              number of times it's more likely to
     repeatedly automation is a huge gain
                                              perform manual testing
     Helps performing "compatibility
                                              It allows the tester to perform more
     testing" - testing the software on
                                              ad-hoc (random testing)
     different configurations
     It gives you the ability to run
     automation scenarios to perform          Short term costs are reduced
     regressions in a shorter time
     It gives you the ability to run          The more time tester spends testing a
     regressions on a code that is            module the grater the odds to find
     continuously changing                    real user bugs

     Can be run simultaneously on different
     machines thus decreasing testing time

     Long term costs are reduced


                                                                         © 2010 Accellence (Thailand) Limited.
Disadvantages



           Automated Testing                   Manual Testing


     It's more expensive to
                                       Manual tests can be very time
     automate. Initial investments
                                       consuming
     are bigger than manual testing


     You cannot automate               For every release you must
     everything, some tests still have rerun the same set of tests
     to be done manually               which can be tiresome




                                                           © 2010 Accellence (Thailand) Limited.
Use Automated Testing?


    “…It only makes sense to use automated
    testing tools when the costs of acquiring the
    tool and building and maintaining the tests is
    less than the efficiency gained from the effort"




                         John Overbaugh,
                         Senior Lead Software Development Engineer In Test
                         (SDET) at Microsoft
                                                       © 2010 Accellence (Thailand) Limited.
Use Manual Testing?


    “…Once a team is good at managing testing risk
    and test coverage and applying the right testing
    techniques, then talking about automation
    makes sense."




                       Mike Kelly,
                       Software development manager for a Fortune 100
                       company
                                                    © 2010 Accellence (Thailand) Limited.
Other factors



    • The performance of your test tools
    • The knowledge level of your testing team
    • The continuous growth of software to be tested
    • Number of necessary regressions




                                           © 2010 Accellence (Thailand) Limited.
General approaches to test automation


    1. Code-driven testing
       - Testing frameworks such as the xUnit
         frameworks

    2. Graphical user interface testing
       - A testing framework generates user interface
          events such as keystrokes and mouse clicks,
          and observes the changes that result in the
          user interface




                                            © 2010 Accellence (Thailand) Limited.
Automated Testing Framework

Tool name                    Produced by                 Latest version
HP QuickTest Professional    HP Software Division        11.0
HTTP Test Tool               Open source                 2.0.8
IBM Rational Functional
                             IBM Rational                8.2.1
Tester
LabVIEW                      National Instruments        2011
Maveryx                      Maveryx                     1.2.0
Oracle Application Testing
                             Oracle Corporation          12.1
Suite
QF-Test                      Quality First Software GmbH 3.4.7
Ranorex                      Ranorex GmbH                3.2.3
Rational robot               IBM Rational                2003
Selenium                     Open source                 2.20
SilkTest                     Micro Focus                 2011
                                                                 © 2010 Accellence (Thailand) Limited.
Automated Testing Framework (Cont.)

Tool name               Produced by              Latest version
eggPlant                TestPlant                2012
EiffelStudio AutoTest   Eiffel Software          7.0, Nov 2011
SOAtest                 Parasoft                 9.2
TestComplete            SmartBear Software       8.7
Testing Anywhere        Automation Anywhere      7.5
TestPartner             Micro Focus              6.3
TPT                     PikeTec GmbH             4.0
                        TRICENTIS Technology &
TOSCA Testsuite                                  7.3.1
                        Consulting
Visual Studio Test
                        Microsoft                2010
Professional
WATIR                   Open source              3.0
Telerik Test Studio     Telerik, Inc.            2012.1
                                                          © 2010 Accellence (Thailand) Limited.
Watir


   • It‟s a Ruby library
   • Multi browser (& OS) support
   • Has a rich API
   • Has a „Simple‟ class (for non-tech users)
   • Watij & Watin (Java & .NET)




                                          © 2010 Accellence (Thailand) Limited.
Watir Users




              Source: http://wiki.openqa.org/display/WTR/Watir+Users
                                          © 2010 Accellence (Thailand) Limited.
What kind of automated testing does
Facebook do?




                                      © 2010 Accellence (Thailand) Limited.
Watir at Facebook




                    * Steven Grimm, Facebook‟s test engineering tech lead
                                              © 2010 Accellence (Thailand) Limited.
Watir Demo




             © 2010 Accellence (Thailand) Limited.
Selenium


  • Multi browser, OS & language support
  • Install server-side or as FF add-on
  • Has its own IDE
  • Record and playback tests




                                          © 2010 Accellence (Thailand) Limited.
Selenium Demo




                © 2010 Accellence (Thailand) Limited.
Q&A




      Problem?




                 © 2010 Accellence (Thailand) Limited.
Reference


 •http://www.slideshare.net/vivek_prahlad/web-test-automation-with-selenium
 •http://www.slideshare.net/sebastian_bergmann/testing-phpweb-applications-with-phpunit-and-selenium
 •http://davidweiss.blogspot.com/2006/08/when-to-automate-testing.html
 •http://en.wikipedia.org/wiki/Test_automation
 •http://en.wikipedia.org/wiki/List_of_GUI_testing_tools
 •http://www.fitnesse.org/FrontPage
 •http://seleniumhq.org/
 •http://www.chapterpiece.com/software-development-process/2010/02/06/choosing-automated-testing-or-manual-testing/
 •http://www.welovebug.com/software-testing/manual-vs-automated-testing/
 •http://www.chapterpiece.com/software-development-process/2010/01/21/tell-us-why-automated-testing-failed/
 •http://www.chapterpiece.com/software-development-process/2010/01/30/why-automated-testing-fails/
 •http://www.chapterpiece.com/software-development-process/2010/01/03/testing-in-agile/
 •http://blogs.mulesoft.org/web-testing-selenium/
 •http://watir.com/
 •http://www.outsourcebazaar.com/index_Article_AutomatedVsManualTesing.html
 •http://www.slideshare.net/directi/automated-testing-vs-manual-testing-391121



                                                                                          © 2010 Accellence (Thailand) Limited.
Reference (Cont.)


  •http://allfacebook.com/how-facebook-automatically-tests-code-phpunit-watir_b15369
  •http://www.quora.com/Facebook-Engineering/What-kind-of-automated-testing-does-Facebook-do
  •http://www.slideshare.net/sumanth/watir-presentation-sumanth-krishna-a
  •http://java-thai-talk.blogspot.com/2011/01/automated-testing-vs-manual-testing.html
  •http://googletesting.blogspot.com/2007/10/automating-tests-vs-test-automation.html
  •http://www.hanselman.com/blog/NewReleaseOfWatirMakerNowWatirRecorder.aspx
  •http://wiki.openqa.org/display/WTR/Example+Test+Case
  •http://blog.sahi.co.in/2010/04/sahi-vs-selenium.html




                                                                                         © 2010 Accellence (Thailand) Limited.

More Related Content

What's hot

UI Testing Automation
UI Testing AutomationUI Testing Automation
UI Testing Automation
AgileEngine
 
Test automation
Test automationTest automation
Test automation
Xavier Yin
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
Chankey Pathak
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
Sun Technlogies
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
medsherb
 
Selenium
SeleniumSelenium
Selenium
Adam Goucher
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
gueste1e4db
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
Naresh Chintalcheru
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
Sauce Labs
 
Selenium webdriver interview questions and answers
Selenium webdriver interview questions and answersSelenium webdriver interview questions and answers
Selenium webdriver interview questions and answers
ITeLearn
 
Java Basics for selenium
Java Basics for seleniumJava Basics for selenium
Java Basics for selenium
apoorvams
 
Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
Keytorc Software Testing Services
 
Postman Integration Testing
Postman Integration TestingPostman Integration Testing
Postman Integration Testing
Om Vikram Thapa
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
API Testing
API TestingAPI Testing
API Testing
Bikash Sharma
 
User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?
Maveryx
 
Unit and integration Testing
Unit and integration TestingUnit and integration Testing
Unit and integration Testing
David Berliner
 
Unit Tests And Automated Testing
Unit Tests And Automated TestingUnit Tests And Automated Testing
Unit Tests And Automated Testing
Lee Englestone
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Anirudh Raja
 

What's hot (20)

UI Testing Automation
UI Testing AutomationUI Testing Automation
UI Testing Automation
 
Test automation
Test automationTest automation
Test automation
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Selenium webdriver interview questions and answers
Selenium webdriver interview questions and answersSelenium webdriver interview questions and answers
Selenium webdriver interview questions and answers
 
Java Basics for selenium
Java Basics for seleniumJava Basics for selenium
Java Basics for selenium
 
Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
 
Postman Integration Testing
Postman Integration TestingPostman Integration Testing
Postman Integration Testing
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
API Testing
API TestingAPI Testing
API Testing
 
User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?
 
Unit and integration Testing
Unit and integration TestingUnit and integration Testing
Unit and integration Testing
 
Unit Tests And Automated Testing
Unit Tests And Automated TestingUnit Tests And Automated Testing
Unit Tests And Automated Testing
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 

Viewers also liked

Automated Testing of NASA Software
Automated Testing of NASA SoftwareAutomated Testing of NASA Software
Automated Testing of NASA Software
Dharmalingam Ganesan
 
Web vulnerability scanner getting start
Web vulnerability scanner getting startWeb vulnerability scanner getting start
Web vulnerability scanner getting start
_U2_
 
Software testing metrics
Software testing metricsSoftware testing metrics
Software testing metrics
David O' Connor
 
Puppet Camp NYC 2014: Safely storing secrets and credentials in Git for use b...
Puppet Camp NYC 2014: Safely storing secrets and credentials in Git for use b...Puppet Camp NYC 2014: Safely storing secrets and credentials in Git for use b...
Puppet Camp NYC 2014: Safely storing secrets and credentials in Git for use b...
Puppet
 
Automated Testing Of Web Applications Using XML
Automated  Testing Of  Web  Applications Using  XMLAutomated  Testing Of  Web  Applications Using  XML
Automated Testing Of Web Applications Using XML
diongillard
 
Introduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and ToolsIntroduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and Tools
KMS Technology
 
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Selenium
vivek_prahlad
 
Android UI Design Tips
Android UI Design TipsAndroid UI Design Tips
Android UI Design Tips
Android Developers
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
Pekka Klärck
 
Automated Testing
Automated TestingAutomated Testing
Automated Testing
John Paulett
 
Testing Metrics
Testing MetricsTesting Metrics
Testing Metrics
PM Venkatesha Babu
 

Viewers also liked (11)

Automated Testing of NASA Software
Automated Testing of NASA SoftwareAutomated Testing of NASA Software
Automated Testing of NASA Software
 
Web vulnerability scanner getting start
Web vulnerability scanner getting startWeb vulnerability scanner getting start
Web vulnerability scanner getting start
 
Software testing metrics
Software testing metricsSoftware testing metrics
Software testing metrics
 
Puppet Camp NYC 2014: Safely storing secrets and credentials in Git for use b...
Puppet Camp NYC 2014: Safely storing secrets and credentials in Git for use b...Puppet Camp NYC 2014: Safely storing secrets and credentials in Git for use b...
Puppet Camp NYC 2014: Safely storing secrets and credentials in Git for use b...
 
Automated Testing Of Web Applications Using XML
Automated  Testing Of  Web  Applications Using  XMLAutomated  Testing Of  Web  Applications Using  XML
Automated Testing Of Web Applications Using XML
 
Introduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and ToolsIntroduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and Tools
 
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Selenium
 
Android UI Design Tips
Android UI Design TipsAndroid UI Design Tips
Android UI Design Tips
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
 
Automated Testing
Automated TestingAutomated Testing
Automated Testing
 
Testing Metrics
Testing MetricsTesting Metrics
Testing Metrics
 

Similar to Automated testing web application

Discover the power of QA automation testing
Discover the power of QA automation testingDiscover the power of QA automation testing
Discover the power of QA automation testing
Softweb Solutions
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
DevDay Da Nang
 
Data driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumData driven automation testing of web applications using selenium
Data driven automation testing of web applications using selenium
anandseelan
 
E2 e test with testcafe
E2 e test with testcafeE2 e test with testcafe
E2 e test with testcafe
Malang QA Community
 
Automation testing & Unit testing
Automation testing & Unit testingAutomation testing & Unit testing
Automation testing & Unit testing
Kapil Rajpurohit
 
Automation
AutomationAutomation
Automation
Anil Kumar
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
Tony Huynh
 
5 Best Unit Test Frameworks to Automate Unit Tests
5 Best Unit Test Frameworks to Automate Unit Tests5 Best Unit Test Frameworks to Automate Unit Tests
5 Best Unit Test Frameworks to Automate Unit Tests
Serena Gray
 
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdfBasics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
pcloudy2
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
Gian Maria Ricci
 
Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]
Maria Carcar
 
Test Environment Management
Test Environment ManagementTest Environment Management
Test Environment Management
Kanoah
 
Build And Test Automation - Shortening the Feedback Loop
Build And Test Automation - Shortening the Feedback LoopBuild And Test Automation - Shortening the Feedback Loop
Build And Test Automation - Shortening the Feedback Loop
Rally Software
 
5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation
Sauce Labs
 
SDET UNIT 4.pptx
SDET UNIT 4.pptxSDET UNIT 4.pptx
SDET UNIT 4.pptx
PallawiBulakh1
 
Web Test Automation Framework - IndicThreads Conference
Web Test Automation Framework  - IndicThreads ConferenceWeb Test Automation Framework  - IndicThreads Conference
Web Test Automation Framework - IndicThreads Conference
IndicThreads
 
Top 20 best automation testing tools
Top 20 best automation testing toolsTop 20 best automation testing tools
Top 20 best automation testing tools
QACraft
 
Mark meninger-feb-2010
Mark meninger-feb-2010Mark meninger-feb-2010
Mark meninger-feb-2010
Kitchener-Waterloo Agile
 
Automation
Automation Automation
Automation
Anil Kumar
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guide
bigspire
 

Similar to Automated testing web application (20)

Discover the power of QA automation testing
Discover the power of QA automation testingDiscover the power of QA automation testing
Discover the power of QA automation testing
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
 
Data driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumData driven automation testing of web applications using selenium
Data driven automation testing of web applications using selenium
 
E2 e test with testcafe
E2 e test with testcafeE2 e test with testcafe
E2 e test with testcafe
 
Automation testing & Unit testing
Automation testing & Unit testingAutomation testing & Unit testing
Automation testing & Unit testing
 
Automation
AutomationAutomation
Automation
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
5 Best Unit Test Frameworks to Automate Unit Tests
5 Best Unit Test Frameworks to Automate Unit Tests5 Best Unit Test Frameworks to Automate Unit Tests
5 Best Unit Test Frameworks to Automate Unit Tests
 
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdfBasics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
 
Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]Mobile Automation Meetup Presentation [English]
Mobile Automation Meetup Presentation [English]
 
Test Environment Management
Test Environment ManagementTest Environment Management
Test Environment Management
 
Build And Test Automation - Shortening the Feedback Loop
Build And Test Automation - Shortening the Feedback LoopBuild And Test Automation - Shortening the Feedback Loop
Build And Test Automation - Shortening the Feedback Loop
 
5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation
 
SDET UNIT 4.pptx
SDET UNIT 4.pptxSDET UNIT 4.pptx
SDET UNIT 4.pptx
 
Web Test Automation Framework - IndicThreads Conference
Web Test Automation Framework  - IndicThreads ConferenceWeb Test Automation Framework  - IndicThreads Conference
Web Test Automation Framework - IndicThreads Conference
 
Top 20 best automation testing tools
Top 20 best automation testing toolsTop 20 best automation testing tools
Top 20 best automation testing tools
 
Mark meninger-feb-2010
Mark meninger-feb-2010Mark meninger-feb-2010
Mark meninger-feb-2010
 
Automation
Automation Automation
Automation
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guide
 

Recently uploaded

“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
Edge AI and Vision Alliance
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 

Recently uploaded (20)

“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
 
Artificial Intelligence and Electronic Warfare
Artificial Intelligence and Electronic WarfareArtificial Intelligence and Electronic Warfare
Artificial Intelligence and Electronic Warfare
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 

Automated testing web application

  • 1. Automated Testing for Web application Kiattikhun Prathumma June 21, 2012 © Copyright 2010, Accellence (Thailand) Ltd.
  • 2. Agenda • What is Automated Testing • Automated Testing vs Manual testing • Automated Testing Framework • Demo • Q&A © 2010 Accellence (Thailand) Limited.
  • 3. What is Automated Testing “…Test automation is the process of writing a computer program to do testing that would otherwise need to be done manually…” Source: http://en.wikipedia.org/wiki/Test_automation © 2010 Accellence (Thailand) Limited.
  • 4. Advantages Automated Testing Manual Testing If Test Cases have to be run a small If you have to run a set of tests number of times it's more likely to repeatedly automation is a huge gain perform manual testing Helps performing "compatibility It allows the tester to perform more testing" - testing the software on ad-hoc (random testing) different configurations It gives you the ability to run automation scenarios to perform Short term costs are reduced regressions in a shorter time It gives you the ability to run The more time tester spends testing a regressions on a code that is module the grater the odds to find continuously changing real user bugs Can be run simultaneously on different machines thus decreasing testing time Long term costs are reduced © 2010 Accellence (Thailand) Limited.
  • 5. Disadvantages Automated Testing Manual Testing It's more expensive to Manual tests can be very time automate. Initial investments consuming are bigger than manual testing You cannot automate For every release you must everything, some tests still have rerun the same set of tests to be done manually which can be tiresome © 2010 Accellence (Thailand) Limited.
  • 6. Use Automated Testing? “…It only makes sense to use automated testing tools when the costs of acquiring the tool and building and maintaining the tests is less than the efficiency gained from the effort" John Overbaugh, Senior Lead Software Development Engineer In Test (SDET) at Microsoft © 2010 Accellence (Thailand) Limited.
  • 7. Use Manual Testing? “…Once a team is good at managing testing risk and test coverage and applying the right testing techniques, then talking about automation makes sense." Mike Kelly, Software development manager for a Fortune 100 company © 2010 Accellence (Thailand) Limited.
  • 8. Other factors • The performance of your test tools • The knowledge level of your testing team • The continuous growth of software to be tested • Number of necessary regressions © 2010 Accellence (Thailand) Limited.
  • 9. General approaches to test automation 1. Code-driven testing - Testing frameworks such as the xUnit frameworks 2. Graphical user interface testing - A testing framework generates user interface events such as keystrokes and mouse clicks, and observes the changes that result in the user interface © 2010 Accellence (Thailand) Limited.
  • 10. Automated Testing Framework Tool name Produced by Latest version HP QuickTest Professional HP Software Division 11.0 HTTP Test Tool Open source 2.0.8 IBM Rational Functional IBM Rational 8.2.1 Tester LabVIEW National Instruments 2011 Maveryx Maveryx 1.2.0 Oracle Application Testing Oracle Corporation 12.1 Suite QF-Test Quality First Software GmbH 3.4.7 Ranorex Ranorex GmbH 3.2.3 Rational robot IBM Rational 2003 Selenium Open source 2.20 SilkTest Micro Focus 2011 © 2010 Accellence (Thailand) Limited.
  • 11. Automated Testing Framework (Cont.) Tool name Produced by Latest version eggPlant TestPlant 2012 EiffelStudio AutoTest Eiffel Software 7.0, Nov 2011 SOAtest Parasoft 9.2 TestComplete SmartBear Software 8.7 Testing Anywhere Automation Anywhere 7.5 TestPartner Micro Focus 6.3 TPT PikeTec GmbH 4.0 TRICENTIS Technology & TOSCA Testsuite 7.3.1 Consulting Visual Studio Test Microsoft 2010 Professional WATIR Open source 3.0 Telerik Test Studio Telerik, Inc. 2012.1 © 2010 Accellence (Thailand) Limited.
  • 12. Watir • It‟s a Ruby library • Multi browser (& OS) support • Has a rich API • Has a „Simple‟ class (for non-tech users) • Watij & Watin (Java & .NET) © 2010 Accellence (Thailand) Limited.
  • 13. Watir Users Source: http://wiki.openqa.org/display/WTR/Watir+Users © 2010 Accellence (Thailand) Limited.
  • 14. What kind of automated testing does Facebook do? © 2010 Accellence (Thailand) Limited.
  • 15. Watir at Facebook * Steven Grimm, Facebook‟s test engineering tech lead © 2010 Accellence (Thailand) Limited.
  • 16. Watir Demo © 2010 Accellence (Thailand) Limited.
  • 17. Selenium • Multi browser, OS & language support • Install server-side or as FF add-on • Has its own IDE • Record and playback tests © 2010 Accellence (Thailand) Limited.
  • 18. Selenium Demo © 2010 Accellence (Thailand) Limited.
  • 19. Q&A Problem? © 2010 Accellence (Thailand) Limited.
  • 20. Reference •http://www.slideshare.net/vivek_prahlad/web-test-automation-with-selenium •http://www.slideshare.net/sebastian_bergmann/testing-phpweb-applications-with-phpunit-and-selenium •http://davidweiss.blogspot.com/2006/08/when-to-automate-testing.html •http://en.wikipedia.org/wiki/Test_automation •http://en.wikipedia.org/wiki/List_of_GUI_testing_tools •http://www.fitnesse.org/FrontPage •http://seleniumhq.org/ •http://www.chapterpiece.com/software-development-process/2010/02/06/choosing-automated-testing-or-manual-testing/ •http://www.welovebug.com/software-testing/manual-vs-automated-testing/ •http://www.chapterpiece.com/software-development-process/2010/01/21/tell-us-why-automated-testing-failed/ •http://www.chapterpiece.com/software-development-process/2010/01/30/why-automated-testing-fails/ •http://www.chapterpiece.com/software-development-process/2010/01/03/testing-in-agile/ •http://blogs.mulesoft.org/web-testing-selenium/ •http://watir.com/ •http://www.outsourcebazaar.com/index_Article_AutomatedVsManualTesing.html •http://www.slideshare.net/directi/automated-testing-vs-manual-testing-391121 © 2010 Accellence (Thailand) Limited.
  • 21. Reference (Cont.) •http://allfacebook.com/how-facebook-automatically-tests-code-phpunit-watir_b15369 •http://www.quora.com/Facebook-Engineering/What-kind-of-automated-testing-does-Facebook-do •http://www.slideshare.net/sumanth/watir-presentation-sumanth-krishna-a •http://java-thai-talk.blogspot.com/2011/01/automated-testing-vs-manual-testing.html •http://googletesting.blogspot.com/2007/10/automating-tests-vs-test-automation.html •http://www.hanselman.com/blog/NewReleaseOfWatirMakerNowWatirRecorder.aspx •http://wiki.openqa.org/display/WTR/Example+Test+Case •http://blog.sahi.co.in/2010/04/sahi-vs-selenium.html © 2010 Accellence (Thailand) Limited.