0% found this document useful (0 votes)
1K views13 pages

Webdriver IO

WebdriverIO allows controlling browsers to test web and mobile applications. It uses Node.js and supports technologies like Selenium, Cucumber, and Chai. WebdriverIO represents browser elements and actions through a browser object, and uses selectors like CSS, XPath, and more to find elements. It can be installed and configured to run tests locally or on cloud services while generating reports.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views13 pages

Webdriver IO

WebdriverIO allows controlling browsers to test web and mobile applications. It uses Node.js and supports technologies like Selenium, Cucumber, and Chai. WebdriverIO represents browser elements and actions through a browser object, and uses selectors like CSS, XPath, and more to find elements. It can be installed and configured to run tests locally or on cloud services while generating reports.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
  • WebdriverIO Overview: Introduces WebdriverIO with a title slide, indicating the focus on automation testing tools.
  • Introduction: Briefly presents the functionalities and capabilities of WebdriverIO in browser control and session management.
  • Technologies: Lists the key technologies associated with WebdriverIO, including Node.js, Cucumber, and Selenium.
  • Browser Object: Describes the browser object functionalities, including element and session management for testing.
  • Selectors: Explains different selector strategies available in WebdriverIO for identifying HTML elements.
  • Installation: Provides installation instructions for setting up WebdriverIO with necessary dependencies.
  • Installation Commands: Presents specific terminal commands to install WebdriverIO and initiate help command.
  • Usage: Introduces usage scenarios and potential settings for running WebdriverIO tests.
  • Usage Details: Details the practical aspects of using WebdriverIO, such as test location, frameworks, and reporters.
  • WDIO.CONF: Indicates the configuration file necessary for setting up WebdriverIO tests.
  • Example: Provides a title slide for an example demonstration of using WebdriverIO.
  • REPL Interface: Describes how to use the REPL interface with WebdriverIO for interactive testing and debugging.
  • Conclusion: Concludes the presentation and provides contact information for further questions.

WebdriverIO

Introduction

• WebdriverIO allows us to control the browser


• Manage Selenium session
• JS Synchronous code
• Web and Mobile apps support
• Page object support
3

Technologies

▸ Node JS
▸ Cucumber
▸ Chai
▸ Selenium
▸ Allure
4

Browser Object

• Represents the elements and actions of a web page


• You can have access to the global variable browser object
• Init and End command session is done by test runner process
5

Selectors

 CSS Query Selector


 Link Text
 Partial Link Text
 Element with certain text
 Tag Name
 Name Attribute
 XPath
6

Installation
7
8

Usage
9

Usage

▸ Test location (local – cloud service)


▸ Framework
▸ Reporters
▸ Features location
▸ Step definition location
▸ Screenshot location
10

WDIO.CONF
11

Example
12

REPL interface
13

THANKS!
Any questions?
You can find me at
fernando.gutierrez@jalasoft.com

You might also like