• Complain

Shashank Shukla - The Protractor Handbook: Understanding and Implementing the Tool Effectively

Here you can read online Shashank Shukla - The Protractor Handbook: Understanding and Implementing the Tool Effectively full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Shashank Shukla The Protractor Handbook: Understanding and Implementing the Tool Effectively
  • Book:
    The Protractor Handbook: Understanding and Implementing the Tool Effectively
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2021
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

The Protractor Handbook: Understanding and Implementing the Tool Effectively: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "The Protractor Handbook: Understanding and Implementing the Tool Effectively" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Learn to quickly set up Protractor and dive into the amazing possibilities that this tool offers for automating browser interactions for a user for any Angular web application. Software testing is here to stay, and an integral part of this is test automation. Protractor is one of the most evolved test automation frameworks that every software testing professional working with an Angular application should know.

You will to automate a vast range of actions that a user takes to interact with the browser. From a simple click to more complex user actions such as frame switches, selecting from drop-downs, and file downloads using Protractor APIs for Angular-based websites. You will also learn about assertions, timeouts, waits, parallel testing frameworks that are available, and the general pros and cons you should be aware of.

With over 150 working code samples demonstrating various test scenarios that you require in your day-to-day automation testing, and examples that may be given in interviews, this book will be your practical handbook to all the key Protractor API implementations.

What Youll Learn

  • Set up and install Protractor efficiently
  • Implement Angular-specific locator strategies
  • Automate Angular web pages
  • Run parallel execution using Protractor
  • Explore all the pros, cons and challenges you may face while using Protractor
  • Use specific notes around each API to ensure optimum usage and avoid common mistakes

Who This Book Is For

Ideal for test engineers who have a basic understanding of test automation with Selenium, developers who want to implement this testing tool for internal testing, Test Managers/IT Project Managers who want to get some general understanding of this tool and its advantages, and students who want to pursue career in test automation.

Shashank Shukla: author's other books


Who wrote The Protractor Handbook: Understanding and Implementing the Tool Effectively? Find out the surname, the name of the author of the book and a list of all author's works by series.

The Protractor Handbook: Understanding and Implementing the Tool Effectively — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "The Protractor Handbook: Understanding and Implementing the Tool Effectively" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Book cover of The Protractor Handbook Shashank Shukla The Protractor - photo 1
Book cover of The Protractor Handbook
Shashank Shukla
The Protractor Handbook
Understanding and Implementing the Tool Effectively
1st ed.
Logo of the publisher Shashank Shukla Mandla Madhya Pradesh India ISBN - photo 2
Logo of the publisher
Shashank Shukla
Mandla, Madhya Pradesh, India
ISBN 978-1-4842-7288-6 e-ISBN 978-1-4842-7289-3
https://doi.org/10.1007/978-1-4842-7289-3
Shashank Shukla 2021
This work is subject to copyright. All rights are solely and exclusively licensed by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This Apress imprint is published by the registered company APress Media, LLC part of Springer Nature.

The registered company address is: 1 New York Plaza, New York, NY 10004, U.S.A.

This book is dedicated to my loving wife, Anuja, and my son, Riyaarth, for consistently providing me an incredible support system to thrive on.

Acknowledgments

Many thanks to the generous people of the open source community who contribute each day selflessly to make modern test automation tools easy to use and help people implement smarter testing approaches.

Id like to thank everyone at Apress who helped make this book possible and put up with the fumbling efforts of a novice author.

I would also like to thank my employer Azuga Inc., my engineering manager, Sindhoora Ramesh, test manager, Rohit Naarayanan, and colleagues, Shubham Sharma & Logesh Kumar, for providing a conducive and healthy work environment of mentorship and support. Also, I have not forgotten the software testers and consultants I have worked with so far and learned from throughout my career. Without your help, this book would not have been written!

And finally, I want to thank my mom, dad, and wife, who tirelessly managed everything else, giving me the luxury of time needed while I completed this book over the last year.

Table of Contents
About the Author
Shashank Shukla

has been working in software testing for more than a decade. He is passionate about tools and technology that can be leveraged to enrich the testing experience and optimize the quality of delivery.

About the Technical Reviewer
Rami Morrar

is a self-taught programmer and has coding experience in languages such as C# and C++. His projects include a gaming tutorial website, several desktop applications, and games in the Unity game engine. He is currently working on his own independent game project in the MonoGame framework, set to be released next year. Rami is passionate about programming and game development and is co-writing the second edition of the book MonoGame Mastery (first edition, Apress, 2020). In his free time, he likes to play games and look at cool new projects by other indie developers.

The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
S. Shukla The Protractor Handbook https://doi.org/10.1007/978-1-4842-7289-3_1
1. Getting Started
Shashank Shukla
(1)
Mandla, Madhya Pradesh, India

Browser automation is evolving by leaps and bounds. The cornerstones of this transformation are the new frameworks based on Node.js that are being released. JavaScript had already dominated front-end development since its genesis. Now, with frameworks for languages such as Node.js with its server-side capabilities, it is making its presence known in back-end development. Due to the recent domination of JavaScript in front-end and back-end development, many test automation architects make design decisions that utilize Node.js-based automation frameworks to leverage features like ease of use, application compatibility, and resource cross-utilization.

Angular is the most popular front-end framework for creating dynamic and single-page applications and web pages. It is an open source framework maintained by Google. Figure shows the top-ten web sites running on Angular.
Figure 1-1 Top 10 web sites built on Angular Source SimilarTech Protractor - photo 3
Figure 1-1

Top 10 web sites built on Angular (Source: SimilarTech)

Protractor is a Node.js-based automation framework , also developed by Google. It is a go-to choice for testing Angular applications because Google customizes it to work well with Angular components that spawn in the DOM of the web page.

This chapter briefly introduces Protractor. You will also learn how to install Protractor and swiftly get to a point where you can run your first test. The chapter covers the following.
  • What Protractor is

  • Why Protractor is gaining popularity among the new generation of test engineers

  • How to install Protractor

  • How to run your first test in minutes

  • Additional steps to take in case the installation fails

  • Demo web sites to practice test automation

Introduction

Protractor is a customized implementation of the official Selenium API , which is based on JavaScript and packaged as selenium-webdriver under the npm package, which runs on Node.js. Protractor abstracts all the lengthy syntax and complex asynchronous promise management of underlying JavaScript and presents users with easy-to-read-and-remember action commands. It makes every test step synchronous, meaning the user doesnt have to worry about any missed steps in the test code. The framework is flexible; however, it comes with Jasmine as its test framework by default.

It is packaged and installed through npm and runs on Node.js, which is a JavaScript runtime environment that allows you to run JavaScript outside of your browser. It can run on macOS, Linux, and Windows.

The principal reason it is thriving in the marketplace is due to its matured implementation of the Selenium API to tackle Angular-specific components and timeouts. Anyone experienced in working with other JavaScript frameworks can get started with this tool in no time. Figure depicts the growing popularity of this tool. The Protactor framework was downloaded almost 1.4 million times during one week in 2021.
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «The Protractor Handbook: Understanding and Implementing the Tool Effectively»

Look at similar books to The Protractor Handbook: Understanding and Implementing the Tool Effectively. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «The Protractor Handbook: Understanding and Implementing the Tool Effectively»

Discussion, reviews of the book The Protractor Handbook: Understanding and Implementing the Tool Effectively and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.