Automation Open Source tools

  • 8,173 views
Uploaded on

 

More in: Education , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Thanks for this helpful article!
    Are you sure you want to
    Your message goes here
  • Good Article
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
8,173
On Slideshare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
193
Comments
2
Likes
8

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Automation Open Source Tools QA Talks #3
  • 2. Selenium- is a suit of tools for web browser automation and it is composed of:- Selenium IDE- Selenium 1.0(RC)- Selenium 2.0(Webdriver)- Selenium Grid
  • 3. Supported by Selenium
  • 4. Selenium IDE Example
  • 5. Selenium IDE Limitation- for Firefox only- do not support: - loops, exception handling - conditional statement - re-execution of failed test - video recording - reporting functionality - flash
  • 6. Watir- is a Ruby libraries for automating web browsers. It allowsyou to write easy to read and maintain tests.
  • 7. Ruby script example
  • 8. Watir Example
  • 9. Pros&Cons Pros ConsSelenium: Selenium:- cross browser, OS - doesnt work directly with Flash- programming languages - IDE for Firfox only- native IDE - updates- record and play functionality- webdriver Watir: - doesnt work directly with FlashWatir: - IE only by default (but there is- easy to understand watir-webdriver)- rich API - ruby (if you dont learn before)- Watir(Ruby), Watij(Java),WatiN(.NET)- cross browser, OS- webdriver
  • 10. FlexMonkey- is a free tool for used fortesting Flex and Air basedapplications - Record and Playback - Verifying that ER match AR - Generating ready-to-run FlexUnit scripts
  • 11. Meet the Monkeys! FoneMonkey for FlexMonkey for testing AndroidFlex and AIR applications Selenium IDE FoneMonkey for Plugin iOS
  • 12. FlexMonkey Example
  • 13. Turnkeylinux 45+ ready-to-use free open source solutions● Specials (LAMP, SVN, Torrent, Domain Controller, Jabber)● Content management (Joomla, Drupal, WordPress)● Web development (Ruby, Symphony)● Issue tracking (Redmine,Bugzilla)● Messaging (Jabber, Mail)● Database (MySQL, PostgreSQL)
  • 14. Save your time!and much more...
  • 15. TestLink- is open source web-based test management tool
  • 16. Redmine- is a project management & issue tracking tool
  • 17. Summary- easy to setup and understand- easily integrates with other tools (e.g. Teslink+RedmineTestLink+Bugzilla)- containes almost all required features- crossplatform- plugins- compare all available tools
  • 18. Useful linkshttp://www.w3.org/QA/Tools/ W3C validator toolshttp://www.bugzilla.org/ Bug-tracking systemhttp://seleniumhq.org/ Selenium web automationhttp://code.google.com/p/aost/ Telluriumhttp://www.teamst.org/ test management toolhttp://watir.com/ Watir web automationhttp://watirwebdriver.com watir-webdriverhttp://www.gorillalogic.com WebMonkey Flex Automation test toolhttp://cacique.mercadolibre.com Web automation test toolhttp://www.turnkeylinux.org/all linux based ready-to-use solutionshttp://bitnami.org/stacks linux based ready-to-use solutionshttp://www.redmine.org project&issue management toolhttp://www.opensourcetesting.org/ Open Source Toolshttp://qtpselenium.com Selenium training
  • 19. Automation Open Source Tools for Windows OS
  • 20. How to choose the best software test automation tool?- What are you trying to accomplish with the automation tool?- Define goals of automation- Is there repeated work in the project?- Time taken for My current Manual project testing- Error rate by Manual testing- Return on Investment
  • 21. Main characteristics- OS compatibility- Scripting languages- Documentation- Capture driven- Keyword driven- Code driven- Object tree- Control Finder tool
  • 22. Main characteristics- Record and Playback- Video recording- Test suites- Portability- Run from Console- Continuous Integration systems- Performance monitoring- Reporting/Logging
  • 23. Check-list- Define the main goals for automation- Define the main features which you need- Define the required teams skills- Choose several suitable tools- Create prototype using each tool- Create comparison chart with characterictics- Choose more suitable tool for your project
  • 24. QAliber Test Builder- Framework for creating tests with no coding skills- Simply drag and drop Test Cases from repository- Use loops, conditions and parameters to createrobust scenarios.- Run automated tasks such as handling windowsand dialogs, I/O, registry, devices and more.- Log with screenshots, movies, performancegraphs.- Supported by an open source community
  • 25. Qaliber plug-in for Visual StudioQAliber Test Developer is Visual Studio plug-in:- Write C#/.net code, use the .NET framework capabilities.- Create test cases as an integral part of your development solution.- Create GUI / API level test quick!- Record / Play GUI automation.- Support .NET forms / WPF / WEB GUI testing.- Run on all windows platforms with .NET framework 3.0- An ever growing Open source Common tools repository.
  • 26. AutoItAutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.- Easy to learn BASIC-like syntax- Manipulate windows and processes, interact with all standard windows controls- Scripts can be compiled into standalone executables- COM support, regular expressions, directly call external DLL and Windows API functions- Scriptable RunAs functions- Detailed helpfile and large community-based support forums
  • 27. WhiteFramework for automating rich client applications based on Win32, WinForms, WPF, Silverlight and SWT (Java) platforms:- It is .NET based- Provides a consistent object-oriented API- Hiding the complexity of Microsofts UIAutomation library
  • 28. SikuliVisual technology to automate and test graphical user interfaces (GUI) using images (screenshots).- Includes Sikuli Script, a visual scripting API for Jython- Includes Sikuli IDE, an integrated development environment for writing visual scripts with screenshots easily.- Automates anything you see on the screen without internal APIs support.- You can programmatically control a web page, a Windows/Linux/Mac OS X desktop application,- Support iphone or android application running in a simulator or via VNC.
  • 29. Comparison chart AutoIT QAliber White SikuliOS compatibility Windows 2000/ HTML (IE), Win32, WinForms, Windows XP/ 2003/ Vista / WinForms, WPF, WPF, Silverlight Linux 2008/ Windows 7/ Silverlight, Java, and SWT (Java) MacOS 2008 R2 MFC platforms.Scripting languages Basic-like scripting VB.net/C# .NET Jyton/Python languageDocumentation Help, Manuals, Help, Manuals, Community on Help, Video Video examples Video Tutorials codeplex.com examplesCapture driven Code-driven Keyword-driven Code-driven Capture-drivenKeyword driven Code-drivenCode drivenObject tree No Yes Yes NoControl Finder tool Yes Yes Yes (UIspy) No
  • 30. Comparison chartRecord and Yes Yes Yes (record NoPlayback classes)Video recording No Yes No NoTest suites Yes Yes Yes NoPortability Yes Yes Yes NoRun from Console Yes No Yes NoContinuous Yes No Yes NoIntegrationsystemsPerformance No Yes No NomonitoringReporting/Logging Yes Yes Yes No
  • 31. Useful Linkshttp://qaliber.net/ Qaliber Test Builder, plug-in for MS VShttp://www.autoitscript.com/site/autoit/ AutoIthttp://white.codeplex.com/ Whitehttp://sikuli.org/ Sikulihttp://www.opensourcetesting.org/ Open Source Toolshttp://software-testing.ru/ Software-testing forumhttp://www.testingexperience.com/ QA Magazines
  • 32. Contacts:email: info@qaclubkiev.comOleksandr MaidaniukAndrii Matukhno alexander.maydanyuk andrej_2704 Kiev 2011
  • 33. Обсуждение лучших инструментови практик, применимых в сферетестирования и обеспечениякачества. http://qaclubkiev.com/