Nightwatch - Handson.txt - The Dawn of Nightwatch Welcome to the course on Nightwatch For a head start let's understand the overview of Nightwatch

Nightwatch - Handson.txt - The Dawn of Nightwatch Welcome...

This preview shows page 1 - 3 out of 41 pages.

The Dawn of NightwatchWelcome to the course on Nightwatch. For a head start, let's understand the overview of Nightwatch.Nightwatch is an end-to-end automation testing framework for web applications.It is written in Node.js and supports Selenium WebDriver.It makes our continuous integration testing simpler.Nightwatch is named after a famed painting The Night Watch done by Rembrandt vanRijn.How an Application Works?Let's understand how an application is built and how it works. When you open your iPad and touch on the Play button, it starts playing your favorite songs. You can pause, change or close the song. But you wonder how!An application runs due to:Client-side scriptingServer-side scriptingClient-Side ScriptingWhen we talk about client-side language, it refers to anything that is seen at the front-end. On an iPad, the buttons and list of music represent the front-end.To develop the front-end, you must equip yourself with HTML, CSS, and JavaScript. Let's understand about JavaScript.We have an application with white background and a button. Whenever a user clicks on the button, it changes the background of the website. If the user refreshes the browser, it again goes to its previous background.You will wonder how and why?.The above action is happening because of Javascript. JavaScript interacts only with you or the client.Server-Side ScriptingUsers are only able to see or manage the front end feature. However, there are plenty of the other things happening at the back-end.When you click a button, the background of the application would have changed.Do you know?Countless PHP scripts would be executed at the back-end to perform that action.PHP, Ruby on Rails, Python are examples of server-side scripting.Need for Node.jsAs JavaScript is a widely used Client-side language, so we require similar Server-side scripting that must beflexible,lightweightefficient.Node.js is a server-side implementation of JavaScript. It allows the user to write backend of the application. It uses a model architecture to make application development easier.Note: Kindly visit the upcoming cards for a detailed understanding.Node Package ManagerNode package manager, also known as npm is used to install and configure node applications and packages.
Background image
npm is the default package manager used for the JavaScript runtime environment Node.js.We will be using npm frequently to install and set up our node project.------------npm stands for ___________. Node package managerWhich of the following is Server side scripting? 3,5Which of the following is client side scripting? 1,2,4Node is ___________. Server-side scriptingNode is written in ___________. JavaScript--------------Create a Node ApplicationFor any project to start, we need an application. We know that a node is used for creating server-side scripting. However, before that, we need to create a skeleton for the node project.
Background image
Image of page 3

You've reached the end of your free preview.

Want to read all 41 pages?

  • Summer '17
  • Usage share of web browsers, Server-side scripting, Client-side scripting

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture