Web Automation Testing For Beginners Using Nightwatch.js

Learn the basics of using Nightwatch.js to invoke Selenium and Webdriver for website test automation

4.66 (411 reviews)
Udemy
platform
English
language
Software Testing
category
1,790
students
3.5 hours
content
Oct 2020
last update
$59.99
regular price

What you will learn

Web Test Automation

Nightwatch JS

Selenium

WebDriver

Description

Do you need to learn how to write test automation for websites?  This course gets you started using the basics of web test automation.

By the end of this course, you will be able to write basic web test automation that you can use at any job.  You will learn how to install Nightwatch.js from scratch and how to do so in a Node.js friendly way.

Learn how to automate:

  • navigating to web pages

  • clicking on elements

  • filling out forms

  • validating elements on the page

  • selecting items from dropdown menus

Under the hood, Nightwatch.js uses Selenium.  Taking this course will introduce you to the world of Selenium based testing for web pages. A valuable skill in the marketplace.

You only need to know the basics of Javascript to take this course.  You can follow along as all the examples are written on the screen for you to follow along with. 

All the tools used in this course are free, so you don't need to buy any fancy software. 

The instructor has used Nightwatch.js at his company to build a large number of tests across multiple teams that are used to verify releases in their Continuous Delivery system. Chris has taught multiple teams and other software testers how to use Nightwatch.js to accomplish these goals. You are in good hands in this course!



Content

Introduction

What will be covered
Requirements
What is Nightwatch?
About me

Getting Started

Overview
Install Node.js
Install Nightwatch
Install Webdrivers
Install shortcut
Configuration file
Test directory
Url for the Simple Test
A Simple Test
Using CSS vs Using XPath
Setup Example for CSS vs XPath
Url for useCss and useXpath tests
useCss() and useXpath()
A gotcha with useCss () and useXpath()
Set XPath as the default instead of CSS selectors
Review

Basic Actions

Overview
Setup
Navigating to a website
Pausing
Url for Click test
Clicking on elements
URL for Text Input tests
Entering text into input fields
Using the keyboard: Set Value
Using the keyboard: An array of characters
Using the keyboard: All the predefined "KEYS"
Using the keyboard: Deleting all characters from an input field
URL for Dropdowns tests
Dropdowns: Setup the test
Dropdowns: SetValue()
Dropdowns: Clicking
Review

Asserts and Expects

Overview
URL for the next few lessons
Test page
Setup Test
Assert Visible
Expect Visible
Assert Contains Text
Expect Contains Text
Assert Element Present
Expect Element Present
Expect Enabled
URL for the Enabled lessons
Enabled Example Page
Using Assert Attributes To See If Element Is Enabled
Using Expect Enabled
Verify vs Assert
waitForElementVisible and waitForElementPresent
URL for waitForElement lessons
waitForElement: Test Page
waitForElement: Write the Test
Review

Running Tests

Overview
Running "headless"
Setup
Running All Tests
Running Individual Tests
Using Tags
Using Groups
Review

Epilogue

Thank You
Bonus lecture

Screenshots

Web Automation Testing For Beginners Using Nightwatch.js - Screenshot_01Web Automation Testing For Beginners Using Nightwatch.js - Screenshot_02Web Automation Testing For Beginners Using Nightwatch.js - Screenshot_03Web Automation Testing For Beginners Using Nightwatch.js - Screenshot_04

Reviews

Kamal
September 8, 2023
Very well explained with simple and precise examples It's very good methodology and a good explanation
Daniel
August 22, 2023
I understand, that there's too much variety in Nightwatch, to cover it all, with all the basics, commands, and everything yo can do with this tool. However, I was hoping for some more. I understand the basic-basics, but I cannot do tests, just by knowing the necessary commands to do so. I want to understand it. By skipping most of the theory and jumping straight to testing, I can only mindlessly repeat and re-write the code without any knowledge whatsovever why does it work, or what should it do. It was mentioned at the beggining that we are gonna skip through the basics of programming, but skipping through the whole course wasn't what I expected.
Sławomir
February 23, 2023
The course was very good, especially for beginners. Unfortunately, I expected a bit more, relative to the free version, which encouraged me to purchase the paid version. I hope that there will be an expanded version with more extensive material. The presenter does an excellent job of explaining! (I suggest a smaller breakdown of the chapters)
Marlon
January 5, 2023
Good course, all the basics concepts for night watch are well explained, I'm looking foward for the advanced course
VishwaKumar
December 19, 2022
I really enjoyed watching and learning the course even though its just for beginners. I think it really sets the stage right for even experienced developers like me who are new to night watch! Thank you for this incredible course and looking forward to your new advanced course soon!
Jorge
December 8, 2022
This is a good introduction to nightwatch, how to install it; setup, use of assert/verify/expect methods and run tests options. Some lessons could be merged to avoid the loading time of the lesson + loading next one. Especially the lessons with less than 2 minutes.
Archana
November 22, 2022
Excellent! I am new to testing, nodejs and nightwatch. Still I could able to understand, execute everything so easily. Thank you.
David
April 23, 2022
Excellent course! It is very easy to learn and understand. We can get good hints from the Nightwatch example code that the lecturer gave.
yunus
April 10, 2022
that is exactly what I was trying to find, I need to learn Nightwatch really quickly for my work. so far this course is really helpful. thanks for creating this course.
Christine
March 12, 2022
Although I already know Nigthwatch a bit and can write simple tests, there is still a lot to discover. Good background information, good hints. You can understand the lecturer well, it's fun to listen to him.
Anna
January 24, 2022
This is my first course on Udemy and I never would have thought that it would really give me real automation skills! But Christopher is a really amazing teacher, he explains everything so simply and clearly!
SHAHUL
October 13, 2021
Need more concept to cover. Example: Selenium host, Handling dropdownbox, switch between browser. handling alert box, etc
Tyler
June 28, 2021
Great course! He really walks you through the basics, explaining the multiple parts to each method and section in clear and concise ways with a lot of hands on do it along with him examples that aren't overly complex or hard to keep up with.
Sumit
June 24, 2021
You designed this course for absolute beginners not even for beginners. I was expecting Page objects, Cucumber+Nightwatch with this series but anyways as you said that you would be adding those advanced topics in upcoming series. And, hoping to have very advanced topics like using with Asynchronous wait, promise etc. Highly recommended to freshers because we have very less content on internet except the documentation. Overall nice material. Also, please let us know that when can we get advanced course on this. Cheers!!
Ruben
May 13, 2021
I love the 'unpolished' way Chris took me through this course, including even the mistakes he made. I was able to very quickly code and execute the examples while Chris was explaining. Thanks!

Charts

Price

Web Automation Testing For Beginners Using Nightwatch.js - Price chart

Rating

Web Automation Testing For Beginners Using Nightwatch.js - Ratings chart

Enrollment distribution

Web Automation Testing For Beginners Using Nightwatch.js - Distribution chart

Related Topics

3305952
udemy ID
7/6/2020
course created date
12/12/2020
course indexed date
Bot
course submited by