New Generation Record/Playback Tools for AJAX Testing

2,019 views

Published on

While some in the test community talk about record/playback technology as dead-end test automation approach, a new generation of open source record/playback test tools that every tester should consider is now available. Tools like Sahi and TestMaker Object Designer were built for AJAX environments and support thousands of web objects and the asynchronous nature of AJAX. Frank Cohen shows you how to install and use these free tools in your environment and record test scripts of a complicated AJAX application in IE, Chrome, Firefox, Safari, and Opera. Learn how to data-enable applications without coding, use branching and looping commands, construct advanced element target locators without using XPath, and package tests as reusable test objects to share with other testers.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,019
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
45
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

New Generation Record/Playback Tools for AJAX Testing

  1. 1. New Generation Record/Playback Tools for AJAX Testing Frank Cohen, +01 (408) 871-0122, fcohen@pushtotest.com September 13, 2011
  2. 2. Open Source Test AutomationThe Death of Capture/Playback ‣ “Its no secret that usingleads to failure,” as the sole automation technology capture / playback Edward Kit at PSQT Conference, 2002 ‣ http://tinyurl.com/43dvq84 ‣ And that was before... WebKit2
  3. 3. Open Source Test Automation Open Source Testing (OST)3
  4. 4. Open Source Test AutomationWhy An OST Alternative?‣ HP QuickTest Professional does a great job for testing a small part of the Internet ‣ Functional Testing (Smoke, Regression, Integration) ‣ Windows using ActiveX ‣ Flash, Flex ‣ MS Internet Explorer ‣ Web 2.0 with Coding Effort ‣ Best Money Can Buy4
  5. 5. Open Source Test AutomationOST For Everywhere Else‣ Open Source Testing Tools ‣ TestMaker Object Designer ‣ Selenium ‣ Sahi ‣ Unit Tests (Java, Ruby, Python, PHP)‣ Record in WebKit based browsers (Chrome, Safari, Opera), IE, Firefox‣ Agile Testing, Agile Performance Testing and Production Monitoring‣ Rich Internet Applications (RIA,) Mobile, Pads‣ OST For Everyone (Developers, Testers, Business Managers)5
  6. 6. Open Source Test AutomationOST Architecture Application Under Test PTTMonitor Web, RIA, BPM, SOA CPU, Net, MemoryFunctional Test Injector Test Authoring Test Bundles ScriptRunners Data Production Libraries SoapUI (Pro) MySQL, HtmlUnit Sahi, Selenium, SoapUI, Java csv files, rdbms queries Sahi (Pro) JUnit Class FrameworkLoad Test Eclipse Java IDE Fitness Test Operation Console Languages: Java, Python Wiki CollaborationProduction Designer Grid and Cloud Repository Results Analysis Record/Playback Test Deployment MySQL RDBMS Business Intelligence Tool Monitor Continuous Test Repository Bug Tracker Monitoring Integration Management6
  7. 7. Open Source Test AutomationBrowser Compatibility Tests Application Under Test TestNode Selenium RC SeleniumHtmlUnit Selenese Test TestMaker Console7
  8. 8. Open Source Test AutomationScriptRunners ScriptRunner Type Name (langtype) Designer Script IE, Htmlunit designerscript Selenium HtmlUnit Browser selenium Selenium RC IE, Firefox, Chrome seleniumrc Sahi IE, HtmlUnit sahi HTTP Archive Page Optimization HAR Selenium RC IE, Firefox, Chrome seleniumrc SoapUI SOAP and REST soapui TestGen4Web Web 1.0 Tests testgen4web Mozmill Mozilla XUL Tests mozmill Unit Tests jUnit TestCase Java, Jython, JRuby, PHP, Perl, Groovy DotNet .NET Tests dotnet Visual Basic VB tests vb8 Command Line Desktop and utils commandline
  9. 9. Open Source Test AutomationYour cloud or mine? Or both! Application or Service HTTP REST AMF AJAX TestNode TestNode TestNode TestNode test test test test PTTMonitor PTTMonitor PTTMonitor PTTMonitor SOAP SOAP SOAP SOAP Test RunTime TestMaker Console9
  10. 10. Open Source Test AutomationLots of Possibilities TestMaker Test Sent Seattle, Datacenter TestNode Generating Load Dallas, Texas DatacenterYou’re Such A Geek!10
  11. 11. Open Source Test AutomationLet’s Talk About...‣ How To Record/Playback Rich Internet Applications‣ Repurposing Test Objects To Be Functional Tests, Load and Performance Tests, and Production Monitors‣ Adding Verification Steps to Tests‣ Data Enabling Tests‣ Object Repository for Sharing Test Objects‣ Operating Selenium, Sahi, and soapUI tests in Grid and Cloud Environments‣ Running Root Cause Analysis Reports11
  12. 12. Open Source Test AutomationWhat’s Missing in OST‣ Desktop Record/Playback‣ QTP VB Script Conversion (see PushToTest Global Services)‣ Keyword/Expert Mode (see Designer’s Export menu)‣ HP Quality Center (QC) Integration (Requires TestMaker Enterprise)‣ Object Repository (OST depends on svn, CI)‣ Time-based Recording‣ HP Mercury Reporting Is Better, OST Catching Up Fast‣ HP Mercury Add-ons12
  13. 13. Open Source Test AutomationWhere To Go From Here‣ Download And Learn TestMaker Object Designer ‣ http://www.pushtotest.com‣ Watch A Screencast and Tutorial ‣ http://www.pushtotest.com/screencastcentral‣ Tell Your Followers ‣ http://twitter.com/fcohen‣ Attend An Open Source Test Workshop ‣ http://workshop.pushtotest.com13

×