SlideShare a Scribd company logo
NIGHTWATCH FOR
TESTING NODEJS
APPLICATIONS
S R I K A N T H M A D D U R I
WHAT ARE WE DOING TODAY??
• Compare most popular JavaScript Automation Frameworks
• Get to know about them
• Talk more about NightwatchJS
• Why NightwatchJS
• NightwatchJS Demo
• Q & A
WHY NODEJS:
• Increase of usage of client side technologies
• Responsive and Light Weight dev. Technologies
Ex: Javascript, AngularJs, ionic and react
WHY JAVASCRIPT AUTOMATION FRAMEWORKS:
• NodeJs Usage
• Automation is in application code – SDET roles
• Automation along with developer’s code
• Run BDD locally
• Tools evolved: Webdriver IO, Nightwatch, protractor with CucumberJS.
NODEJS & SELENIUM:
MOST POPULAR JAVA SCRIPT BDD
TEST FRAMEWORKS:
•Protractor
•Webdriverio
•NightwatchJs
• Protractor: wrapper of WebDriverJs
• Supports NodeJs
• AngularJs element identification
• Error reporting.
• Inbuilt Test runner
• Parallel Testing
• Mobile- No support.
PROTRACTOR
WEBDRIVERIO
• NodeJs supported
• WebDriverIO: W3C webdriver API
• Supports CucumberJS
• Inbuilt Runner
• wdio.conf.js file
• Cloud extension
• Mobile- support to automate mobile web Apps.
• Community
WHY NIGHTWATCH
• Supports Node.js
• End-to-End (E2E) testing solution.
• Built-in test runner.
• Parallel Testing
• Cross Browser Testing
• Mobile Web App Testing Support
• Continuous integration tool
• Inbuilt screenshots
• Inbuilt Assertion Library
CONT....
• Page Object Pattern
• aliases for locators (@username)
• Cloud extension
• We Can use WebdriverIO apis
• Easy to extend
• Community
• Nightwatch: has it’s own implementation of the selenium WebDriver. And provides it’s
own testing framework with a test server, assertions, and tools.
• Framework- Can be used with other frameworks too, but can be especially useful in
case you want to run functional tests not as part of other framework.
• Syntax- looks the easiest and the most readable.
WHAT NIGHTWATCH
COMPARISON OF TOOLS:
CONS OF NIGHTWATCH
• Return value methods should only use call backs
• Call backs should given for every steps
CONCLUSION:
• HERO of the Javascript Frameworks because:
• For an E2E Testing, the webdrive.io, is still evolving, Nightwatch will be a great and
also is easy to use the framework
• Also it has very good inbuilt Debugging mechanism. Hence, Nightwatch is good for the
E2E Testing.
• NightWatchJS is itself is test runner, framework and having its own assertion library.

More Related Content

PPTX
Cypress Automation
PPTX
Why you should switch to Cypress for modern web testing?
PDF
e2e testing with cypress
PDF
Stripe con 2021 UI stack
PPTX
LONDON SDET MEETUP - Difference between Selenium and Cypress presentation
PPTX
Building a Continuous Delivery Pipeline With Visual Studio
PPTX
Cypress report
PDF
Serverless
Cypress Automation
Why you should switch to Cypress for modern web testing?
e2e testing with cypress
Stripe con 2021 UI stack
LONDON SDET MEETUP - Difference between Selenium and Cypress presentation
Building a Continuous Delivery Pipeline With Visual Studio
Cypress report
Serverless

What's hot (20)

PPTX
Building Custom Visual Studio Team Service Build Tasks With VSTS DevOps Task SDK
PPTX
Developing Cross-Platform Web Apps with ASP.NET Core1.0
PPTX
Building autonomous components with OWIN, PSake, NuGet, GitVersion and Swagger
PDF
Get Started with ASP.NET Core Training, Tutorial - Beginner to Advance
PPTX
Manage your environment with DSC
PPTX
Super tools to boost productivity in React dev env!
PDF
Hello world - intro to node js
PPTX
Breaking the eggshell: From .NET to Node.js
PPTX
ASP.NET Core
PDF
Best Angular Training Online: Angular tutorial | Learn Angular 2 to 10 |
PDF
Continuous delivery
PPTX
CD with spinnaker
PDF
Silverstripe CMS 4.9.0 release and beyound
PDF
The WordPress Performance Team
PDF
Cypress e2e automation testing - day1 intor by: Hassan Hameed
PPTX
Deploy applications with TFS Build
PDF
Writing your First Ansible Playbook
PDF
Start with Angular framework
PPTX
JavaEE Microservices -the Payara Way
PDF
Fastest to Mobile with Scalatra + Swagger
Building Custom Visual Studio Team Service Build Tasks With VSTS DevOps Task SDK
Developing Cross-Platform Web Apps with ASP.NET Core1.0
Building autonomous components with OWIN, PSake, NuGet, GitVersion and Swagger
Get Started with ASP.NET Core Training, Tutorial - Beginner to Advance
Manage your environment with DSC
Super tools to boost productivity in React dev env!
Hello world - intro to node js
Breaking the eggshell: From .NET to Node.js
ASP.NET Core
Best Angular Training Online: Angular tutorial | Learn Angular 2 to 10 |
Continuous delivery
CD with spinnaker
Silverstripe CMS 4.9.0 release and beyound
The WordPress Performance Team
Cypress e2e automation testing - day1 intor by: Hassan Hameed
Deploy applications with TFS Build
Writing your First Ansible Playbook
Start with Angular framework
JavaEE Microservices -the Payara Way
Fastest to Mobile with Scalatra + Swagger
Ad

Similar to End to End Testing with nightwatchjs (20)

PPTX
Nightwatch JS for End to End Tests
PDF
Deep Dive Into NightWatch- Workshop by Pallavi Sharma.pdf
PPTX
Browser Automated Testing Frameworks - Nightwatch.js
PPTX
Nightwatch 101 - Salvador Molina
PPTX
Web based automation testing on Node.js environment
PDF
E2E testing con nightwatch.js - Drupalcamp Spain 2018
PDF
Testing nightwatch, by David Torroija
PDF
Node.js and Selenium Webdriver, a journey from the Java side
PDF
Night Watch with QA
PDF
Browser testing with nightwatch.js - Drupal Europe
PPTX
Browser testing with nightwatch.js
PDF
Nightwatch.js (vodQA Shots - Pune 2017)
PDF
20160905 - BrisJS - nightwatch testing
PDF
DrupalCon Dublin 2016 - Automated browser testing with Nightwatch.js
PPTX
Testing nodejs apps
PDF
JS Lab`16. Сергей Селецкий: "Ретроспектива тестирования JavaScript"
PDF
KrishnaToolComparisionPPT.pdf
PPTX
Automated Testing using JavaScript
PPTX
Growing Trends of Open Source UI Frameworks
PDF
Front-End Testing: Demystified
Nightwatch JS for End to End Tests
Deep Dive Into NightWatch- Workshop by Pallavi Sharma.pdf
Browser Automated Testing Frameworks - Nightwatch.js
Nightwatch 101 - Salvador Molina
Web based automation testing on Node.js environment
E2E testing con nightwatch.js - Drupalcamp Spain 2018
Testing nightwatch, by David Torroija
Node.js and Selenium Webdriver, a journey from the Java side
Night Watch with QA
Browser testing with nightwatch.js - Drupal Europe
Browser testing with nightwatch.js
Nightwatch.js (vodQA Shots - Pune 2017)
20160905 - BrisJS - nightwatch testing
DrupalCon Dublin 2016 - Automated browser testing with Nightwatch.js
Testing nodejs apps
JS Lab`16. Сергей Селецкий: "Ретроспектива тестирования JavaScript"
KrishnaToolComparisionPPT.pdf
Automated Testing using JavaScript
Growing Trends of Open Source UI Frameworks
Front-End Testing: Demystified
Ad

Recently uploaded (20)

PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
history of c programming in notes for students .pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
System and Network Administraation Chapter 3
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Essential Infomation Tech presentation.pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
System and Network Administration Chapter 2
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
history of c programming in notes for students .pptx
Nekopoi APK 2025 free lastest update
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
How Creative Agencies Leverage Project Management Software.pdf
Understanding Forklifts - TECH EHS Solution
System and Network Administraation Chapter 3
Odoo Companies in India – Driving Business Transformation.pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
2025 Textile ERP Trends: SAP, Odoo & Oracle
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Essential Infomation Tech presentation.pptx
Upgrade and Innovation Strategies for SAP ERP Customers
How to Choose the Right IT Partner for Your Business in Malaysia
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
System and Network Administration Chapter 2
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Operating system designcfffgfgggggggvggggggggg
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development

End to End Testing with nightwatchjs

  • 1. NIGHTWATCH FOR TESTING NODEJS APPLICATIONS S R I K A N T H M A D D U R I
  • 2. WHAT ARE WE DOING TODAY?? • Compare most popular JavaScript Automation Frameworks • Get to know about them • Talk more about NightwatchJS • Why NightwatchJS • NightwatchJS Demo • Q & A
  • 3. WHY NODEJS: • Increase of usage of client side technologies • Responsive and Light Weight dev. Technologies Ex: Javascript, AngularJs, ionic and react WHY JAVASCRIPT AUTOMATION FRAMEWORKS: • NodeJs Usage • Automation is in application code – SDET roles • Automation along with developer’s code • Run BDD locally • Tools evolved: Webdriver IO, Nightwatch, protractor with CucumberJS.
  • 5. MOST POPULAR JAVA SCRIPT BDD TEST FRAMEWORKS: •Protractor •Webdriverio •NightwatchJs
  • 6. • Protractor: wrapper of WebDriverJs • Supports NodeJs • AngularJs element identification • Error reporting. • Inbuilt Test runner • Parallel Testing • Mobile- No support. PROTRACTOR
  • 7. WEBDRIVERIO • NodeJs supported • WebDriverIO: W3C webdriver API • Supports CucumberJS • Inbuilt Runner • wdio.conf.js file • Cloud extension • Mobile- support to automate mobile web Apps. • Community
  • 8. WHY NIGHTWATCH • Supports Node.js • End-to-End (E2E) testing solution. • Built-in test runner. • Parallel Testing • Cross Browser Testing • Mobile Web App Testing Support • Continuous integration tool • Inbuilt screenshots • Inbuilt Assertion Library
  • 9. CONT.... • Page Object Pattern • aliases for locators (@username) • Cloud extension • We Can use WebdriverIO apis • Easy to extend • Community
  • 10. • Nightwatch: has it’s own implementation of the selenium WebDriver. And provides it’s own testing framework with a test server, assertions, and tools. • Framework- Can be used with other frameworks too, but can be especially useful in case you want to run functional tests not as part of other framework. • Syntax- looks the easiest and the most readable. WHAT NIGHTWATCH
  • 12. CONS OF NIGHTWATCH • Return value methods should only use call backs • Call backs should given for every steps
  • 13. CONCLUSION: • HERO of the Javascript Frameworks because: • For an E2E Testing, the webdrive.io, is still evolving, Nightwatch will be a great and also is easy to use the framework • Also it has very good inbuilt Debugging mechanism. Hence, Nightwatch is good for the E2E Testing. • NightWatchJS is itself is test runner, framework and having its own assertion library.