W15 Test Automation 5/1/2013 3:00:00 PM Test Automation for Packaged Systems: Yes, You Can! Presented by: Chris Bushell ThoughtWorks Brought to you by: 340 Corporate Way, Suite 300, Orange Park, FL 32073 888-268-8770 ∙ 904-278-0524 ∙ [email protected]∙ www.sqe.com
50
Embed
Test Automation for Packaged Systems: Yes, You Can!
Today, most businesses are heavily dependent on packaged systems, sometimes called commercial off-the-shelf software, for large parts of their operation. Highly-customizable packages such as BMC’s Remedy, Oracle's Maxim, and many others run the show at many of the world’s largest companies. While offering many features and feature options, these packages provide rich software development environments and a “configuration” that is a highly complex programming exercise. Chris Bushell explores why packaged systems, which are just as vulnerable to defects as custom-developed software, have been missing out on the many benefits of early automated testing. Chris argues that it's time for a change. Drawing from hands-on experience working with customized packaged systems, Chris explains that these packages offer ease of customization over testability and offers information on overcoming their limitations. Take away tips to reduce defects, lower testing costs, and improve time to market with your company’s packaged systems.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
W15 Test Automation
5/1/2013 3:00:00 PM
Test Automation for Packaged
Systems: Yes, You Can!
Presented by:
Chris Bushell
ThoughtWorks
Brought to you by:
340 Corporate Way, Suite 300, Orange Park, FL 32073
A lead consultant at ThoughtWorks, Chris Bushell has a wide variety of roles including software developer, architect, test automation specialist, agile coach, and trainer. Chris has more than ten years of industry experience working in finance, retail, telecoms, and mobile in the U.K., Australia, and the U.S. Passionate about software development process and technology, he is an advocate of using open source software for building simple solutions to complex problems. Chris is an active member of the local software development community wherever he's based. Contact Chris on Twitter @chrisbushelloz, by email at [email protected], or converse with him face-to-face.
Test Automa+on For Packaged Systems:Yes You Can!Chris BushellLead Consultant, ThoughtWorks
What I do
• Developer/Tech Lead/Architect/Agile coach
• Custom so8ware development
• Focus on building the right thing
• Focus on high quality
• Test driven
How I do it – TDD/BDD
How I do it – Revision Control
How I do it – Con+nuous Integra+on
How I do it – Open Source
JUnit• Light-‐weight, powerful
• Extensible
• Excellent community
• Examples: xUnit, Selenium/WebDriver, RSpec, Concordion, Cucumber etc.
November 2011
In the beginning....
The COTS Con!
Highly extensible software “configured” in powerful
development environments, comparable in complexity, and
susceptibility to defects as anything in the custom software
development world
The land that +me forgot
Complete lack of test automa+on
“Computers are designed to do simple repeKKve tasks. The second you have humans doing repeKKve tasks, all the computers get together late at night and laugh at you”
“Every Kme you do something for the third Kme, automate it. You’ll be doing it a million Kmes”
-‐ Neal Ford
Surely someone must be doing this already?
• Commercial tools exist, but tend to be a poor fit for Agile environments-‐ TesKng viewed as a luxury (an add-‐on)
-‐ Available to few ($$$$ licensing)-‐ Discourages collecKve ownership
-‐ Difficult to use good engineering pracKces
-‐ Difficult to integrate with ConKnuous IntegraKon process (lack of scriptability/headless mode)
Lessons learned -‐ what worked and what didn’t
Oracle Siebel CRM
But first, browser automa+on basics
• HTML + DOM
• Selectors-‐ Id, class, xpath
• AutomaKon API-‐ e.g. Selenium, WebDriver, Sahi, WaKr etc.
Our biggest problem
• AcKveX
• <object>
• Impervious to tradiKonal automaKon toolset
All is not lost
• Not all parts of the applicaKon used AcKveX
• Some controls were regular HTML (albeit machine generated)-‐ WebDriver
• Perhaps we could use some kind of hybrid approach to test automaKon?-‐ WebDriver + X, Y or Z?
• Ross Macbeth, J3474 : Old night safe, Belfast, licensed under CreaKve Commons, hkp://www.geograph.ie/photo/2261863
• Alan Chia, A pile of Lego blocks, of assorted colours and sizes, licensed under CreaKve Commons, hkp://en.wikipedia.org/wiki/File:Lego_Color_Bricks.jpg