0%

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 You'll 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.

Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Getting Started
  4. 2. Selenium-Inherited Web Locators
  5. 3. Protractor Web Locators
  6. 4. Web Page Interactions I
  7. 5. Web Page Interactions II
  8. 6. Web Page Interactions III
  9. 7. Jasmine and Selenium Assertions
  10. 8. Waits and Timeouts
  11. 9. Framework Options and Design Pattern
  12. 10. Configuration File
  13. 11. Conclusion
  14. Back Matter
18.223.106.100