• Complain

Shashank Shukla - Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs

Here you can read online Shashank Shukla - Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs 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 Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs
  • Book:
    Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2021
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Shashank Shukla: author's other books


Who wrote Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs? Find out the surname, the name of the author of the book and a list of all author's works by series.

Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs — 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 "Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs" 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 Practical WebDriverIO Shashank Shukla Practical WebDriverIO - photo 1
Book cover of Practical WebDriverIO
Shashank Shukla
Practical WebDriverIO
Learn to Automate Effectively Using WebDriverIO APIs
1st ed.
Logo of the publisher Shashank Shukla Mandla India Any source code or - photo 2
Logo of the publisher
Shashank Shukla
Mandla, India

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/9781484266601 . For more detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-6660-1 e-ISBN 978-1-4842-6661-8
https://doi.org/10.1007/978-1-4842-6661-8
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.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 1 New York Plaza, New York, NY 10004. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

This book is dedicated to my mom and dad for always loving and supporting me.

Introduction

WebdriverIO is probably the coolest NodeJS-based framework gathering traction in the market. It has simplified complex, promise-based testing that stems due to the asynchronous nature of JavaScript in NodeJS-based frameworks. This tool saves time in automating websites and is fun to use. This book attempts to condense WebdriverIOs API documentation with practical, easy-to-understand examples. This book is a one-stop reference guide on almost every desktop API provided by WebdriverIO.

The journey starts with setting up the WebdriverIO test tool. You learn how to install it and its related dependencies and run a demo spec file in Chapter , you learn the methods to locate elements using various selector strategies provided by WebdriverIO, which are essential in interacting with web elements.

Chapters explore various WebdriverIO API methods through easy-to-understand examples of automating a variety of user actions on located elements and the web app. You also learn some of WebdriverIOs built-in assertions.

In Chapter , you learn about timeouts. After covering enough groundwork, the book touches upon various WebdriverIO framework options.

You learn about the page object model design pattern in Chapter .

The journey concludes in Chapter by looking at some of the pros and cons of WebdriverIO.

Acknowledgments

I would like to thank all the generous people in the open source community for tirelessly contributing to making WebdriverIO easy to use, and helping others implement smarter testing approaches.

I want to thank my wife, Anuja, who encouraged me to write this book and supported me throughout the writing process, and my son, Riyaarth, for teaching me not to let the lack of time hold me back.

I would also like to thank my test manager, Eileen Stevenson, for her leadership and guidance, and also my test team, Anju, Gomathi, Shilpa, Mueez, Sreekanth, Kay and Lucie for always being there to support me.

And lastly, I want to thank my editorial team for their interest and effort, which fine-tuned and shaped this book.

Table of Contents
About the Author
Shashank Shukla
has been working in software testing for more than a decade and is passionate - photo 3

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

About the Technical Reviewer
Kanika Sud
has been working on the Web for more than ten years Her work spans enterprise - photo 4

has been working on the Web for more than ten years. Her work spans enterprise CMSes in Java, back-end technologies in the LAMP stack, and the MEAN stack. She has also worked on open source e-commerce CMSes and UX strategy. Solution design remains her favorite job. Market research on mobile apps and plugins led her to experiment with a bootstrapped technology startup called Codnostic Solutions. Find her on LinkedIn at www.linkedin.com/in/kanikasud .

The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
S. Shukla Practical WebDriverIO https://doi.org/10.1007/978-1-4842-6661-8_1
1. Getting Started
Shashank Shukla
(1)
Mandla, India

If youre interested in browser automation through Node.js and understanding the various methods that can be employed to effectively automate user actions on your web site, this book is for you. WebdriverIO is a fast-growing automation tool that is hard to ignore as Node.js/JavaScript technologies assert their dominance in front-end and back-end web development.

This chapter briefly introduces WebdriverIO. You learn how to install it and quickly get to a point where you can start hands-on work. The chapter also discusses the following.
  • Why WebdriverIO is gaining popularity among a new generation of test engineers

  • How to run a test in 15 minutes

  • Steps to take if the installation fails

  • Demo web sites to practice test automation

Introduction

WebdriverIO is an independent and customized implementation of WebDriverJS (Selenium WebDriver) created by Christian Bromann. WebDriverJS is the official JavaScript implementation of Selenium API, packaged as selenium-webdriver in npm, which runs on Node.js. WebdriverIO abstracts the lengthy syntax and complex asynchronous promise management of JavaScript and presents the user with easy-to-read action commands. It makes every test step synchronous, meaning the user doesnt have to worry about any missed steps in the test code. It is very flexible, allowing users to choose assertion libraries, reporting tools, and various other components of the framework.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs»

Look at similar books to Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs. 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 «Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs»

Discussion, reviews of the book Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs 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.