Learning Selenium Testing Tools - Third Edition

Leverage the power of Selenium to build your own real-time test cases from scratch
Preview in Mapt

Learning Selenium Testing Tools - Third Edition

Raghavendra Prasad MG

1 customer reviews
Leverage the power of Selenium to build your own real-time test cases from scratch
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning Selenium Testing Tools - Third Edition Book Cover
Learning Selenium Testing Tools - Third Edition
$ 26.99
$ 18.90
Selenium Testing Tools Cookbook - Second Edition Book Cover
Selenium Testing Tools Cookbook - Second Edition
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $27.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781784396497
Paperback318 pages

Book Description

Web technologies are becoming increasingly complex and there is often a need to test your web applications against a vast number of browsers and platforms, so you need to build highly reliable and maintainable test automation cases. Selenium is one of the most easy to implement and efficient solutions for this.

This book will guide you through designing and implementing the automation framework on Selenium to build advanced automated test cases. You will start with getting acquainted with the Selenium IDE, working with AJAX, and using different methods to locate elements in a web page. You will then move on to using PageObjects, making tests maintainable, using WebDriver with different browsers, and setting up Selenium Grid. You will also be introduced to advanced topics such as working with proxy servers, network intrusions, and more. By the end of the book, you will have the skills to efficiently test your web applications using Selenium. A well-detailed section has been dedicated to teaching you the object-oriented concepts with basics of core Java, which are the pre-requisites for Selenium automation.

Table of Contents

Chapter 1: Getting Started with Selenium IDE
Understanding Selenium IDE
Rules in creating tests with Selenium IDE
Recording your first test with Selenium IDE
Validating a test with assert and verify
Creating comments in your tests
Multiplying windows
Selenium tests against AJAX applications
Storing information from the page in the test
Debugging tests
Creating test suites
Parameterization
Saving tests
What you cannot record
Summary
Self-test questions
Chapter 2: Locators
Locating elements by ID
Moving elements on the page
Using direct XPath in your test
Leveraging the XPath axis with elements
CSS selectors
Working with elements and their attributes
Summary
Self-test questions
Chapter 3: Overview of the Selenium WebDriver
History of Selenium
Understanding the WebDriver architecture
Merging of two projects
Setting up Eclipse IDE with Java project for Selenium WebDriver and TestNG
Summary
Self-test questions
Chapter 4: Finding Elements
Finding elements
Using findElement Helper methods
Finding elements using a more generic method
Tips and tricks
Waiting for elements to appear on the page
Summary
Self-test questions
Chapter 5: Design Patterns
Page objects
Using Page Factory with Page Object
Changing our Page Object to use LoadableComponent
Using LoadableComponent
Summary
Self-test questions
Chapter 6: Working with WebDriver
Working with FirefoxDriver
Working with ChromeDriver
Working with OperaDriver
Working with InternetExplorerDriver
Other important points
Summary
Self-test questions
Chapter 7: Automation Framework Development and Building Utilities
Automation without framework
Automation with Framework
Test Automation Frameworks Evolution
Form an automated test case using keywords
Building your own utilities for the Selenium automation framework
Summary
Self-test questions
Chapter 8: Mobile Devices
Working with Android
Running with OperaDriver on a mobile device
Using OperaDriver on Opera Mobile
Working with iOS
Summary
Self-test questions
Chapter 9: Getting Started with the Selenium Grid
Understanding Selenium Grid
The Selenium Grid hub
Adding instances to the hub
Adding Selenium Remote Control for different machines
Adding Selenium Server to do specific browser tasks on specific operating systems
Running tests against the grid
Running tests in parallel
Summary
Self-test questions
Chapter 10: Advanced User Interactions
What is Advanced User Interactions API?
The Actions class
Summary
Self-test questions
Chapter 11: Working with HTML5
Working with application cache
Interacting with browser connections
Working with WebStorage
Summary
Self-test questions
Chapter 12: Advanced Topics
Capturing screenshots
Using XVFB with Selenium
Working with BrowserMob Proxy
Summary
Self-test questions
Chapter 13: Migrating from Remote Control to WebDriver
WebDriverBackedSelenium
Summary
Self-test question

What You Will Learn

  • Understand designing and implementing the automation framework
  • Understand and implement AJAX in your web pages
  • Set up Selenium WebDriver in both IntelliJ and Eclipse
  • Build test suites in Selenium using PageObjects
  • Get to know about WebElement handling with Selenium WebDriver
  • Install Selenium WebDriver for mobile devices
  • Understand and learn testing in Selenium Grid

Authors

Table of Contents

Chapter 1: Getting Started with Selenium IDE
Understanding Selenium IDE
Rules in creating tests with Selenium IDE
Recording your first test with Selenium IDE
Validating a test with assert and verify
Creating comments in your tests
Multiplying windows
Selenium tests against AJAX applications
Storing information from the page in the test
Debugging tests
Creating test suites
Parameterization
Saving tests
What you cannot record
Summary
Self-test questions
Chapter 2: Locators
Locating elements by ID
Moving elements on the page
Using direct XPath in your test
Leveraging the XPath axis with elements
CSS selectors
Working with elements and their attributes
Summary
Self-test questions
Chapter 3: Overview of the Selenium WebDriver
History of Selenium
Understanding the WebDriver architecture
Merging of two projects
Setting up Eclipse IDE with Java project for Selenium WebDriver and TestNG
Summary
Self-test questions
Chapter 4: Finding Elements
Finding elements
Using findElement Helper methods
Finding elements using a more generic method
Tips and tricks
Waiting for elements to appear on the page
Summary
Self-test questions
Chapter 5: Design Patterns
Page objects
Using Page Factory with Page Object
Changing our Page Object to use LoadableComponent
Using LoadableComponent
Summary
Self-test questions
Chapter 6: Working with WebDriver
Working with FirefoxDriver
Working with ChromeDriver
Working with OperaDriver
Working with InternetExplorerDriver
Other important points
Summary
Self-test questions
Chapter 7: Automation Framework Development and Building Utilities
Automation without framework
Automation with Framework
Test Automation Frameworks Evolution
Form an automated test case using keywords
Building your own utilities for the Selenium automation framework
Summary
Self-test questions
Chapter 8: Mobile Devices
Working with Android
Running with OperaDriver on a mobile device
Using OperaDriver on Opera Mobile
Working with iOS
Summary
Self-test questions
Chapter 9: Getting Started with the Selenium Grid
Understanding Selenium Grid
The Selenium Grid hub
Adding instances to the hub
Adding Selenium Remote Control for different machines
Adding Selenium Server to do specific browser tasks on specific operating systems
Running tests against the grid
Running tests in parallel
Summary
Self-test questions
Chapter 10: Advanced User Interactions
What is Advanced User Interactions API?
The Actions class
Summary
Self-test questions
Chapter 11: Working with HTML5
Working with application cache
Interacting with browser connections
Working with WebStorage
Summary
Self-test questions
Chapter 12: Advanced Topics
Capturing screenshots
Using XVFB with Selenium
Working with BrowserMob Proxy
Summary
Self-test questions
Chapter 13: Migrating from Remote Control to WebDriver
WebDriverBackedSelenium
Summary
Self-test question

Book Details

ISBN 139781784396497
Paperback318 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Selenium WebDriver Practical Guide Book Cover
Selenium WebDriver Practical Guide
$ 26.99
$ 18.90
Selenium Testing Tools Cookbook Book Cover
Selenium Testing Tools Cookbook
$ 26.99
$ 18.90
Selenium Design Patterns and Best Practices Book Cover
Selenium Design Patterns and Best Practices
$ 19.99
$ 14.00
Mastering Object-oriented Python Book Cover
Mastering Object-oriented Python
$ 26.99
$ 18.90
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Selenium 2 Testing Tools: Beginner’s Guide Book Cover
Selenium 2 Testing Tools: Beginner’s Guide
$ 26.99
$ 2.70