Tech talks (Automation on Selenium Web Driver. How to begin & implement)


Published on

This short presentation shows you all the steps you need to pass for having all neccessary skill for Web Automation on Selenium Webdriver. Also short review about Selenium versions migrations and implementation for two types of QA teems:
1-st is only manual QA teem that want to automate, and second is teem that automates on Selenium 1.0 and want to migrate with Web Driver. Short step by step tutorial will shows you what exactly you need to learn and read and from what resources just to have enough skills for automation. The last slides give great example what advanced features could be automated with selenium webdriver so for dispelling the ideas that not the all things could be automated.

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Tech talks (Automation on Selenium Web Driver. How to begin & implement)

  1. 1. Tech Talks: Web Driver Taras LytvynImplementation andFeatures © 2012GlobalLogic Inc. 1
  2. 2. Contents- Automation implementation (+ migrating) - How to update skills for “automation ability” - Selenium WebDriver “advanced level “ tricks- Selenium WebDriver Featuresdevelopment and implementation inexamples (overview of situations that“are not automated”) © 2012GlobalLogic Inc. 2
  3. 3. Starting Automation on Selenium WebDriver You are manual You currently havetester and want to automation on implement your project basedautomation testing on Selenium 1 andon your project on want to make a WebDriver. restyling with WebDriver. © 2012GlobalLogic Inc. 3
  4. 4. Existing Automation on Selenium Implementation, updating Framework on Framework on Selenium 1 Selenium 2 © 2012GlobalLogic Inc. 4
  5. 5. Migrating features (Case 1)- Build Framework To make life easier- Use Pattern approach Simon Stewart Migration approach Getting Started - launching Clicking and Typing is More Complete WaitForPageToLoad Returns Too Soon Finding By approach Executing Javascript Doesn’t Return Anything Comparisons © 2012GlobalLogic Inc. 5
  6. 6. MANUAL TestingUpdate Skills 1 {…} Practice in Record/Playback Update Skills 2 {…} Build Simple Implement and Framework develop dif. features © 2012GlobalLogic Inc. 6
  7. 7. From Manual Testing (Case 2) - Read “Automated Software Testing” (by Elfriede Dusting), Watch webinar “What is automation” - Learn Programming Language syntax/Install Eclipse Prog. Languages for automation (Web based) JAVA Thinking in Java (by B.Eckel) Java for QA/QC engineers © 2012GlobalLogic Inc. 7
  8. 8. From Manual Testing (Case 2) - HTML, CSS, JS syntax - Install: Selenium IDE, firebug, firepath - Watch Record/Playback Selenium IDE Tutorial - Create account on - Watch “Locators” Tutorial - Watch “RegExps” Tutorial/Perform RegExp practice here © 2012GlobalLogic Inc. 8
  9. 9. From Manual Testing (Case 2) - Learn JUnit/Test NG Specification and features - Improve programming skills with Selenium IDE + Eclipse + JUnit - Try to build your first Automation Framework Advanced automation - Refactor your code, create extensions, stubs, wraps, etc. - Try to automate things “that couldn’t be automated” © 2012GlobalLogic Inc. 9
  10. 10. “Things couldn’t be automated” as WebDriver tricks EXAMPLES: - CANVAS, drag & drop on html page - N-Window Automation (with JS injection) - Windows Upload pop-up © 2012GlobalLogic Inc. 10
  11. 11. “Things couldn’t be automated” Canvas Trick with checking the image correctness - With JS execution (getValue()) - Sikuli Java Library © 2012GlobalLogic Inc. 11
  12. 12. “Things couldn’t be automated” Working with more then 1 tab Trick with checking the image correctness Resolve: JS injection for creating anchor tag with url of needed page Handle first window, from that test is started © 2012GlobalLogic Inc. 12
  13. 13. Write manipulators for switching © 2012GlobalLogic Inc. 13
  14. 14. “Things couldn’t be automated” Windows Upload Pop-Up Trick with checking the image correctness © 2012GlobalLogic Inc. 14
  15. 15. Selenium WebDriver is free powerful tool for web automation Selenium WebDriver has excellent web support To begin automate with Selenium WebDriver successfully … - SET OF SKILLS - PRACTICE For advanced using…- Forums, blogs ( Look for difficult situations and try to automate them © 2012GlobalLogic Inc. 15
  16. 16. < QUESTIONS ? > © 2012GlobalLogic Inc. 16
  17. 17. Taras Lytvynautomation QC in Global Logic : taras.lytvyn@globallogic.comweb: tasryk © 2012GlobalLogic Inc. 17