Python Testing with Selenium: Learn to Implement Different Testing Techniques Using the Selenium Webdriver
暫譯: 使用 Selenium 進行 Python 測試:學習使用 Selenium Webdriver 實現不同的測試技術

Raghavendra, Sujay

  • 出版商: Apress
  • 出版日期: 2020-11-07
  • 售價: $2,050
  • 貴賓價: 9.5$1,948
  • 語言: 英文
  • 頁數: 140
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484262484
  • ISBN-13: 9781484262481
  • 相關分類: Python程式語言selenium
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Implement different testing techniques using Selenium WebDriver with the Python programming language. This quick reference provides simple functional test cases with a syntax-based approach for Selenium WebDriver.

You'll begin by reviewing the basics of Selenium WebDriver and its architectural design history and then move on to the configuration and installation of Selenium library for different web browsers, including the basic commands needed to start test scripts in various browsers. You'll review action commands of keyboard and mouse for testing user interactions in a web page and see how hyperlinks are tested.

The book also examines various web elements using eight different locators provided by Selenium to help you choose the one best suited to your needs. All Python scripts are ready to test real examples, all of which are explained thoroughly with problem statements. You'll use different Python design patterns to automate test scripts that can be incorporated with Selenium.

In the end, Python Testing with Selenium will provide you with the expertise to write your own test cases in future.

What You'll Learn

  • Install and configure Selenium WebDriver with Python for different web-browsers
  • Review basic commands of Selenium
  • Locate web elements
  • Work with UI based web elements
  • Assert web elements and handle exceptions
  • Write test scripts in Page Object Model
  • Write test cases with Unittest framework

Who This Book Is For

Python developers/testers who want to test their web applications

 

商品描述(中文翻譯)

實作不同的測試技術,使用 Selenium WebDriver 與 Python 程式語言。本快速參考提供簡單的功能測試案例,並採用基於語法的方法來使用 Selenium WebDriver。

您將首先回顧 Selenium WebDriver 的基本概念及其架構設計歷史,然後進入 Selenium 函式庫的配置與安裝,適用於不同的網頁瀏覽器,包括在各種瀏覽器中啟動測試腳本所需的基本命令。您將回顧鍵盤和滑鼠的動作命令,以測試用戶在網頁上的互動,並了解如何測試超連結。

本書還探討了使用 Selenium 提供的八種不同定位器來定位各種網頁元素,幫助您選擇最適合您需求的定位器。所有 Python 腳本均已準備好測試實際範例,並對每個範例進行詳細說明,包括問題陳述。您將使用不同的 Python 設計模式來自動化測試腳本,這些腳本可以與 Selenium 結合使用。

最後,《Python Testing with Selenium》將為您提供撰寫自己測試案例的專業知識。

您將學到的內容:

- 安裝和配置 Selenium WebDriver 與 Python,適用於不同的網頁瀏覽器
- 回顧 Selenium 的基本命令
- 定位網頁元素
- 使用基於 UI 的網頁元素
- 驗證網頁元素並處理例外
- 使用頁面物件模型撰寫測試腳本
- 使用 Unittest 框架撰寫測試案例

本書適合對象:

希望測試其網頁應用程式的 Python 開發者/測試人員

作者簡介

Sujay Raghavendra works mainly in the field of data science, machine/deep learning, and artificial intelligence and is currently Executive Director of Raghavendra Training & Consultancy (RTC), a start up company based in Dharwad, Karnataka, India. RTC was co-founded with his brother Sumedh Raghavendra in 2014.

He also plans and evaluates new technological projects for research and product development to various companies at RTC. Some of his projects include analyzing pap smear filter for microscopic medical images, thermal heat sensing in hospitals, ocr for handwritten characters, satellite image analysis, network automation for maps, forecasting model, text analytics & predictions, etc.

Raghavendra has been a consultant for helping and building research centers for technical universities and colleges and his recent interest includes automating testing cases using machine learning. He has published numerous research articles in international journals and was part of a reviewer committee in various journals and conferences.

 

作者簡介(中文翻譯)

Sujay Raghavendra 主要從事數據科學、機器學習/深度學習和人工智慧領域,目前擔任位於印度卡納塔克邦達爾瓦德的 Raghavendra Training & Consultancy (RTC) 的執行董事。RTC 於 2014 年與他的兄弟 Sumedh Raghavendra 共同創立。

他還負責為 RTC 的各家公司規劃和評估新的技術項目,以進行研究和產品開發。他的一些項目包括分析宮頸抹片過濾器以獲取顯微醫學影像、醫院的熱感應、手寫字符的光學字符識別 (OCR)、衛星影像分析、地圖的網絡自動化、預測模型、文本分析與預測等。

Raghavendra 曾擔任顧問,協助建立技術大學和學院的研究中心,他最近的興趣包括使用機器學習自動化測試案例。他在國際期刊上發表了多篇研究文章,並曾參與多個期刊和會議的審稿委員會。