Selenium Fundamentals: Speed up your internal testing by automating user interaction with browsers and web applications
暫譯: Selenium 基礎:透過自動化用戶與瀏覽器及網頁應用程式的互動來加速內部測試

Diego Molina

  • 出版商: Packt Publishing
  • 出版日期: 2018-10-29
  • 售價: $1,190
  • 貴賓價: 9.5$1,131
  • 語言: 英文
  • 頁數: 206
  • 裝訂: Paperback
  • ISBN: 1789803810
  • ISBN-13: 9781789803815
  • 相關分類: selenium
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Discover how to use Selenium to efficiently test your own applications.

Key Features

  • Understand the importance of automation with real-world examples
  • Explore each and every path from configuring an environment to automation with Selenium Grid
  • Master the core concepts of Selenium with 40 exercises and 20 activities

Book Description

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.

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.

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.

By the end of the book, you will have the skills you need to run automated tests on your own web applications.

What you will learn

  • Get an overview of Selenium
  • Identify what to automate in a project and configure the environment
  • Control browser behavior and manipulate web page elements
  • Understand the nuances of writing tests and creating test suites
  • Create UI tests with Selenium WebDriver and analyze test results
  • Troubleshoot errors in automation and build meaningful reporting

Who this book is for

Selenium Fundamentals is designed for you if you are a software quality assurance and development professional who wants to learn how to automate browser activity and web-based user interface tests with Selenium.

Table of Contents

  1. Getting Started
  2. WebDriver Functionality
  3. WebElement Functionality
  4. Advanced Element Location
  5. Waiting for Elements
  6. Page Object Model
  7. Writing Tests
  8. Analysis and Troubleshooting
  9. Using a Selenium Grid

商品描述(中文翻譯)

**發現如何使用 Selenium 有效測試您自己的應用程式。**

#### 主要特點
- 理解自動化的重要性,並透過實際案例進行說明
- 探索從配置環境到使用 Selenium Grid 進行自動化的每一個步驟
- 通過 40 個練習和 20 個活動掌握 Selenium 的核心概念

#### 書籍描述
在為網頁應用程式撰寫自動化測試時,有幾個挑戰:您必須選擇合適的測試框架,使用適當的選擇器以避免不穩定的測試,並建立良好的測試框架。《Selenium 基礎》幫助您應對這些挑戰,並提供克服測試障礙的知識,通過開發穩定且有效的測試解決方案。您將學習自動化測試的完整過程,例如配置環境、創建和運行自動化測試、分析報告以及使用 Selenium Grid 進行錯誤排除。

首先,您將理解自動化測試的重要性。接著,您將學習如何選擇最佳的選擇器來導航您的網頁應用程式,同時強調最佳實踐和技術。

在撰寫第一個測試後,您將涵蓋物件模型,以創建自己的高級測試案例。您將分析測試報告,追蹤時間錯誤,並將真實問題與不穩定測試分開。除此之外,您還將學習如何配置並連接到本地網格、網絡網格和第三方服務。

到書籍結束時,您將具備在自己的網頁應用程式上運行自動化測試所需的技能。

#### 您將學到什麼
- 獲得 Selenium 的概述
- 確定在項目中需要自動化的內容並配置環境
- 控制瀏覽器行為並操作網頁元素
- 理解撰寫測試和創建測試套件的細微差別
- 使用 Selenium WebDriver 創建 UI 測試並分析測試結果
- 排除自動化中的錯誤並建立有意義的報告

#### 本書適合誰
如果您是希望學習如何使用 Selenium 自動化瀏覽器活動和基於網頁的用戶界面測試的軟體品質保證和開發專業人員,那麼《Selenium 基礎》就是為您設計的。

#### 目錄
1. 開始使用
2. WebDriver 功能
3. WebElement 功能
4. 高級元素定位
5. 等待元素
6. 頁面物件模型
7. 撰寫測試
8. 分析與故障排除
9. 使用 Selenium Grid