
What will be covered in this course.
What you should know going into this course. What do you need to know? What do you need to install?
Learn how Nightwatch, a test automation tool, runs tests against web browsers via webdrivers, interprets pass or fail results, and sets up drivers for Chrome and Firefox.
http://tutorials.actionqa.com/yt/nw/simple.html
Learn to use Nightwatch.js to input values via both CSS selectors and XPath selectors, switching between useCss and useXpath for reliable element targeting.
Set up a new Nightwatch.js test for a select dropdown by cleaning pauses, uncommenting code, creating dropdown.js, and clicking items in the dropdown on a Marvel page.
Master dropdown automation in nightwatch.js by using browser.setValue with a css selector to type thor, hulk, or black widow and observe option filtering with short waits.
Explore how to interact with dropdowns in nightwatch.js by using the click method with css selectors to open the select and click specific options via nth-child, including looping through items.
Set up a new Nightwatch project by initializing npm, installing Nightwatch and Chrome Driver, creating a test folder with conf.js, and verifying the setup for element visibility.
Learn how to validate text in Nightwatch.js by using expect text to contain or equal, handle text changes, and verify element presence with practical debugging techniques.
Show how a text field enables the submit button and navigates to another page, explain the HTML disabled attribute, and address Nightwatch assertion limits with an expect-based approach.
Compare waitForElementVisible and waitForElementPresent in Nightwatch, and explore how assert, expect, and built-in waits simplify element checks with practical examples.
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!