Python Testing with Selenium: Learn to Implement Different Testing Techniques Using the Selenium Webdriver

Raghavendra, Sujay

  • 出版商: Apress
  • 出版日期: 2020-11-07
  • 售價: $2,020
  • 貴賓價: 9.5$1,919
  • 語言: 英文
  • 頁數: 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

 

商品描述(中文翻譯)

使用Python程式語言和Selenium WebDriver實施不同的測試技術。這本快速參考提供了一種基於語法的方法,用於Selenium WebDriver的簡單功能測試案例。

您將首先回顧Selenium WebDriver的基礎知識及其架構設計歷史,然後進行Selenium庫在不同網頁瀏覽器上的配置和安裝,包括在各種瀏覽器中啟動測試腳本所需的基本命令。您將檢查鍵盤和滑鼠的操作命令,以測試網頁中的用戶交互,並了解如何測試超鏈接。

本書還使用Selenium提供的八種不同定位器來檢查各種網頁元素,以幫助您選擇最適合您需求的定位器。所有Python腳本都準備好測試真實的示例,並且所有示例都有詳細的問題說明。您將使用不同的Python設計模式來自動化可與Selenium結合的測試腳本。

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

您將學到以下內容:

- 使用Python在不同的網頁瀏覽器上安裝和配置Selenium WebDriver
- 回顧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 曾擔任顧問,幫助建立技術大學和學院的研究中心,他最近的興趣包括使用機器學習自動化測試案例。他在國際期刊上發表了許多研究文章,並曾參與各種期刊和會議的審稿委員會。