Book Image

Selenium Fundamentals

By : Diego Molina
Book Image

Selenium Fundamentals

By: Diego Molina

Overview of this book

<p>There are several challenges while writing automated tests for web applications: you have to select an adequate test framework, use appropriate selectors to avoid flaky tests, and build a good testing framework. Selenium Fundamentals helps you tackle these challenges and provides you with the knowledge to overcome hurdles in testing by developing stable and effective testing solutions. You’ll learn the complete process of automated testing, such as configuring your environment, creating and running automated tests, analyzing reports, and troubleshooting errors by using a Selenium Grid. </p><p> </p><p>To start with, you’ll understand the importance of automating tests. You’ll then move on to understanding how to choose the best selectors for navigating through your web applications while highlighting best practices and techniques. </p><p> </p><p>After writing your first tests, you’ll cover the object model to create your own advanced test cases. You’ll analyze a test report, track timing errors, and separate real issues from flaky tests. In addition to this, you’ll learn how to configure and connect to a local grid, a network grid, and a third-party service. </p><p> </p><p>By the end of the book, you will have the skills you need to run automated tests on your own web applications.</p>
Table of Contents (12 chapters)

Getting Started

The more robust and complex web applications get, the more robust and complex the process of testing them becomes. As a crucial part of software development, the testing phase must be as bulletproof as possible, while also providing processes that simplify the management and execution of tests. In this chapter, you will learn what software automation is and how important it is to the development cycle. You will be introduced to Selenium WebDriver, the most commonly used browser automation tool, which is on its way to becoming a W3C standard. You will also learn how to configure a testing environment for Selenium WebDriver.

By the end of this chapter, you will be able to:

  • Explain what automation is and why it is important
  • Use the Selenium WebDriver
  • Configure the development environment for Selenium