TEST AUTOMATION WITH NIGHTWATCH.JS: SIMP
SHARMA, PALLAVI
Sold by Speedyhen, Hertfordshire, United Kingdom
AbeBooks Seller since 26 November 2009
New - Soft cover
Condition: New
Ships from United Kingdom to U.S.A.
Quantity: 1 available
Add to basketSold by Speedyhen, Hertfordshire, United Kingdom
AbeBooks Seller since 26 November 2009
Condition: New
Quantity: 1 available
Add to basketGiven the fast-paced and dynamic nature of today’s web development landscape, test automation is essential for maintaining quality across dynamic applications. Nightwatch.js stands as a powerful yet accessible end-to-end testing framework that elegantly bridges the gap between testing complexity and implementing simplicity, making automated quality assurance achievable for developers at all skill levels.
This book guides readers through the complete Nightwatch.js journey, beginning with fundamental concepts and practical setup in Visual Studio Code. Early chapters establish a solid foundation in element identification strategies and web interactions, before addressing critical challenges of synchronization in modern applications. The middle sections explore practical testing techniques through assertions. The book covers handling complex HTML elements, such as forms, tables, dropdowns, and new windows, before moving on to advanced topics, including browser logs, performance monitoring, network requests, screenshots, and intricate keyboard and mouse actions. These are all structured within the Page Object Model pattern for maintainability. The final sections focus on professional-grade implementation aspects, including data management with Excel and CSV integration, logging systems, and execution in cloud environments like BrowserStack for cross-browser verification.
By the end of this book, readers will be highly competent in building reliable, maintainable, and scalable test automation suites with Nightwatch.js. They will develop practical skills in JavaScript-based automation, gain understanding of testing best practices, and acquire expertise to implement scalable frameworks, enhancing development workflows and delivering higher-quality software products.
What you will learn
● Nightwatch.js fundamentals and integration with Visual Studio Code for effective test setup.
● Diverse interactions with web elements using Nightwatch.js's command interface.
● Run Nightwatch.js tests on BrowserStack; integrate with GitHub Actions.
● Implement testing approaches using assertions and complex element handling.
● Create scalable test architectures, performance metrics, and Page Object Models.
● Web element identification and interaction strategies, and synchronization techniques.
Who this book is for
This book is intended for beginners new to test automation and experienced testers transitioning to JavaScript-based frameworks, web developers, and QA engineers, who seek to adopt modern automation practices. Development teams looking to implement efficient QA processes will find practical and applicable solutions.
Table of Contents
1. Introduction to Nightwatch
2. Understanding the Web Applications used in the Book
3. Getting Started with Nightwatch
4. Setting Visual Studio Code with Nightwatch
5. Identifying Elements
6. Interacting with Web Elements
7. Synchronization
8. Assertions in Nightwatch
9. Working with Form Elements
10. Working with Tables, Drop-downs, Frames and Alerts
11. Browser Logs, Page Performance, Capture Screenshots, and Actions
12. Page Objects
13. Managing Data Using Excel and CSV Files
14. Learn About Logs, and Screenshots Management
15. Execution of Tests in BrowserStack
"About this title" may belong to another edition of this title.
Orders usually ship within 2 business days. Shipping costs are based on books weighing 2.2 LB, or 1 KG. If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.
If you are a consumer you can cancel the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
INFORMATION REGARDING THE RIGHT OF CANCELLATION
Statutory Right to cancel
You have the right to cancel this contract within 14 days without giving any reason.
The cancellation period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the the last good or the last lot or piece.
To exercise the right to cancel, you must inform us, Speedy Hen, 100 Chiltern Court, 188 Baker Street, NW1 5SX, London, United Kingdom, 44 08452419973, of your decision to cancel this contract by a clear statement (e.g. a letter sent by post, fax or e-mail). You may use the attached model cancellation form, but it is not obligatory. You can also electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". If you use this option, we will communicate to you an acknowledgement of receipt of such a cancellation on a durable medium (e.g. by e-mail) without delay.
To meet the cancellation deadline, it is sufficient for you to send your communication concerning your exercise of the right to cancel before the cancellation period has expired.
Effects of cancellation
If you cancel this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to cancel with contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to us or Speedy Hen, SpeedyHen Returns, Po Box 48, BN23 6WB, Westham, United Kingdom, 44 08452419973, without undue delay and in any event not later than 14 days from the day on which you communicate your cancellation from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of cancellation
The right of cancellation does not apply to:
Model withdrawal form
(complete and return this form only if you wish to withdraw from the contract)
To: (Speedy Hen, 100 Chiltern Court, 188 Baker Street, NW1 5SX, London, United Kingdom, 44 08452419973)
I/We (*) hereby give notice that I/We (*) withdraw from my/our (*) contract of sale of the following goods (*)/for the provision of the following goods (*)/for the provision of the following service (*),
Ordered on (*)/received on (*)
Name of consumer(s)
Address of consumer(s)
Signature of consumer(s) (only if this form is notified on paper)
Date
* Delete as appropriate.
Shipping costs are based on books weighing 2.2 LB, or 1 KG. If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.
| Order quantity | 60 to 60 business days | 60 to 60 business days |
|---|---|---|
| First item | £ 41.00 | £ 43.00 |
Delivery times are set by sellers and vary by carrier and location. Orders passing through Customs may face delays and buyers are responsible for any associated duties or fees. Sellers may contact you regarding additional charges to cover any increased costs to ship your items.