SlideShare a Scribd company logo
Open Source Automation tools
                  overview
                 Lior Kinsbruner
                  February 2011

                           RSA
• RSA company overview

                        • Automation Challenges

                        • RSA In-Use tools

                             • Introduction to JSYSTEM

                             • Introduction to Selenium
Table of Contents            • Introduction to BadBoy

                             •Introduction to AutoIT

                             • Introduction to FIT

                             • Introduction to JEMMY

                        • How they all work together?

                        •Automation process in RSA

                        • DEMO

                        • Q&A




                    2
RSA in a nutshell J


RSA, The Security Division of EMC, provides Secure Data, Compliance,
SIM, SEM, SIEM, PCI, Consumer Identity, Two-Factor Authentication,
Custom Applications, Consulting, Assessment, and other security solutions
and services to over 90% of the Fortune 500

qLine of products in IL:
   q3DS
   qAAOP
   qAAH
   qIDV
   qFraud Action
   qCRE




                                    3
Why use automation tools?




                        • Time consuming        ü Speed
                         • Low reliability   ü Repeatability
                       • Human resources     ü Programming
                          • Inconsistent        capabilities
                                              ü Coverage
                                              ü Reliability
                                              ü Reusability



                                 4
Challenges

Multiple environments and platforms
•   OS
•   DBs
•   Application Servers

Frequent changes in SUT – quick response required!
Working with various technologies
•   Web Services – SOAP
•   Java API
•   Web applications
•   CLI



                           5
Guidelines for choosing our automation framework

•Data driven capabilities a
•Support for Client-Server and Web based applications a
•Platform/OS independent a
•Reporting capabilities a
•Email notification support a
•Ease of use a
•Documentation a
•Forums exposure a
•Ease of debugging and logging a
•Version control integration a
•Cost a

•Disadvantages:

    •Requires development skills for framework implementation and structural changes X

    •Bug tracking integration support X requires in-house coding

    •Product support – Open source tool…you implement your feature requests OR pay for
    outsourcing to do that for you… X




                                                  6
Introduction to JSYSTEM

þ JSystem is a framework for writing and running automated
    tests. The Jsystem Automation Framework is written in Java
    and based on open source java projects and custom code.




þ   http://www.jsystemtest.org/

                                  7
Automation life cycle




                            8
                        8
Introduction to SELENIUM

ØWeb testing framework
ØRuns in a browser
ØHTML & Javascript
ØOpen source
Ø:‫כתובת האתר הרשמי‬
http://seleniumhq.org
ØEasy record and playback
ØIntelligent field selection will use IDs,
names, or XPATH as needed
ØAuto-complete for all common Selenium
commands
ØDebug and set breakpoints
ØSave tests as HTML, Java, Ruby scripts, or
any other format


                Web 1.0                                Web 2.0
            Static content                         Dynamic content
                  HTML                            AJAX, FLEX, FLASH
         Company oriented                         Community oriented
              Web forms                            Web applications
                Explorer                      Firefox, Opera, Chrome
                                              9
Selenium Features

ü Supports a variety of browsers



ü Runs on multiple platforms



ü Supports Flex and Flash



ü Record & Export variety of languages




                                   10
Selenium Add-ons and Tips
Working with XPATH tips:
•Don’t use things that might change:
     •Div
     •Table cells
     •Language specific elements
•Use IDs
•Notice search speed when using long XPATH expressions
Firefox Add-on/s:

• Selenium IDE - http://seleniumhq.org

• XPATH checker - http://slesinsky.org/brian/code/xpath_checker.html

• Firebug & IE Developer toolbar - http://getfirebug.com

• Javascript debugger -https://addons.mozilla.org/en-US/firefox/addon/216




                                          11
Introduction to BadBoy

  Freeware tool which helps Web Application automation testing with Record & Replay
  capabilities.
  Some of the tools capabilities:
   •   Reports – Clear display of where failures are as well as values of variables when they occurred
   •   Log Views – A viewer for log files.
   •   AJAX Form Population - Form Populators which send DOM events for better AJAX playback
   •   Error Handlers and Retries - You can configure how Badboy responds to items that fail,
       including retrying them.
   •   External JavaScript Files - You can include JScript items that load scripts from external files
   •   Waitable Assertions - You can configure Assertions to wait a period of time for conditions to
       become true.
   •   Manual Review Support – You can add manual review checkpoints to your scripts for pages
       that should be inspected manually after a script has run
   •   Documentation Export – You can save a complete outline of your script including
       documentation in HTML format




•Official Web Site: http://www.badboy.com.au/

                                                   12
Introduction to AutoIT

AutoIt v3 is a freeware BASIC-like scripting language designed for
automating the Windows GUI and general scripting. It uses a combination
of simulated keystrokes, mouse movement and window/control
manipulation in order to automate tasks
•Easy to learn BASIC-like syntax
•Simulate keystrokes and mouse movements
•Manipulate windows and processes
•Interact with all standard windows controls
•Scripts can be compiled into standalone executables
•Create Graphical User Interfaces (GUIs)
•Regular expressions
•Directly call external DLL and Windows API functions
•Detailed help file and large community-based support forums
•Compatible with Windows 2000 / XP / 2003 / Vista / 2008 / Windows 7 / 2008 R2
•Unicode and x64 support


http://www.autoitscript.com/site/autoit/
                                       13
Introduction to FIT and Fitnesse

The fully integrated standalone wiki, and acceptance testing framework
üFitNesse is a wiki, which is a style of web server that allows any visitor to
make any edits, including changing existing pages and creating new pages.
ü serves us in :
 It
     üDefining Acceptance Tests
     üRun those tests and see the results
ü – is the engine that actually processes each FitNesse test table.
 FIT
ü provides easy way to write ‘executable’ acceptance tests using simple
 Fit
HTML tables.
•FIT - See it in action soon….
•FitNesse (run it using java -jar fitnesse.jar –p 8080)
http://localhost:8080/FitTest?test




                                       14
Introduction to JEMMY

üFree, open source testing toolkit for Swing/JFC applications, supported by
the developers of the NetBeans IDE
JEMMY Main objectives:
§Java library used to create UI automated tests
§Provides support covering all Swing components
§Can be easily extended for custom component support
§Two modes of action reproducing (Robot and event dispatching)
     §Pre/post verification methods
§When test fails? – Jemmy exceptions and timeouts
 JEMMY Operators:
 §Find a window – JFrameOperator, JDialogOperator
 §Find a component inside container
        §by text
        §By index
        §by component name
        §using Component-Chooser
 §Interact with component
 §simulate user actions
 §call component API


JEMMY       ààà See it in action J
                                                15
How they all work together?

• Test plan and test labs - QC
• Execution and Reporting - Jsystem
• Defect tracking - JIRA
• Continuous Integration
    •Hudson - http://hudson-ci.org/
       •Provides an easy-to-use so-called continuous integration system,
       making it easier for developers to integrate changes to the project
       •Monitoring executions of externally-run jobs
       •Reports build results and sends alerts on failures of build using
       Email/RSS
   •MAVEN - http://maven.apache.org/
       •Manages a project's build, reporting and documentation
       •Handle resources repositories and projects dependencies.
       •Assists with testing
       •Runs web applications
       •Produce reports on projects
       •Any number of other tasks provided by plug-ins.

                                      16
Automation process in RSA from A-Z




                      17
18

More Related Content

PPTX
Extending Arquillian graphene
PDF
[English version] JavaFX and Web Integration
PDF
Automation Open Source tools
PDF
DevOps:建造開發維運的跨界之橋 (@ C.C. Agile #37)
PPTX
#JavaOne What's in an object?
PPTX
Lesson 2 introduction in computing
PDF
Lec 3 01_aug13
PDF
Containerizing legacy applications
Extending Arquillian graphene
[English version] JavaFX and Web Integration
Automation Open Source tools
DevOps:建造開發維運的跨界之橋 (@ C.C. Agile #37)
#JavaOne What's in an object?
Lesson 2 introduction in computing
Lec 3 01_aug13
Containerizing legacy applications

What's hot (20)

PDF
Behaviour testing for single-page applications and API’s
PPT
Java introduction
PDF
eSoftHead - groupware solution
DOC
Mayur_Resume (2) (1)
PPTX
MWLUG 2015 - An Introduction to MVC
PDF
CLA Summit 2013: Connecting LabVIEW to Everything Else
 
PDF
Introduction to Continuous Integration
PDF
What's New in NetBeans IDE 7.x
PPTX
Wintellect - Devscovery - Portable Class Library
PPTX
Build software like a bag of marbles, not a castle of LEGO®
PPTX
Build Time Hacking
PPTX
La vita nella corsia di sorpasso; A tutta velocità, XPages!
PPTX
Upgrading to Team Foundation Server (TFS) 2012 – What You Need to Know!
PDF
Attacks on SAP Mobile
PDF
Calling all modularity solutions
PDF
NIWeek 2012: Fire and Forget / Bulletproof Builds Using Continuous Integratio...
 
PPTX
Best Practices for JSF, Gameduell 2013
PDF
JDD2015: Java Everywhere Again—with DukeScript - Jaroslav Tulach
PPTX
Continuous delivery applied (DC CI User Group)
PDF
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
Behaviour testing for single-page applications and API’s
Java introduction
eSoftHead - groupware solution
Mayur_Resume (2) (1)
MWLUG 2015 - An Introduction to MVC
CLA Summit 2013: Connecting LabVIEW to Everything Else
 
Introduction to Continuous Integration
What's New in NetBeans IDE 7.x
Wintellect - Devscovery - Portable Class Library
Build software like a bag of marbles, not a castle of LEGO®
Build Time Hacking
La vita nella corsia di sorpasso; A tutta velocità, XPages!
Upgrading to Team Foundation Server (TFS) 2012 – What You Need to Know!
Attacks on SAP Mobile
Calling all modularity solutions
NIWeek 2012: Fire and Forget / Bulletproof Builds Using Continuous Integratio...
 
Best Practices for JSF, Gameduell 2013
JDD2015: Java Everywhere Again—with DukeScript - Jaroslav Tulach
Continuous delivery applied (DC CI User Group)
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
Ad

Viewers also liked (20)

PDF
Ft Riley MWR's Fall Guide 2012
PPTX
RED C End of year review 2013 & trends 2014
PPTX
Kursus ict bt
PPT
probability
PPTX
Evaluation q1 presentation
PDF
Insights Ecuador año 4- 2016
PDF
The 1st infantry Division Post 13 Jan Edition
PPS
Displify show
PPTX
Purdue Influential
PDF
Effects of TMOF-Bti against Aedes outside lab
PDF
Patchouli livelihoods info for bop mobiles
PPTX
Construction of print products m
PDF
CCNA part 2
PDF
Art of Teaching
PDF
1ID and Fort Riley Monthly News Update
PPTX
High tech ventue creation in agriculture
PDF
Fort Riley Summer MWR Guide 2012
PPTX
Year 1 Intro to CTO Workshop 2014 - BHSEC Queens, March 2014
PDF
5 September 2012 1ABCT Weekly News Update
PPTX
Str8ts Weekly Extreme #53 - Solution
Ft Riley MWR's Fall Guide 2012
RED C End of year review 2013 & trends 2014
Kursus ict bt
probability
Evaluation q1 presentation
Insights Ecuador año 4- 2016
The 1st infantry Division Post 13 Jan Edition
Displify show
Purdue Influential
Effects of TMOF-Bti against Aedes outside lab
Patchouli livelihoods info for bop mobiles
Construction of print products m
CCNA part 2
Art of Teaching
1ID and Fort Riley Monthly News Update
High tech ventue creation in agriculture
Fort Riley Summer MWR Guide 2012
Year 1 Intro to CTO Workshop 2014 - BHSEC Queens, March 2014
5 September 2012 1ABCT Weekly News Update
Str8ts Weekly Extreme #53 - Solution
Ad

Similar to Microsoft power point automation-opensourcetestingtools_matrix-1 (20)

PPTX
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
PPT
Selenium for everyone
PPTX
Tools for Software Testing
PPTX
Top 20 best automation testing tools
PDF
KrishnaToolComparisionPPT.pdf
PPTX
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
PPTX
#ATAGTR2020 Presentation - Universal Test Automation Framework
PDF
Accessibility Testing - Using Asqatasun - Meetup Webinar
PPTX
Introduction to selenium
PDF
Unit Testing in JavaScript
PPTX
Test automation proposal
PPTX
Selenium
PDF
Choosing right-automation-tool
PDF
TestMaker Object Designer Training - Basics
PPTX
Web Automation Testing for developers?
PPTX
Make the Shift from Manual to Automation with Open Source
PPTX
Cerberus_Presentation1
PPTX
Cerberus : Framework for Manual and Automated Testing (Web Application)
PDF
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
PDF
01/2009 - Portral development with liferay
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
Selenium for everyone
Tools for Software Testing
Top 20 best automation testing tools
KrishnaToolComparisionPPT.pdf
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
#ATAGTR2020 Presentation - Universal Test Automation Framework
Accessibility Testing - Using Asqatasun - Meetup Webinar
Introduction to selenium
Unit Testing in JavaScript
Test automation proposal
Selenium
Choosing right-automation-tool
TestMaker Object Designer Training - Basics
Web Automation Testing for developers?
Make the Shift from Manual to Automation with Open Source
Cerberus_Presentation1
Cerberus : Framework for Manual and Automated Testing (Web Application)
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
01/2009 - Portral development with liferay

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Electronic commerce courselecture one. Pdf
PPT
Teaching material agriculture food technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Empathic Computing: Creating Shared Understanding
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation theory and applications.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Advanced methodologies resolving dimensionality complications for autism neur...
The Rise and Fall of 3GPP – Time for a Sabbatical?
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation_ Review paper, used for researhc scholars
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Understanding_Digital_Forensics_Presentation.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Electronic commerce courselecture one. Pdf
Teaching material agriculture food technology
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Empathic Computing: Creating Shared Understanding
20250228 LYD VKU AI Blended-Learning.pptx
A Presentation on Artificial Intelligence
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation theory and applications.pdf

Microsoft power point automation-opensourcetestingtools_matrix-1

  • 1. Open Source Automation tools overview Lior Kinsbruner February 2011 RSA
  • 2. • RSA company overview • Automation Challenges • RSA In-Use tools • Introduction to JSYSTEM • Introduction to Selenium Table of Contents • Introduction to BadBoy •Introduction to AutoIT • Introduction to FIT • Introduction to JEMMY • How they all work together? •Automation process in RSA • DEMO • Q&A 2
  • 3. RSA in a nutshell J RSA, The Security Division of EMC, provides Secure Data, Compliance, SIM, SEM, SIEM, PCI, Consumer Identity, Two-Factor Authentication, Custom Applications, Consulting, Assessment, and other security solutions and services to over 90% of the Fortune 500 qLine of products in IL: q3DS qAAOP qAAH qIDV qFraud Action qCRE 3
  • 4. Why use automation tools? • Time consuming ü Speed • Low reliability ü Repeatability • Human resources ü Programming • Inconsistent capabilities ü Coverage ü Reliability ü Reusability 4
  • 5. Challenges Multiple environments and platforms • OS • DBs • Application Servers Frequent changes in SUT – quick response required! Working with various technologies • Web Services – SOAP • Java API • Web applications • CLI 5
  • 6. Guidelines for choosing our automation framework •Data driven capabilities a •Support for Client-Server and Web based applications a •Platform/OS independent a •Reporting capabilities a •Email notification support a •Ease of use a •Documentation a •Forums exposure a •Ease of debugging and logging a •Version control integration a •Cost a •Disadvantages: •Requires development skills for framework implementation and structural changes X •Bug tracking integration support X requires in-house coding •Product support – Open source tool…you implement your feature requests OR pay for outsourcing to do that for you… X 6
  • 7. Introduction to JSYSTEM þ JSystem is a framework for writing and running automated tests. The Jsystem Automation Framework is written in Java and based on open source java projects and custom code. þ http://www.jsystemtest.org/ 7
  • 9. Introduction to SELENIUM ØWeb testing framework ØRuns in a browser ØHTML & Javascript ØOpen source Ø:‫כתובת האתר הרשמי‬ http://seleniumhq.org ØEasy record and playback ØIntelligent field selection will use IDs, names, or XPATH as needed ØAuto-complete for all common Selenium commands ØDebug and set breakpoints ØSave tests as HTML, Java, Ruby scripts, or any other format Web 1.0 Web 2.0 Static content Dynamic content HTML AJAX, FLEX, FLASH Company oriented Community oriented Web forms Web applications Explorer Firefox, Opera, Chrome 9
  • 10. Selenium Features ü Supports a variety of browsers ü Runs on multiple platforms ü Supports Flex and Flash ü Record & Export variety of languages 10
  • 11. Selenium Add-ons and Tips Working with XPATH tips: •Don’t use things that might change: •Div •Table cells •Language specific elements •Use IDs •Notice search speed when using long XPATH expressions Firefox Add-on/s: • Selenium IDE - http://seleniumhq.org • XPATH checker - http://slesinsky.org/brian/code/xpath_checker.html • Firebug & IE Developer toolbar - http://getfirebug.com • Javascript debugger -https://addons.mozilla.org/en-US/firefox/addon/216 11
  • 12. Introduction to BadBoy Freeware tool which helps Web Application automation testing with Record & Replay capabilities. Some of the tools capabilities: • Reports – Clear display of where failures are as well as values of variables when they occurred • Log Views – A viewer for log files. • AJAX Form Population - Form Populators which send DOM events for better AJAX playback • Error Handlers and Retries - You can configure how Badboy responds to items that fail, including retrying them. • External JavaScript Files - You can include JScript items that load scripts from external files • Waitable Assertions - You can configure Assertions to wait a period of time for conditions to become true. • Manual Review Support – You can add manual review checkpoints to your scripts for pages that should be inspected manually after a script has run • Documentation Export – You can save a complete outline of your script including documentation in HTML format •Official Web Site: http://www.badboy.com.au/ 12
  • 13. Introduction to AutoIT AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks •Easy to learn BASIC-like syntax •Simulate keystrokes and mouse movements •Manipulate windows and processes •Interact with all standard windows controls •Scripts can be compiled into standalone executables •Create Graphical User Interfaces (GUIs) •Regular expressions •Directly call external DLL and Windows API functions •Detailed help file and large community-based support forums •Compatible with Windows 2000 / XP / 2003 / Vista / 2008 / Windows 7 / 2008 R2 •Unicode and x64 support http://www.autoitscript.com/site/autoit/ 13
  • 14. Introduction to FIT and Fitnesse The fully integrated standalone wiki, and acceptance testing framework üFitNesse is a wiki, which is a style of web server that allows any visitor to make any edits, including changing existing pages and creating new pages. ü serves us in : It üDefining Acceptance Tests üRun those tests and see the results ü – is the engine that actually processes each FitNesse test table. FIT ü provides easy way to write ‘executable’ acceptance tests using simple Fit HTML tables. •FIT - See it in action soon…. •FitNesse (run it using java -jar fitnesse.jar –p 8080) http://localhost:8080/FitTest?test 14
  • 15. Introduction to JEMMY üFree, open source testing toolkit for Swing/JFC applications, supported by the developers of the NetBeans IDE JEMMY Main objectives: §Java library used to create UI automated tests §Provides support covering all Swing components §Can be easily extended for custom component support §Two modes of action reproducing (Robot and event dispatching) §Pre/post verification methods §When test fails? – Jemmy exceptions and timeouts JEMMY Operators: §Find a window – JFrameOperator, JDialogOperator §Find a component inside container §by text §By index §by component name §using Component-Chooser §Interact with component §simulate user actions §call component API JEMMY ààà See it in action J 15
  • 16. How they all work together? • Test plan and test labs - QC • Execution and Reporting - Jsystem • Defect tracking - JIRA • Continuous Integration •Hudson - http://hudson-ci.org/ •Provides an easy-to-use so-called continuous integration system, making it easier for developers to integrate changes to the project •Monitoring executions of externally-run jobs •Reports build results and sends alerts on failures of build using Email/RSS •MAVEN - http://maven.apache.org/ •Manages a project's build, reporting and documentation •Handle resources repositories and projects dependencies. •Assists with testing •Runs web applications •Produce reports on projects •Any number of other tasks provided by plug-ins. 16
  • 17. Automation process in RSA from A-Z 17
  • 18. 18