SlideShare a Scribd company logo
Tech Talks: Web Driver   Taras Lytvyn

Implementation and
Features
                                        © 2012GlobalLogic Inc.   1
Contents
- Automation implementation (+ migrating)
 - How to update skills for “automation
 ability”
 - Selenium WebDriver “advanced level “ tricks
- Selenium WebDriver Features
development and implementation in
examples (overview of situations that
“are not automated”)

                                        © 2012GlobalLogic Inc.   2
Starting Automation on Selenium
              WebDriver


  You are manual       You currently have
tester and want to       automation on
    implement          your project based
automation testing     on Selenium 1 and
on your project on      want to make a
    WebDriver.            restyling with
                           WebDriver.


                                    © 2012GlobalLogic Inc.   3
Existing Automation on Selenium



                Implementation,
                updating
 Framework on                     Framework on
 Selenium 1                       Selenium 2




                                          © 2012GlobalLogic Inc.   4
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
MANUAL Testing



Update Skills 1 {…}           Practice in
                              Record/Playback

    Update Skills 2 {…}


  Build Simple            Implement and
  Framework               develop dif. features
                                           © 2012GlobalLogic Inc.   6
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
From Manual Testing (Case 2)
    - HTML, CSS, JS syntax
    - Install:
   Selenium IDE,
   firebug,
   firepath
   - Watch Record/Playback Selenium IDE Tutorial
   - Create account on automated-testing.info
   - Watch “Locators” Tutorial
   - Watch “RegExps” Tutorial/Perform RegExp practice here


                                                       © 2012GlobalLogic Inc.   8
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
“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
“Things couldn’t be automated”
                                    Canvas




 Trick with checking the image correctness

     - With JS execution (getValue())
     - Sikuli Java Library


                                             © 2012GlobalLogic Inc.   11
“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
Write manipulators for switching




                                   © 2012GlobalLogic Inc.   13
“Things couldn’t be automated”
          Windows Upload Pop-Up




 Trick with checking the image correctness



                                             © 2012GlobalLogic Inc.   14
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 (automated-testing.info)
- Look for difficult situations and try to automate them
                                                    © 2012GlobalLogic Inc.   15
< QUESTIONS ? >



                  © 2012GlobalLogic Inc.   16
Taras Lytvyn
automation QC in Global Logic inc.
email : taras.lytvyn@globallogic.com
web: http://testers.lviv.ua/automation_blog
skype: tasryk




                                              © 2012GlobalLogic Inc.   17

More Related Content

PPT
Web Test Automation with Selenium
vivek_prahlad
 
PPT
Automated Web Testing Using Selenium
Weifeng Zhang
 
PPTX
Introduction to Selenium Web Driver
Return on Intelligence
 
PPTX
Selenium topic 1- Selenium Basic
ITProfessional Academy
 
PDF
Automation Testing using Selenium
Naresh Chintalcheru
 
PPTX
Selenium Webdriver
Muhammad Bilal
 
PPT
selenium training | selenium course | selenium video tutorial | selenium for ...
Nancy Thomas
 
PDF
Web application testing with Selenium
Kerry Buckley
 
Web Test Automation with Selenium
vivek_prahlad
 
Automated Web Testing Using Selenium
Weifeng Zhang
 
Introduction to Selenium Web Driver
Return on Intelligence
 
Selenium topic 1- Selenium Basic
ITProfessional Academy
 
Automation Testing using Selenium
Naresh Chintalcheru
 
Selenium Webdriver
Muhammad Bilal
 
selenium training | selenium course | selenium video tutorial | selenium for ...
Nancy Thomas
 
Web application testing with Selenium
Kerry Buckley
 

What's hot (20)

PPTX
Automation - web testing with selenium
Tzirla Rozental
 
PPTX
Step by step - Selenium 3 web-driver - From Scratch
Haitham Refaat
 
ODP
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Yuriy Gerasimov
 
PPTX
How to Configure Selenium WebDriver (java)
Dasun Eranthika
 
PDF
Selenium Maven With Eclipse | Edureka
Edureka!
 
PPTX
Selenium WebDriver - Test automation for web applications
TSundberg
 
DOCX
Selenium webdriver course content rakesh hansalia
Rakesh Hansalia
 
PDF
Automated Web Testing With Selenium
Deepak Mittal
 
DOCX
Selenium_WebDriver_Java_TestNG
Basul Asahab
 
PPTX
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
PPT
Selenium ppt
Pavan Kumar
 
PDF
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Edureka!
 
PPTX
Selenium - Introduction
Sachin-QA
 
PPT
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
PPT
Selenium
Kalyan ch
 
PDF
Selenium web driver
Shobika Ramasubbarayalu
 
PPS
Selenium Demo
ankitslide
 
PPTX
An Overview of Selenium
adamcarmi
 
PDF
Automation Using Selenium Webdriver
Edureka!
 
PPT
Selenium
Sun Technlogies
 
Automation - web testing with selenium
Tzirla Rozental
 
Step by step - Selenium 3 web-driver - From Scratch
Haitham Refaat
 
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Yuriy Gerasimov
 
How to Configure Selenium WebDriver (java)
Dasun Eranthika
 
Selenium Maven With Eclipse | Edureka
Edureka!
 
Selenium WebDriver - Test automation for web applications
TSundberg
 
Selenium webdriver course content rakesh hansalia
Rakesh Hansalia
 
Automated Web Testing With Selenium
Deepak Mittal
 
Selenium_WebDriver_Java_TestNG
Basul Asahab
 
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
Selenium ppt
Pavan Kumar
 
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Edureka!
 
Selenium - Introduction
Sachin-QA
 
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
Selenium
Kalyan ch
 
Selenium web driver
Shobika Ramasubbarayalu
 
Selenium Demo
ankitslide
 
An Overview of Selenium
adamcarmi
 
Automation Using Selenium Webdriver
Edureka!
 
Selenium
Sun Technlogies
 
Ad

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

PDF
Selenium - The Way Of Success
Zbyszek Mockun
 
PPTX
Framework for Web Automation Testing
Taras Lytvyn
 
PDF
Leveraging Visual Testing with Your Functional Tests
TEST Huddle
 
PPTX
QSpiders - Selenium Webdriver
Qspiders - Software Testing Training Institute
 
PDF
Ghhfghjbfyhhebook-agile-software-testing.pdf
4rmgm5snvq
 
PDF
Test automation - Building effective solutions
Artem Nagornyi
 
PPTX
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
PDF
Web driver selenium simplified
Vikas Singh
 
PPTX
What's so great about web driver?
mwinteringham
 
PPTX
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
DevDay Da Nang
 
PDF
Expert selenium with core java
Ishita Arora
 
PDF
Top100summit 谷歌-scott-improve your automated web application testing
drewz lin
 
PDF
Developing a test automation strategy by Brian Bayer
QA or the Highway
 
PPTX
Web Testing
muhamedwaseem09
 
PPSX
Mateusz Radkiewicz - "Automate user's actions with Selenium, Auto it and Sikuli"
Trójmiejska Grupa Testerska
 
PDF
Microsoft power point automation-opensourcetestingtools_matrix-1
tactqa
 
PDF
Microsoft power point automation-opensourcetestingtools_matrix-1
tactqa
 
PDF
Web Test Automation Framework - IndicThreads Conference
IndicThreads
 
PPTX
Automated integration tests for ajax applications (с. карпушин, auriga)
Mobile Developer Day
 
PPT
Stepin evening presented
Vijayan Reddy
 
Selenium - The Way Of Success
Zbyszek Mockun
 
Framework for Web Automation Testing
Taras Lytvyn
 
Leveraging Visual Testing with Your Functional Tests
TEST Huddle
 
QSpiders - Selenium Webdriver
Qspiders - Software Testing Training Institute
 
Ghhfghjbfyhhebook-agile-software-testing.pdf
4rmgm5snvq
 
Test automation - Building effective solutions
Artem Nagornyi
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
Web driver selenium simplified
Vikas Singh
 
What's so great about web driver?
mwinteringham
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
DevDay Da Nang
 
Expert selenium with core java
Ishita Arora
 
Top100summit 谷歌-scott-improve your automated web application testing
drewz lin
 
Developing a test automation strategy by Brian Bayer
QA or the Highway
 
Web Testing
muhamedwaseem09
 
Mateusz Radkiewicz - "Automate user's actions with Selenium, Auto it and Sikuli"
Trójmiejska Grupa Testerska
 
Microsoft power point automation-opensourcetestingtools_matrix-1
tactqa
 
Microsoft power point automation-opensourcetestingtools_matrix-1
tactqa
 
Web Test Automation Framework - IndicThreads Conference
IndicThreads
 
Automated integration tests for ajax applications (с. карпушин, auriga)
Mobile Developer Day
 
Stepin evening presented
Vijayan Reddy
 
Ad

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Architecture of the Future (09152021)
EdwardMeyman
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
IoT Sensor Integration 2025 Powering Smart Tech and Industrial Automation.pptx
Rejig Digital
 
PDF
Beyond Automation: The Role of IoT Sensor Integration in Next-Gen Industries
Rejig Digital
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Doc9.....................................
SofiaCollazos
 
Architecture of the Future (09152021)
EdwardMeyman
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
IoT Sensor Integration 2025 Powering Smart Tech and Industrial Automation.pptx
Rejig Digital
 
Beyond Automation: The Role of IoT Sensor Integration in Next-Gen Industries
Rejig Digital
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 

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

  • 1. Tech Talks: Web Driver Taras Lytvyn Implementation and Features © 2012GlobalLogic Inc. 1
  • 2. Contents - Automation implementation (+ migrating) - How to update skills for “automation ability” - Selenium WebDriver “advanced level “ tricks - Selenium WebDriver Features development and implementation in examples (overview of situations that “are not automated”) © 2012GlobalLogic Inc. 2
  • 3. Starting Automation on Selenium WebDriver You are manual You currently have tester and want to automation on implement your project based automation testing on Selenium 1 and on your project on want to make a WebDriver. restyling with WebDriver. © 2012GlobalLogic Inc. 3
  • 4. Existing Automation on Selenium Implementation, updating Framework on Framework on Selenium 1 Selenium 2 © 2012GlobalLogic Inc. 4
  • 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. MANUAL Testing Update Skills 1 {…} Practice in Record/Playback Update Skills 2 {…} Build Simple Implement and Framework develop dif. features © 2012GlobalLogic Inc. 6
  • 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. From Manual Testing (Case 2) - HTML, CSS, JS syntax - Install: Selenium IDE, firebug, firepath - Watch Record/Playback Selenium IDE Tutorial - Create account on automated-testing.info - Watch “Locators” Tutorial - Watch “RegExps” Tutorial/Perform RegExp practice here © 2012GlobalLogic Inc. 8
  • 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. “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. “Things couldn’t be automated” Canvas Trick with checking the image correctness - With JS execution (getValue()) - Sikuli Java Library © 2012GlobalLogic Inc. 11
  • 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. Write manipulators for switching © 2012GlobalLogic Inc. 13
  • 14. “Things couldn’t be automated” Windows Upload Pop-Up Trick with checking the image correctness © 2012GlobalLogic Inc. 14
  • 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 (automated-testing.info) - Look for difficult situations and try to automate them © 2012GlobalLogic Inc. 15
  • 16. < QUESTIONS ? > © 2012GlobalLogic Inc. 16
  • 17. Taras Lytvyn automation QC in Global Logic inc. email : [email protected] web: http://testers.lviv.ua/automation_blog skype: tasryk © 2012GlobalLogic Inc. 17