Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Argentesting 2017 - Workshop Webdriver.io

654 views

Published on

Introducción a Webdriver.io

En este taller ser verá una introducción a los features mas relevantes de webdriver.io.

¿Qué es webdriver.io? Cuales son sus características principales
Configuración básica
Primeros tests con la herramienta
Exportar los resultados
REST interface
Visual Regression
Requerimientos de las máquinas de los asistentes:

OSX, Linux, windows
NodeJS 8.2 o superior
NPM
No se impartirán conceptos de programación en general, ni de Javascript en particular; por lo que se requiere de los asistentes algún tipo de experiencia con lenguajes de programación.

Expositor: Gerardo Argiz

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Argentesting 2017 - Workshop Webdriver.io

  1. 1. Workshop Gerardo Argiz
  2. 2. About me • Software Test Engineer at Medallia • Developer specialized in testing. Manager hands on • 15+ working in testing • Geek and Tech passionate • Selenium since many years • C++, Java, Ruby, Python, Javascript
  3. 3. AGENDA 1 2 3 4 5 6 What webdriverIO is ? Key Features Starting from scratch WebPage Testing Exploring Results Mobile and Cloud DEMO (tentative) Visual Regression7 8 Other Topics
  4. 4. What is webdriverIO1 • WebdriverIO is an open source testing utility for nodejs. • WebdriverIO lets you control a browser or a mobile application with just a few lines of code. • Integrated with your favorite BDD or TDD test framework. • Sends requests to a Selenium server via the WebDriver Protocol
  5. 5. Key Features2 Features • Integration with major frameworks • Simple and Intuitive API • Run Mobile and Web • Built in reporting • Support for Page Object Patter • Test Cloud services integration
  6. 6. Starting from scratch3 Starting • Install webdriver • Setup • Review configuration file • Overall structure • Tests locations • Capabilities • Sync (true by default) • Browser clients • Mobile/WEB • Assertion framework • Reports • Browser variable
  7. 7. WebPage Testing4 Ex 1 • First Test • Page Object Model • Take Screenshot • From test • Hook configuration Source https://martinfowler.com/bliki/PageObject.html
  8. 8. Exploring Results5 Ex 2 • REPL Interface • Second Test • Multibrowser • Export Results
  9. 9. Mobile and Cloud DEMO (tentative)6 Demo 1 • Multiple environments • Dev/qa/prod • Mobile Testing • Cloud Services
  10. 10. Visual Regression7 Ex 3 • Visual Testing • Concept • Pros/Cons • When
  11. 11. Other topics8 Demo 2 • Parallel Runs • Retry Flaky Tests • Jenkins Integration • Grunt Integration
  12. 12. We are almost done… • webdriver.io • gargiz@medallia.com, gargiz@phiqa.com • linkedin.com/in/gerardoargiz

×