WebdriverIO - Selenium Webdriver using Node.js & More!
- 17 hours on-demand video
- 6 articles
- 339 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- This is a complete course that will teach you from the basics to building advanced frameworks
- A free 200+ page E-Book is included to help students learn and revise
- Continuous Integration & Reporting via Jenkins
- You are taught good programming concepts such as abstraction, don't repeat yourself and Page Object Modelling
Course introduction video. Here I explain the technologies we will be covering and what is included in this course.
Git Bash for Windows is a package that is comprised of two parts: git which is a version control system (VCS) which tracks the file changes, commonly used for programming in a team setting. bash is a Linux-based command line (which has been ported over to Windows).
In this lecture, I teach you how to download and setup GitBash for which we will use extensively during this course.
iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with macOS 10.10 or newer. iTerm2 brings the terminal into the modern age with features you never knew you always wanted. It’s features rich and provides several additional features above the standard terminal which will make it easier to run our tests.
In this lecture, I show how Mac users can download and install iTerm2 and how to set the tool up successfully.
WebdriverIO released a version update (to v.5) on the 17th December 2018. I will add a new section to explain the changes made very soon, but in the meantime please ensure to read this lecture note otherwise you will come across an error.
Selenium Standalone is a node based CLI library for launching Selenium with WebDrivers support. Basically, it’s a way for us to use Selenium which is needed to run our automation tests. As explained in the NodeJS/ NPM lecture, we can instruct our project to use dependencies and in this case we are calling the selenium-standalone library.
Selenium Standalone acts as a middle layer between our automation framework and our browsers. It passes on test messages to the relevant browser that will then run our test against the application that’s in scope.
Sublime Text is a proprietary cross-platform source code editor with a Python application programming interface (API). It natively supports many programming languages and markup languages, and functions can be added by users with plugins, typically community-built and maintained under free-software licenses.
In this lecture we use one of the available demonstration tests found on the webdriver.io homepage to create our first test.
In this lecture, we look at creating and executing a second test that uses the contact us form on webdriveruniversity.com. Contact forms on websites can be quite tricky because there is usually validation in place before it can be submitted (e.g. you need to fill in the mandatory fields before you can submit the request). We can formulate tests to ensure we test all scenarios but, in this case, we want to keep things simple to demonstrate how little code is needed to direct our tests to the contact us form.
The main purpose of WebdriverIO is end-to-end testing on a big scale. Webdriverio provides a test runner (wdio) that helps you to build a reliable test suite that is easy to read and maintain. The test runner takes care of many problems you are usually facing when working with plain automation libraries. For one, it organizes your test runs and splits up test specs, so your tests can be executed with maximum concurrency. It also handles session management and provides a lot of features that help you to debug problems and find errors in your tests.
In this lecture, I introduce you to Mocha. Here I explain its purpose, why we should use it and the benefits.
In this lecture, we looked at handling multiple environments during runtime. This is a common scenario, as most companies will use multiple environments to perform different tests in the real world.
For example, a company may have a website to perform sprint related work. They may have another website to perform regression testing. In this lecture, we look at adding an IF statement in our WDIO file to handle this situation.
The assert module provides a way of testing expressions. For example, if the expression evaluates to 0, or false, an assertion failure is being caused, and the program is terminated. Think of assertions as a condition (e.g. we expect result A to be returned and if result A does not return then the test should fail).
- Some basic knowledge of programming would be an advantage
- Some basic knowledge of selenium would be an advantage
- Some basic knowledge of testing concepts (either manual or automation) would be an advantage
** Number 1 rated course for WebdriverIO on Udemy **
** 200+ page e-book of lecture screenshots and notes included to help students revise **
** Course Updated on 10/2019 with 6 hours of brand new up-to-date content! **
This course teaches you the following technologies:
What is new in version 5 - a dedicated section to go over the key differences in version 5.
Selenium - is a suite of tools to automate web browsers across many platforms.
Chai - is an assertion library that is often used alongside Mocha. It provides functions and methods that help you compare the output of a certain test with its expected value.
Advanced Reporting (allure reports, J-unit Reports, JSON reports & more) - detailed, visual appealing, useful report outputs.
Jenkins - is a simple way to set up a continuous integration and continuous delivery environment for almost any combination of languages and source code repositories
This course covers everything you need to create advanced frameworks using the WebdriverIO's Next-gen WebDriver test framework for Node.js.
What you will learn?
This is a full course that teaches you from the basics all the way to building advanced frameworks!
I teach you good code design concepts using Page Object Modelling (POM), Don't Repeat Yourself (DRY) and more!
This course is practical. I walk you through everything and provide source code at each stage for you to follow along!
You will gain invaluable knowledge after completing this course and will have skills that are in demand!
- Beginner automation testers
- Intermediate automation testers
- Expert automation testers
- Anyone interested in testing
- Manual testers
- Anyone that wants to learn about modern testing techniques
- Those interested in emerging testing technologies that is rapidly growing in popularity