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
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. 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. 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. 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
7. WebPage Testing4
Ex 1
• First Test
• Page Object Model
• Take Screenshot
• From test
• Hook configuration
Source https://martinfowler.com/bliki/PageObject.html