SlideShare a Scribd company logo
1 of 17
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

What's hot

Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with seleniumTzirla Rozental
 
Step by step - Selenium 3 web-driver - From Scratch
Step by step - Selenium 3 web-driver - From Scratch  Step by step - Selenium 3 web-driver - From Scratch
Step by step - Selenium 3 web-driver - From Scratch Haitham Refaat
 
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Yuriy Gerasimov
 
How to Configure Selenium WebDriver (java)
How to Configure Selenium WebDriver (java)How to Configure Selenium WebDriver (java)
How to Configure Selenium WebDriver (java)Dasun Eranthika
 
Selenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | EdurekaSelenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | EdurekaEdureka!
 
Selenium WebDriver - Test automation for web applications
Selenium WebDriver - Test automation for web applicationsSelenium WebDriver - Test automation for web applications
Selenium WebDriver - Test automation for web applicationsTSundberg
 
Selenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaSelenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaRakesh Hansalia
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With SeleniumDeepak Mittal
 
Selenium_WebDriver_Java_TestNG
Selenium_WebDriver_Java_TestNGSelenium_WebDriver_Java_TestNG
Selenium_WebDriver_Java_TestNGBasul Asahab
 
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...Edureka!
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - IntroductionSachin-QA
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesVijay Rangaiah
 
An Overview of Selenium
An Overview of SeleniumAn Overview of Selenium
An Overview of Seleniumadamcarmi
 
Automation Using Selenium Webdriver
Automation Using Selenium WebdriverAutomation Using Selenium Webdriver
Automation Using Selenium WebdriverEdureka!
 

What's hot (20)

Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Step by step - Selenium 3 web-driver - From Scratch
Step by step - Selenium 3 web-driver - From Scratch  Step by step - Selenium 3 web-driver - From Scratch
Step by step - Selenium 3 web-driver - From Scratch
 
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
 
How to Configure Selenium WebDriver (java)
How to Configure Selenium WebDriver (java)How to Configure Selenium WebDriver (java)
How to Configure Selenium WebDriver (java)
 
Selenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | EdurekaSelenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | Edureka
 
Selenium WebDriver - Test automation for web applications
Selenium WebDriver - Test automation for web applicationsSelenium WebDriver - Test automation for web applications
Selenium WebDriver - Test automation for web applications
 
Selenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaSelenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansalia
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
Selenium_WebDriver_Java_TestNG
Selenium_WebDriver_Java_TestNGSelenium_WebDriver_Java_TestNG
Selenium_WebDriver_Java_TestNG
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
Selenium
SeleniumSelenium
Selenium
 
Selenium web driver
Selenium web driverSelenium web driver
Selenium web driver
 
Selenium Demo
Selenium DemoSelenium Demo
Selenium Demo
 
An Overview of Selenium
An Overview of SeleniumAn Overview of Selenium
An Overview of Selenium
 
Automation Using Selenium Webdriver
Automation Using Selenium WebdriverAutomation Using Selenium Webdriver
Automation Using Selenium Webdriver
 
Selenium
SeleniumSelenium
Selenium
 

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

Framework for Web Automation Testing
Framework for Web Automation TestingFramework for Web Automation Testing
Framework for Web Automation TestingTaras Lytvyn
 
Pdx Se Intro To Se
Pdx Se Intro To SePdx Se Intro To Se
Pdx Se Intro To SeAn Doan
 
Upcoming new features of selenium in automation testing
Upcoming new features of selenium in automation testingUpcoming new features of selenium in automation testing
Upcoming new features of selenium in automation testingsoftware testingchennai
 
前端網頁自動測試
前端網頁自動測試 前端網頁自動測試
前端網頁自動測試 政億 林
 
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUISPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUIandrew.macleod
 
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User ExperienceNagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User ExperienceNagios
 
Selenium - The Way Of Success
Selenium - The Way Of SuccessSelenium - The Way Of Success
Selenium - The Way Of SuccessZbyszek Mockun
 
Automated Testing using JavaScript
Automated Testing using JavaScriptAutomated Testing using JavaScript
Automated Testing using JavaScriptSimon Guest
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guidebigspire
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Controlusha kannappan
 
C2B2 WebLogic Administration Training
C2B2 WebLogic Administration TrainingC2B2 WebLogic Administration Training
C2B2 WebLogic Administration TrainingC2B2 Consulting
 
Sudeep_Automation_resume
Sudeep_Automation_resumeSudeep_Automation_resume
Sudeep_Automation_resumeSudeep Sinha
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using SeleniumNikhil Kapoor
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxSyntax Technologies
 
Selenium withnet
Selenium withnetSelenium withnet
Selenium withnetVlad Maniak
 

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

Framework for Web Automation Testing
Framework for Web Automation TestingFramework for Web Automation Testing
Framework for Web Automation Testing
 
Pdx Se Intro To Se
Pdx Se Intro To SePdx Se Intro To Se
Pdx Se Intro To Se
 
Upcoming new features of selenium in automation testing
Upcoming new features of selenium in automation testingUpcoming new features of selenium in automation testing
Upcoming new features of selenium in automation testing
 
前端網頁自動測試
前端網頁自動測試 前端網頁自動測試
前端網頁自動測試
 
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUISPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
SPA 2009 - Acceptance Testing AJAX Web Applications through the GUI
 
Selenium
SeleniumSelenium
Selenium
 
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User ExperienceNagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
 
Selenium - The Way Of Success
Selenium - The Way Of SuccessSelenium - The Way Of Success
Selenium - The Way Of Success
 
Automated Testing using JavaScript
Automated Testing using JavaScriptAutomated Testing using JavaScript
Automated Testing using JavaScript
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guide
 
Selenium
SeleniumSelenium
Selenium
 
Selenium using C# by Yogesh Kumar
Selenium using C# by  Yogesh KumarSelenium using C# by  Yogesh Kumar
Selenium using C# by Yogesh Kumar
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Control
 
C2B2 WebLogic Administration Training
C2B2 WebLogic Administration TrainingC2B2 WebLogic Administration Training
C2B2 WebLogic Administration Training
 
Sudeep_Automation_resume
Sudeep_Automation_resumeSudeep_Automation_resume
Sudeep_Automation_resume
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
Sightly_techInsight
Sightly_techInsightSightly_techInsight
Sightly_techInsight
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
 
Selenium withnet
Selenium withnetSelenium withnet
Selenium withnet
 
test_automation_POC
test_automation_POCtest_automation_POC
test_automation_POC
 

Recently uploaded

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

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 : taras.lytvyn@globallogic.com web: http://testers.lviv.ua/automation_blog skype: tasryk © 2012GlobalLogic Inc. 17