fbpx
Tag

javascript

Browsing

How to write a script in Nightwatch.js Welcome to the “A beginners guide to test automation with Javascript(Nightwatch.js)” blog series part 2! If you have missed out on the first part, you can read it here. In this article we will look into the following and as always – feel free to skip to any part you are the most interested in: The most useful Nightwatch.js commands:.url().waitForElement…().click().setValue().pause().saveScreenshot() / .takeScreenshot().perform()The final script Code used in this…

Countless things should be tested within web applications but among them, one of the most important scenarios to be tested and even load tested is the user login process. User login serves as a medium between providing users with most of the product features and therefore requires careful and thorough testing. If your website allows users to log in, a login page test is necessary. An automated test for this can be easily created for…

Introduction to Nightwatch Welcome to the “A beginners guide to test automation with Javascript(Nightwatch.js)”! This is a three-part blog series to kick start writing web UI automation using Nightwatch.js. In the following parts you will learn: Introduction to Nightwatch.jsHow to write a script in Nightwatch.jsCallback functions and command queue in Nightwatch.jsHow to make your script better in Nightwatch.js Sounds exciting? Let’s get started! Writing a script in JavaScript (JS) and Nightwatch.js, aka Nightwatch (NW), is…