SlideShare une entreprise Scribd logo
1  sur  10
Automation of IPP Flex
applications
Gokuldas K Pillai
@gokool
Objective
• Identify a tool to automate the functional
testing of a Flex application. In my
application, we have the following use-cases:
– Create/Edit Invoice
– Search for a customer
Tools Evaluated
• FlexMonkey 1.0 by Gorilla Logic
• SilkTest 2009 R2 by Borland (Plugin for Flex)
• Ranorex Studio
• Other tools (not evaluated/less popular)
– QTP
– Selenium4Flex
– RiaTest
Automation support in Flex
• Adobe provides automation delegate implementations for the
framework components
– Automation.swc (delegation implementations)
– Automation_agent.swc (Facilitate communication with a tool)
– Automation_dmv.swc (delegates for charts and advanced datagrid)
• Third party tool developers leverage these and build on top of it.
– The tool developers are limited by what Adobe exposes via the
automation hooks.
• Custom components
• Components that extend framework components
– Automation delegates supplied should work
• Components that do NOT extend framework components (extend
UIComponent instead)
– Developer of component needs to provide automation delegates and override event
handlers.
Agent mechanism
Tool #1 : Flex Monkey
• Quick Facts
– Open Source
– Ver 1.0 GA released
– Adobe AIR application
– Scripting language – Actionscript
– Support for:
• Record/Playback
• Validation
• Timing delays
• Exporting script – integration with ANT script
• Pluses
– Simple to setup
– Works on both OS (Windows/Mac)
– Works with both IE and Mozilla
• Negatives
– Does not scale beyond simple usecases
– Sparse documentation for advanced usage
– Community is in infancy (Opensource like support )
– Recently moved out of Google code and the transition was not smooth for forum users
– Core developers offer paid consulting gigs for training and help with tool.
Tool #2 : SilkTest Flex plugin/Silk4J
• Quick facts
– 2009 R2 – Flex support since 2008 R2
– Silk4J – Eclipse plugin
– Scripting language – Java or Silk script
– Object identification using Xpath
• Pluses
– JUnit like test generation (Silk4J)
– Familiar tool(Silk not Silk-Flex) for QA teams in Intuit
– Enterprise support plan
• Negatives
– Performance hog (Seems like it is broken)
– Tool is not very developer friendly.
– Does not work with IPP native flex apps.
– Support from Ireland (timezone) – primarily e-mail based
Tool #3: Ranorex Studio
• Quick facts
– Ver 2.2 (2.3 coming out next week, 3.0 targeted for Fall ’10)
– Built on .NET framework
– Scripting support – C#, Python and VB.NET
• Pluses
– Mature tool – very intuitive interface
– Object recognition using custom XPath
– System integration testing with Quickbooks possible (not tested out)
– Support for AJAX/Javascript testing
– In-tool support for the whole object tree once the application is instrumented.
– Has support for object preview.
– Once the test is fully baked, you can export it as an executable (.exe). This can
then be run simply by double clicking the exe.
– Executable can be passed in command line params
• Negatives
– ?
Criteria for selection
• Excellent support for object identification
– Custom components like custom combo-box, item
renderers
• Easy to setup and ramp up
• Mature support for scripting using standard
languages
• Ability to integrate with CI build
• Performance
• Good record and replay capability
• Support for IE and Firefox
Quick Summary
• FlexMonkey dropped from the list since it could not
recognize some of the non-trivial objects like Custom
ComboBox and DataGridColumn with item Renderer.
• SilkTest 2009 is a good attempt but has a long way to
go to be more developer/QA friendly in terms of the
tool. Also, it has a higher cost for the license.
• Ranorex satisfies our current requirements for
automated testing, goes beyond what Adobe provides
for automation support and delivers a great experience
for the developer.

Contenu connexe

Tendances

ATDD Using Robot Framework
ATDD Using Robot FrameworkATDD Using Robot Framework
ATDD Using Robot FrameworkPekka Klärck
 
DotNext 2017 in Moscow - Challenges of Managing CoreFX repo -- Karel Zikmund
DotNext 2017 in Moscow - Challenges of Managing CoreFX repo -- Karel ZikmundDotNext 2017 in Moscow - Challenges of Managing CoreFX repo -- Karel Zikmund
DotNext 2017 in Moscow - Challenges of Managing CoreFX repo -- Karel ZikmundKarel Zikmund
 
Testing java microservices: from development to production
Testing java microservices: from development to productionTesting java microservices: from development to production
Testing java microservices: from development to productionAbraham Marin-Perez
 
Eclipse Testing Day 2010. Xored Q7
Eclipse Testing Day 2010. Xored Q7Eclipse Testing Day 2010. Xored Q7
Eclipse Testing Day 2010. Xored Q7platoff
 
Facilitating Idiomatic Swift with Objective-C
Facilitating Idiomatic Swift with Objective-CFacilitating Idiomatic Swift with Objective-C
Facilitating Idiomatic Swift with Objective-CAaron Taylor
 
NSTC2019: Choosing CI Friendly Mobile Automation Framework
NSTC2019: Choosing CI Friendly Mobile Automation Framework NSTC2019: Choosing CI Friendly Mobile Automation Framework
NSTC2019: Choosing CI Friendly Mobile Automation Framework Shashikant Jagtap
 
SauceCon19: Fashionable XCUITest for iOS App
SauceCon19: Fashionable XCUITest for iOS App SauceCon19: Fashionable XCUITest for iOS App
SauceCon19: Fashionable XCUITest for iOS App Shashikant Jagtap
 
Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...Ori Bendet
 
Foundational Design Patterns for Multi-Purpose Applications
Foundational Design Patterns for Multi-Purpose ApplicationsFoundational Design Patterns for Multi-Purpose Applications
Foundational Design Patterns for Multi-Purpose ApplicationsChing-Hwa Yu
 
Eclipse workshop presentation (March 2016)
Eclipse workshop presentation (March 2016)Eclipse workshop presentation (March 2016)
Eclipse workshop presentation (March 2016)Miguel Pardal
 
[Rakuten TechConf2014] [C-6] Japan ICHIBA Daily Work - Tools & Processes
[Rakuten TechConf2014] [C-6] Japan ICHIBA Daily Work - Tools & Processes[Rakuten TechConf2014] [C-6] Japan ICHIBA Daily Work - Tools & Processes
[Rakuten TechConf2014] [C-6] Japan ICHIBA Daily Work - Tools & ProcessesRakuten Group, Inc.
 
HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing Tools
HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing ToolsHDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing Tools
HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing ToolsJeff Bramwell
 
2014 August - eXo Software Factory Overview
2014 August - eXo Software Factory Overview2014 August - eXo Software Factory Overview
2014 August - eXo Software Factory OverviewArnaud Héritier
 
deliver:agile - Enable your Agile Team with Continuous Delivery Pipelines
deliver:agile - Enable your Agile Team with Continuous Delivery Pipelinesdeliver:agile - Enable your Agile Team with Continuous Delivery Pipelines
deliver:agile - Enable your Agile Team with Continuous Delivery PipelinesEsteban Garcia
 
What's New in Entity Framework 4, by Julie Lerman
What's New in Entity Framework 4, by Julie LermanWhat's New in Entity Framework 4, by Julie Lerman
What's New in Entity Framework 4, by Julie LermanJulie Lerman
 
Realizzare un Virtual Assistant con Bot Framework Azure e Unity
Realizzare un Virtual Assistant con Bot Framework Azure e UnityRealizzare un Virtual Assistant con Bot Framework Azure e Unity
Realizzare un Virtual Assistant con Bot Framework Azure e UnityMarco Parenzan
 

Tendances (20)

Xp conf-tbd
Xp conf-tbdXp conf-tbd
Xp conf-tbd
 
ATDD Using Robot Framework
ATDD Using Robot FrameworkATDD Using Robot Framework
ATDD Using Robot Framework
 
DotNext 2017 in Moscow - Challenges of Managing CoreFX repo -- Karel Zikmund
DotNext 2017 in Moscow - Challenges of Managing CoreFX repo -- Karel ZikmundDotNext 2017 in Moscow - Challenges of Managing CoreFX repo -- Karel Zikmund
DotNext 2017 in Moscow - Challenges of Managing CoreFX repo -- Karel Zikmund
 
Testing java microservices: from development to production
Testing java microservices: from development to productionTesting java microservices: from development to production
Testing java microservices: from development to production
 
How to be an awesome test automation professional
How to be an awesome test automation professionalHow to be an awesome test automation professional
How to be an awesome test automation professional
 
Eclipse Testing Day 2010. Xored Q7
Eclipse Testing Day 2010. Xored Q7Eclipse Testing Day 2010. Xored Q7
Eclipse Testing Day 2010. Xored Q7
 
Facilitating Idiomatic Swift with Objective-C
Facilitating Idiomatic Swift with Objective-CFacilitating Idiomatic Swift with Objective-C
Facilitating Idiomatic Swift with Objective-C
 
NSTC2019: Choosing CI Friendly Mobile Automation Framework
NSTC2019: Choosing CI Friendly Mobile Automation Framework NSTC2019: Choosing CI Friendly Mobile Automation Framework
NSTC2019: Choosing CI Friendly Mobile Automation Framework
 
SauceCon19: Fashionable XCUITest for iOS App
SauceCon19: Fashionable XCUITest for iOS App SauceCon19: Fashionable XCUITest for iOS App
SauceCon19: Fashionable XCUITest for iOS App
 
Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...
 
Foundational Design Patterns for Multi-Purpose Applications
Foundational Design Patterns for Multi-Purpose ApplicationsFoundational Design Patterns for Multi-Purpose Applications
Foundational Design Patterns for Multi-Purpose Applications
 
Eclipse workshop presentation (March 2016)
Eclipse workshop presentation (March 2016)Eclipse workshop presentation (March 2016)
Eclipse workshop presentation (March 2016)
 
[Rakuten TechConf2014] [C-6] Japan ICHIBA Daily Work - Tools & Processes
[Rakuten TechConf2014] [C-6] Japan ICHIBA Daily Work - Tools & Processes[Rakuten TechConf2014] [C-6] Japan ICHIBA Daily Work - Tools & Processes
[Rakuten TechConf2014] [C-6] Japan ICHIBA Daily Work - Tools & Processes
 
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan PeshovJavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
 
HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing Tools
HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing ToolsHDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing Tools
HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing Tools
 
2014 August - eXo Software Factory Overview
2014 August - eXo Software Factory Overview2014 August - eXo Software Factory Overview
2014 August - eXo Software Factory Overview
 
deliver:agile - Enable your Agile Team with Continuous Delivery Pipelines
deliver:agile - Enable your Agile Team with Continuous Delivery Pipelinesdeliver:agile - Enable your Agile Team with Continuous Delivery Pipelines
deliver:agile - Enable your Agile Team with Continuous Delivery Pipelines
 
What's New in Entity Framework 4, by Julie Lerman
What's New in Entity Framework 4, by Julie LermanWhat's New in Entity Framework 4, by Julie Lerman
What's New in Entity Framework 4, by Julie Lerman
 
Intro To AOP
Intro To AOPIntro To AOP
Intro To AOP
 
Realizzare un Virtual Assistant con Bot Framework Azure e Unity
Realizzare un Virtual Assistant con Bot Framework Azure e UnityRealizzare un Virtual Assistant con Bot Framework Azure e Unity
Realizzare un Virtual Assistant con Bot Framework Azure e Unity
 

En vedette

Teydeb we format
Teydeb we formatTeydeb we format
Teydeb we formatmehmet tali
 
Alondra ponce why i feel i can be an autonomous learner
Alondra ponce why i feel i can be an autonomous learnerAlondra ponce why i feel i can be an autonomous learner
Alondra ponce why i feel i can be an autonomous learneraloponce94
 
Sulpcegu5e ppt 5_3
Sulpcegu5e ppt 5_3Sulpcegu5e ppt 5_3
Sulpcegu5e ppt 5_3silvia
 
公司概况介绍 博云森Blog版 20120206
公司概况介绍 博云森Blog版 20120206公司概况介绍 博云森Blog版 20120206
公司概况介绍 博云森Blog版 20120206yuanhangqdsd
 
「ほとんど同じ」画像を簡単に整理するために
「ほとんど同じ」画像を簡単に整理するために「ほとんど同じ」画像を簡単に整理するために
「ほとんど同じ」画像を簡単に整理するためにturugina
 
Neo4j gokuldaspillai-121018170144-phpapp01
Neo4j gokuldaspillai-121018170144-phpapp01Neo4j gokuldaspillai-121018170144-phpapp01
Neo4j gokuldaspillai-121018170144-phpapp01Gokuldas Pillai
 
Turbo tax presentation_v04
Turbo tax presentation_v04Turbo tax presentation_v04
Turbo tax presentation_v04buckydodd
 
Canada gabriela power
Canada gabriela powerCanada gabriela power
Canada gabriela poweriyela07
 
Coslene charles autobiography
Coslene charles autobiographyCoslene charles autobiography
Coslene charles autobiographycoslene
 
徐远航 企业核心理念介绍 博云森_20110818
徐远航 企业核心理念介绍 博云森_20110818徐远航 企业核心理念介绍 博云森_20110818
徐远航 企业核心理念介绍 博云森_20110818yuanhangqdsd
 
Yapcasia2012 ltthon
Yapcasia2012 ltthonYapcasia2012 ltthon
Yapcasia2012 ltthonturugina
 
Hbasepreso 111116185419-phpapp02
Hbasepreso 111116185419-phpapp02Hbasepreso 111116185419-phpapp02
Hbasepreso 111116185419-phpapp02Gokuldas Pillai
 
Ingles celebration
Ingles celebrationIngles celebration
Ingles celebrationiyela07
 
Di̇spnei̇k hastaya yaklaşim(fazlası için www.tipfakultesi.org)
Di̇spnei̇k hastaya yaklaşim(fazlası için www.tipfakultesi.org)Di̇spnei̇k hastaya yaklaşim(fazlası için www.tipfakultesi.org)
Di̇spnei̇k hastaya yaklaşim(fazlası için www.tipfakultesi.org)www.tipfakultesi. org
 
女性にモテるためのIT系男子的部屋の片付け術
女性にモテるためのIT系男子的部屋の片付け術女性にモテるためのIT系男子的部屋の片付け術
女性にモテるためのIT系男子的部屋の片付け術やまもと さをん
 
Terrassa ingles
Terrassa inglesTerrassa ingles
Terrassa inglesiyela07
 
日常業務にperlを使おう
 日常業務にperlを使おう 日常業務にperlを使おう
日常業務にperlを使おうturugina
 
Introduction to Apache HBase
Introduction to Apache HBaseIntroduction to Apache HBase
Introduction to Apache HBaseGokuldas Pillai
 
Research Trends: Smart Phone Applications Development,
Research Trends: Smart Phone Applications Development, Research Trends: Smart Phone Applications Development,
Research Trends: Smart Phone Applications Development, Monir Bhuiyan
 

En vedette (20)

Teydeb we format
Teydeb we formatTeydeb we format
Teydeb we format
 
Internet Publishing
Internet PublishingInternet Publishing
Internet Publishing
 
Alondra ponce why i feel i can be an autonomous learner
Alondra ponce why i feel i can be an autonomous learnerAlondra ponce why i feel i can be an autonomous learner
Alondra ponce why i feel i can be an autonomous learner
 
Sulpcegu5e ppt 5_3
Sulpcegu5e ppt 5_3Sulpcegu5e ppt 5_3
Sulpcegu5e ppt 5_3
 
公司概况介绍 博云森Blog版 20120206
公司概况介绍 博云森Blog版 20120206公司概况介绍 博云森Blog版 20120206
公司概况介绍 博云森Blog版 20120206
 
「ほとんど同じ」画像を簡単に整理するために
「ほとんど同じ」画像を簡単に整理するために「ほとんど同じ」画像を簡単に整理するために
「ほとんど同じ」画像を簡単に整理するために
 
Neo4j gokuldaspillai-121018170144-phpapp01
Neo4j gokuldaspillai-121018170144-phpapp01Neo4j gokuldaspillai-121018170144-phpapp01
Neo4j gokuldaspillai-121018170144-phpapp01
 
Turbo tax presentation_v04
Turbo tax presentation_v04Turbo tax presentation_v04
Turbo tax presentation_v04
 
Canada gabriela power
Canada gabriela powerCanada gabriela power
Canada gabriela power
 
Coslene charles autobiography
Coslene charles autobiographyCoslene charles autobiography
Coslene charles autobiography
 
徐远航 企业核心理念介绍 博云森_20110818
徐远航 企业核心理念介绍 博云森_20110818徐远航 企业核心理念介绍 博云森_20110818
徐远航 企业核心理念介绍 博云森_20110818
 
Yapcasia2012 ltthon
Yapcasia2012 ltthonYapcasia2012 ltthon
Yapcasia2012 ltthon
 
Hbasepreso 111116185419-phpapp02
Hbasepreso 111116185419-phpapp02Hbasepreso 111116185419-phpapp02
Hbasepreso 111116185419-phpapp02
 
Ingles celebration
Ingles celebrationIngles celebration
Ingles celebration
 
Di̇spnei̇k hastaya yaklaşim(fazlası için www.tipfakultesi.org)
Di̇spnei̇k hastaya yaklaşim(fazlası için www.tipfakultesi.org)Di̇spnei̇k hastaya yaklaşim(fazlası için www.tipfakultesi.org)
Di̇spnei̇k hastaya yaklaşim(fazlası için www.tipfakultesi.org)
 
女性にモテるためのIT系男子的部屋の片付け術
女性にモテるためのIT系男子的部屋の片付け術女性にモテるためのIT系男子的部屋の片付け術
女性にモテるためのIT系男子的部屋の片付け術
 
Terrassa ingles
Terrassa inglesTerrassa ingles
Terrassa ingles
 
日常業務にperlを使おう
 日常業務にperlを使おう 日常業務にperlを使おう
日常業務にperlを使おう
 
Introduction to Apache HBase
Introduction to Apache HBaseIntroduction to Apache HBase
Introduction to Apache HBase
 
Research Trends: Smart Phone Applications Development,
Research Trends: Smart Phone Applications Development, Research Trends: Smart Phone Applications Development,
Research Trends: Smart Phone Applications Development,
 

Similaire à Flextestingautomation 111116190906-phpapp02

ElasTest presentation in MadridJUG (Madrid December 2017)
ElasTest presentation in MadridJUG (Madrid December 2017)ElasTest presentation in MadridJUG (Madrid December 2017)
ElasTest presentation in MadridJUG (Madrid December 2017)ElasTest Project
 
ElasTest presentation in Panel Sistemas company (Madrid December 2017)
ElasTest presentation in Panel Sistemas company (Madrid December 2017)ElasTest presentation in Panel Sistemas company (Madrid December 2017)
ElasTest presentation in Panel Sistemas company (Madrid December 2017)ElasTest Project
 
Testing Flex RIAs for NJ Flex user group
Testing Flex RIAs for NJ Flex user groupTesting Flex RIAs for NJ Flex user group
Testing Flex RIAs for NJ Flex user groupViktor Gamov
 
Optimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesOptimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesTeamstudio
 
Making software development processes to work for you
Making software development processes to work for youMaking software development processes to work for you
Making software development processes to work for youAmbientia
 
Professionalizing the Front-end
Professionalizing the Front-endProfessionalizing the Front-end
Professionalizing the Front-endJordi Anguela
 
Click, Click, Test - Automated Tests for APEX Applications
Click, Click, Test - Automated Tests for APEX ApplicationsClick, Click, Test - Automated Tests for APEX Applications
Click, Click, Test - Automated Tests for APEX ApplicationsKai Donato
 
Effective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperEffective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperMike Melusky
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1tactqa
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1tactqa
 
Eclipse plug in development
Eclipse plug in developmentEclipse plug in development
Eclipse plug in developmentMartin Toshev
 
Top 10 dev ops tools (1)
Top 10 dev ops tools (1)Top 10 dev ops tools (1)
Top 10 dev ops tools (1)yalini97
 
Introduction to Android Development and Security
Introduction to Android Development and SecurityIntroduction to Android Development and Security
Introduction to Android Development and SecurityKelwin Yang
 
OSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixOSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixMarcel Offermans
 
How to build a JavaScript toolkit
How to build a JavaScript toolkitHow to build a JavaScript toolkit
How to build a JavaScript toolkitMichael Nelson
 
Near real-time anomaly detection at Lyft
Near real-time anomaly detection at LyftNear real-time anomaly detection at Lyft
Near real-time anomaly detection at Lyftmarkgrover
 

Similaire à Flextestingautomation 111116190906-phpapp02 (20)

ElasTest presentation in MadridJUG (Madrid December 2017)
ElasTest presentation in MadridJUG (Madrid December 2017)ElasTest presentation in MadridJUG (Madrid December 2017)
ElasTest presentation in MadridJUG (Madrid December 2017)
 
ElasTest presentation in Panel Sistemas company (Madrid December 2017)
ElasTest presentation in Panel Sistemas company (Madrid December 2017)ElasTest presentation in Panel Sistemas company (Madrid December 2017)
ElasTest presentation in Panel Sistemas company (Madrid December 2017)
 
Testing Flex RIAs for NJ Flex user group
Testing Flex RIAs for NJ Flex user groupTesting Flex RIAs for NJ Flex user group
Testing Flex RIAs for NJ Flex user group
 
Optimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesOptimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best Practices
 
Making software development processes to work for you
Making software development processes to work for youMaking software development processes to work for you
Making software development processes to work for you
 
Professionalizing the Front-end
Professionalizing the Front-endProfessionalizing the Front-end
Professionalizing the Front-end
 
RohitJindal
RohitJindalRohitJindal
RohitJindal
 
Click, Click, Test - Automated Tests for APEX Applications
Click, Click, Test - Automated Tests for APEX ApplicationsClick, Click, Test - Automated Tests for APEX Applications
Click, Click, Test - Automated Tests for APEX Applications
 
Test automation proposal
Test automation proposalTest automation proposal
Test automation proposal
 
Effective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperEffective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and Dapper
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
 
Eclipse plug in development
Eclipse plug in developmentEclipse plug in development
Eclipse plug in development
 
Top 10 dev ops tools (1)
Top 10 dev ops tools (1)Top 10 dev ops tools (1)
Top 10 dev ops tools (1)
 
Introduction to Android Development and Security
Introduction to Android Development and SecurityIntroduction to Android Development and Security
Introduction to Android Development and Security
 
Resume Raushan
Resume RaushanResume Raushan
Resume Raushan
 
OSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixOSGi on Google Android using Apache Felix
OSGi on Google Android using Apache Felix
 
ABHAY_SHUKLA
ABHAY_SHUKLAABHAY_SHUKLA
ABHAY_SHUKLA
 
How to build a JavaScript toolkit
How to build a JavaScript toolkitHow to build a JavaScript toolkit
How to build a JavaScript toolkit
 
Near real-time anomaly detection at Lyft
Near real-time anomaly detection at LyftNear real-time anomaly detection at Lyft
Near real-time anomaly detection at Lyft
 

Flextestingautomation 111116190906-phpapp02

  • 1. Automation of IPP Flex applications Gokuldas K Pillai @gokool
  • 2. Objective • Identify a tool to automate the functional testing of a Flex application. In my application, we have the following use-cases: – Create/Edit Invoice – Search for a customer
  • 3. Tools Evaluated • FlexMonkey 1.0 by Gorilla Logic • SilkTest 2009 R2 by Borland (Plugin for Flex) • Ranorex Studio • Other tools (not evaluated/less popular) – QTP – Selenium4Flex – RiaTest
  • 4. Automation support in Flex • Adobe provides automation delegate implementations for the framework components – Automation.swc (delegation implementations) – Automation_agent.swc (Facilitate communication with a tool) – Automation_dmv.swc (delegates for charts and advanced datagrid) • Third party tool developers leverage these and build on top of it. – The tool developers are limited by what Adobe exposes via the automation hooks. • Custom components • Components that extend framework components – Automation delegates supplied should work • Components that do NOT extend framework components (extend UIComponent instead) – Developer of component needs to provide automation delegates and override event handlers.
  • 6. Tool #1 : Flex Monkey • Quick Facts – Open Source – Ver 1.0 GA released – Adobe AIR application – Scripting language – Actionscript – Support for: • Record/Playback • Validation • Timing delays • Exporting script – integration with ANT script • Pluses – Simple to setup – Works on both OS (Windows/Mac) – Works with both IE and Mozilla • Negatives – Does not scale beyond simple usecases – Sparse documentation for advanced usage – Community is in infancy (Opensource like support ) – Recently moved out of Google code and the transition was not smooth for forum users – Core developers offer paid consulting gigs for training and help with tool.
  • 7. Tool #2 : SilkTest Flex plugin/Silk4J • Quick facts – 2009 R2 – Flex support since 2008 R2 – Silk4J – Eclipse plugin – Scripting language – Java or Silk script – Object identification using Xpath • Pluses – JUnit like test generation (Silk4J) – Familiar tool(Silk not Silk-Flex) for QA teams in Intuit – Enterprise support plan • Negatives – Performance hog (Seems like it is broken) – Tool is not very developer friendly. – Does not work with IPP native flex apps. – Support from Ireland (timezone) – primarily e-mail based
  • 8. Tool #3: Ranorex Studio • Quick facts – Ver 2.2 (2.3 coming out next week, 3.0 targeted for Fall ’10) – Built on .NET framework – Scripting support – C#, Python and VB.NET • Pluses – Mature tool – very intuitive interface – Object recognition using custom XPath – System integration testing with Quickbooks possible (not tested out) – Support for AJAX/Javascript testing – In-tool support for the whole object tree once the application is instrumented. – Has support for object preview. – Once the test is fully baked, you can export it as an executable (.exe). This can then be run simply by double clicking the exe. – Executable can be passed in command line params • Negatives – ?
  • 9. Criteria for selection • Excellent support for object identification – Custom components like custom combo-box, item renderers • Easy to setup and ramp up • Mature support for scripting using standard languages • Ability to integrate with CI build • Performance • Good record and replay capability • Support for IE and Firefox
  • 10. Quick Summary • FlexMonkey dropped from the list since it could not recognize some of the non-trivial objects like Custom ComboBox and DataGridColumn with item Renderer. • SilkTest 2009 is a good attempt but has a long way to go to be more developer/QA friendly in terms of the tool. Also, it has a higher cost for the license. • Ranorex satisfies our current requirements for automated testing, goes beyond what Adobe provides for automation support and delivers a great experience for the developer.