Selenium自动化测试——基于 Python 语言 🔍
冈迪察·U(Unmesh Gundecha)
北京:人民邮电出版社, 2017
中文 [zh] · 英语 [en] · EPUB · 2.9MB · 2017 · 📘 非小说类图书 · 🚀/duxiu/lgli/upload/zlib · Save
描述
Selenium是一个主要用于Web应用程序自动化测试的工具集合,在行业内已经得到广泛的应用。本书介绍了如何用Python语言调用Selenium WebDriver接口进行自动化测试。主要内容为:基于Python 的 Selenium WebDriver 入门知识、第一个Selenium Python脚本、使用unittest 编写单元测试、生成HTML格式的测试报告、元素定位、Selenium Python API 介绍、元素等待机制、跨浏览器测试、移动端测试、编写一个iOS测试脚本、编写一个Android测试脚本、Page Object与数据驱动测试、Selenium WebDriver的高级特性、第三方工具与框架集成等核心技术。 本书适合任何软件测试人员阅读,也适合作为大专院校师生的学习用书和培训学校的教材。
备用文件名
lgli/冈迪察·U(Unmesh Gundecha) - Selenium自动化测试——基于 Python 语言 (2018, 人民邮电出版社).epub
备用文件名
zlib/Computers/Applications & Software/冈迪察·U(Unmesh Gundecha)/Selenium自动化测试——基于 Python 语言_15856919.epub
备选标题
Learning Selenium Testing Tools With Python: A Practical Guide on Automated Web Testing With Selenium Using Python
备选标题
Selenium自动化测试 : 基于Python语言
备选作者
鍐堣开瀵熉稶(Unmesh Gundecha) (as-gbk-encoding)
备选作者
(印度)昂米沙·冈迪察(UNMESHGUNDECHA)著;金鑫,熊志男译
备选作者
冈迪察 (Gundecha, Unmesh)
备选作者
(印) 冈迪察
备用出版商
The People's Posts and Telecommunications Publishing House
备用出版商
Packt Publishing Limited
备用版本
Community experience distilled, Online-Ausg, Birmingham, UK, 2014
备用版本
United Kingdom and Ireland, United Kingdom
备用版本
Packt Publishing, Birmingham, UK, 2014
备用版本
China, People's Republic, China
备用版本
Birmingham, England, 2014
备用版本
Di 1 ban, Beijing, 2018
备用版本
Dec 30, 2014
备用版本
1, 2014
元数据中的注释
Bookmarks: p1 (p1): 第1章 基于Python的Selenium WebDriver入门
p1-1 (p2): 1.1 环境准备
p1-1-1 (p3): 1.1.1 安装Python
p1-1-2 (p3): 1.1.2 安装Selenium包
p1-1-3 (p3): 1.1.3 浏览Selenium WebDriver Python文档
p1-1-4 (p4): 1.1.4 选择一个IDE
p1-1-5 (p8): 1.1.5 PyCharm设置
p1-2 (p11): 1.2 第一个Selenium Python脚本
p1-3 (p16): 1.3 支持跨浏览器
p1-3-1 (p16): 1.3.1 设置IE浏览器
p1-3-2 (p19): 1.3.2 设置Google Chrome浏览器
p1-4 (p21): 1.4 章节回顾
p2 (p22): 第2章 使用unittest编写单元测试
p2-1 (p23): 2.1 unittest单元测试框架
p2-1-1 (p25): 2.1.1 TestCase类
p2-1-2 (p30): 2.1.2 类级别的setUp()方法和tearDown()方法
p2-1-3 (p32): 2.1.3 断言
p2-1-4 (p33): 2.1.4 测试套件
p2-2 (p36): 2.2 生成HTML格式的测试报告
p2-3 (p38): 2.3 章节回顾
p3 (p39): 第3章 元素定位
p3-1 (p42): 3.1 借助浏览器开发者模式定位
p3-1-1 (p42): 3.1.1 用火狐浏览器Firebug插件检查页面元素
p3-1-2 (p43): 3.1.2 用谷歌Chrome浏览器检查页面元素
p3-1-3 (p44): 3.1.3 用IE浏览器检查页面元素
p3-2 (p45): 3.2 元素定位
p3-2-1 (p46): 3.2.1 ID定位
p3-2-2 (p47): 3.2.2 name定位
p3-2-3 (p47): 3.2.3 class定位
p3-2-4 (p48): 3.2.4 tag定位
p3-2-5 (p50): 3.2.5 XPath定位
p3-2-6 (p51): 3.2.6 CSS选择器定位
p3-2-7 (p53): 3.2.7 Link定位
p3-2-8 (p54): 3.2.8 Partial link定位
p3-3 (p54): 3.3 方法实践
p3-4 (p58): 3.4 章节回顾
p4 (p59): 第4章 Selenium Python API介绍
p4-1 (p60): 4.1 HTML表单元素
p4-2 (p61): 4.2 WebDriver原理
p4-2-1 (p61): 4.2.1 WebDriver功能
p4-2-2 (p61): 4.2.2 WebDriver方法
p4-3 (p63): 4.3 WebElement接口
p4-3-1 (p63): 4.3.1 WebElement功能
p4-3-2 (p63): 4.3.2 WebElement方法
p4-4 (p64): 4.4 操作表单、文本框、复选框、单选按钮
p4-4-1 (p65): 4.4.1 检查元素是否启用或显示
p4-4-2 (p66): 4.4.2 获取元素对应的值
p4-4-3 (p67): 4.4.3 is_selected()方法
p4-4-4 (p67): 4.4.4 clear()与send_keys()方法
p4-5 (p71): 4.5 操作下拉菜单
p4-5-1 (p72): 4.5.1 Select原理
p4-5-2 (p72): 4.5.2 Select功能
p4-5-3 (p72): 4.5.3 Select方法
p4-6 (p75): 4.6 操作警告和弹出框
p4-6-1 (p75): 4.6.1 Alert原理
p4-6-2 (p75): 4.6.2 Alert功能
p4-6-3 (p75): 4.6.3 Alert方法
p4-6-4 (p78): 4.6.4 浏览器自动化处理
p4-7 (p80): 4.7 章节回顾
p5 (p81): 第5章 元素等待机制
p5-1 (p82): 5.1 隐式等待
p5-2 (p84): 5.2 显式等待
p5-3 (p85): 5.3 expected_conditions类
p5-3-1 (p87): 5.3.1 判断某个元素是否存在
p5-3-2 (p88): 5.3.2 判断是否存在Alerts
p5-4 (p89): 5.4 预期条件判断的实践
p5-5 (p90): 5.5 章节回顾
p6 (p91): 第6章 跨浏览器测试
p6-1 (p93): 6.1 Selenium Standalone Server
p6-1-1 (p93): 6.1.1 下载Selenium Standalone Server
p6-1-2 (p94): 6.1.2 启动Selenium Standalone Server
p6-2 (p95): 6.2 在Selenium Standalone Server上执行测试
p6-2-1 (p98): 6.2.1 配置IE支持
p6-2-2 (p98): 6.2.2 配置Chrome支持
p6-3 (p98): 6.3 Selenium Grid
p6-3-1 (p99): 6.3.1 启动hub
p6-3-2 (p100): 6.3.2 添加节点
p6-4 (p103): 6.4 Mac OS X的Safari节点
p6-5 (p104): 6.5 在Grid上执行测试
p6-6 (p107): 6.6 在云端执行测试
p6-7 (p110): 6.7 章节回顾
p7 (p111): 第7章 移动端测试
p7-1 (p112): 7.1 认识Appium
p7-1-1 (p113): 7.1.1 Appium支持的应用类型
p7-1-2 (p113): 7.1.2 Appium环境准备
p7-2 (p116): 7.2 安装Appium
p7-3 (p119): 7.3 iOS测试
p7-4 (p122): 7.4 Android测试
p7-5 (p126): 7.5 使用Sauce Labs
p7-6 (p128): 7.6 章节回顾
p8 (p129): 第8章 Page Object与数据驱动测试
p8-1 (p130): 8.1 数据驱动测试
p8-2 (p131): 8.2 使用ddt执行数据驱动测试
p8-2-1 (p131): 8.2.1 安装ddt
p8-2-2 (p131): 8.2.2 设计一个简单的数据驱动测试
p8-3 (p133): 8.3 使用外部数据的数据驱动测试
p8-3-1 (p133): 8.3.1 通过CSV获取数据
p8-3-2 (p136): 8.3.2 通过Excel获取数据
p8-4 (p138): 8.4 Page Object设计模式
p8-4-1 (p140): 8.4.1 测试准备
p8-4-2 (p140): 8.4.2 BasePage对象
p8-4-3 (p141): 8.4.3 实现Page Object
p8-4-4 (p145): 8.4.4 构建Page Object模式测试实例
p8-5 (p146): 8.5 章节回顾
p9 (p147): 第9章 Selenium WebDriver的高级特性
p9-1 (p148): 9.1 键盘与鼠标事件
p9-1-1 (p150): 9.1.1 键盘事件
p9-1-2 (p151): 9.1.2 鼠标事件
p9-2 (p154): 9.2 调用JavaScript
p9-3 (p157): 9.3 屏幕截图
p9-4 (p158): 9.4 屏幕录制
p9-5 (p161): 9.5 弹出窗的处理
p9-6 (p163): 9.6 操作cookies
p9-7 (p165): 9.7 章节回顾
p10 (p167): 第10章 第三方工具与框架集成
p10-1 (p168): 10.1 行为驱动开发(BDD)
p10-1-1 (p169): 10.1.1 Behave安装
p10-1-2 (p169): 10.1.2 第一个feature
p10-2 (p174): 10.2 持续集成Jenkins
p10-2-1 (p174): 10.2.1 Jenkins环境准备
p10-2-2 (p175): 10.2.2 搭建Jenkins
p10-3 (p182): 10.3 章节回顾
p1-1 (p2): 1.1 环境准备
p1-1-1 (p3): 1.1.1 安装Python
p1-1-2 (p3): 1.1.2 安装Selenium包
p1-1-3 (p3): 1.1.3 浏览Selenium WebDriver Python文档
p1-1-4 (p4): 1.1.4 选择一个IDE
p1-1-5 (p8): 1.1.5 PyCharm设置
p1-2 (p11): 1.2 第一个Selenium Python脚本
p1-3 (p16): 1.3 支持跨浏览器
p1-3-1 (p16): 1.3.1 设置IE浏览器
p1-3-2 (p19): 1.3.2 设置Google Chrome浏览器
p1-4 (p21): 1.4 章节回顾
p2 (p22): 第2章 使用unittest编写单元测试
p2-1 (p23): 2.1 unittest单元测试框架
p2-1-1 (p25): 2.1.1 TestCase类
p2-1-2 (p30): 2.1.2 类级别的setUp()方法和tearDown()方法
p2-1-3 (p32): 2.1.3 断言
p2-1-4 (p33): 2.1.4 测试套件
p2-2 (p36): 2.2 生成HTML格式的测试报告
p2-3 (p38): 2.3 章节回顾
p3 (p39): 第3章 元素定位
p3-1 (p42): 3.1 借助浏览器开发者模式定位
p3-1-1 (p42): 3.1.1 用火狐浏览器Firebug插件检查页面元素
p3-1-2 (p43): 3.1.2 用谷歌Chrome浏览器检查页面元素
p3-1-3 (p44): 3.1.3 用IE浏览器检查页面元素
p3-2 (p45): 3.2 元素定位
p3-2-1 (p46): 3.2.1 ID定位
p3-2-2 (p47): 3.2.2 name定位
p3-2-3 (p47): 3.2.3 class定位
p3-2-4 (p48): 3.2.4 tag定位
p3-2-5 (p50): 3.2.5 XPath定位
p3-2-6 (p51): 3.2.6 CSS选择器定位
p3-2-7 (p53): 3.2.7 Link定位
p3-2-8 (p54): 3.2.8 Partial link定位
p3-3 (p54): 3.3 方法实践
p3-4 (p58): 3.4 章节回顾
p4 (p59): 第4章 Selenium Python API介绍
p4-1 (p60): 4.1 HTML表单元素
p4-2 (p61): 4.2 WebDriver原理
p4-2-1 (p61): 4.2.1 WebDriver功能
p4-2-2 (p61): 4.2.2 WebDriver方法
p4-3 (p63): 4.3 WebElement接口
p4-3-1 (p63): 4.3.1 WebElement功能
p4-3-2 (p63): 4.3.2 WebElement方法
p4-4 (p64): 4.4 操作表单、文本框、复选框、单选按钮
p4-4-1 (p65): 4.4.1 检查元素是否启用或显示
p4-4-2 (p66): 4.4.2 获取元素对应的值
p4-4-3 (p67): 4.4.3 is_selected()方法
p4-4-4 (p67): 4.4.4 clear()与send_keys()方法
p4-5 (p71): 4.5 操作下拉菜单
p4-5-1 (p72): 4.5.1 Select原理
p4-5-2 (p72): 4.5.2 Select功能
p4-5-3 (p72): 4.5.3 Select方法
p4-6 (p75): 4.6 操作警告和弹出框
p4-6-1 (p75): 4.6.1 Alert原理
p4-6-2 (p75): 4.6.2 Alert功能
p4-6-3 (p75): 4.6.3 Alert方法
p4-6-4 (p78): 4.6.4 浏览器自动化处理
p4-7 (p80): 4.7 章节回顾
p5 (p81): 第5章 元素等待机制
p5-1 (p82): 5.1 隐式等待
p5-2 (p84): 5.2 显式等待
p5-3 (p85): 5.3 expected_conditions类
p5-3-1 (p87): 5.3.1 判断某个元素是否存在
p5-3-2 (p88): 5.3.2 判断是否存在Alerts
p5-4 (p89): 5.4 预期条件判断的实践
p5-5 (p90): 5.5 章节回顾
p6 (p91): 第6章 跨浏览器测试
p6-1 (p93): 6.1 Selenium Standalone Server
p6-1-1 (p93): 6.1.1 下载Selenium Standalone Server
p6-1-2 (p94): 6.1.2 启动Selenium Standalone Server
p6-2 (p95): 6.2 在Selenium Standalone Server上执行测试
p6-2-1 (p98): 6.2.1 配置IE支持
p6-2-2 (p98): 6.2.2 配置Chrome支持
p6-3 (p98): 6.3 Selenium Grid
p6-3-1 (p99): 6.3.1 启动hub
p6-3-2 (p100): 6.3.2 添加节点
p6-4 (p103): 6.4 Mac OS X的Safari节点
p6-5 (p104): 6.5 在Grid上执行测试
p6-6 (p107): 6.6 在云端执行测试
p6-7 (p110): 6.7 章节回顾
p7 (p111): 第7章 移动端测试
p7-1 (p112): 7.1 认识Appium
p7-1-1 (p113): 7.1.1 Appium支持的应用类型
p7-1-2 (p113): 7.1.2 Appium环境准备
p7-2 (p116): 7.2 安装Appium
p7-3 (p119): 7.3 iOS测试
p7-4 (p122): 7.4 Android测试
p7-5 (p126): 7.5 使用Sauce Labs
p7-6 (p128): 7.6 章节回顾
p8 (p129): 第8章 Page Object与数据驱动测试
p8-1 (p130): 8.1 数据驱动测试
p8-2 (p131): 8.2 使用ddt执行数据驱动测试
p8-2-1 (p131): 8.2.1 安装ddt
p8-2-2 (p131): 8.2.2 设计一个简单的数据驱动测试
p8-3 (p133): 8.3 使用外部数据的数据驱动测试
p8-3-1 (p133): 8.3.1 通过CSV获取数据
p8-3-2 (p136): 8.3.2 通过Excel获取数据
p8-4 (p138): 8.4 Page Object设计模式
p8-4-1 (p140): 8.4.1 测试准备
p8-4-2 (p140): 8.4.2 BasePage对象
p8-4-3 (p141): 8.4.3 实现Page Object
p8-4-4 (p145): 8.4.4 构建Page Object模式测试实例
p8-5 (p146): 8.5 章节回顾
p9 (p147): 第9章 Selenium WebDriver的高级特性
p9-1 (p148): 9.1 键盘与鼠标事件
p9-1-1 (p150): 9.1.1 键盘事件
p9-1-2 (p151): 9.1.2 鼠标事件
p9-2 (p154): 9.2 调用JavaScript
p9-3 (p157): 9.3 屏幕截图
p9-4 (p158): 9.4 屏幕录制
p9-5 (p161): 9.5 弹出窗的处理
p9-6 (p163): 9.6 操作cookies
p9-7 (p165): 9.7 章节回顾
p10 (p167): 第10章 第三方工具与框架集成
p10-1 (p168): 10.1 行为驱动开发(BDD)
p10-1-1 (p169): 10.1.1 Behave安装
p10-1-2 (p169): 10.1.2 第一个feature
p10-2 (p174): 10.2 持续集成Jenkins
p10-2-1 (p174): 10.2.1 Jenkins环境准备
p10-2-2 (p175): 10.2.2 搭建Jenkins
p10-3 (p182): 10.3 章节回顾
备用描述
A practical guide on automated web testing with Selenium using Python If you are a quality testing professional, or a software or web application developer looking to create automation test scripts for your web applications, with an interest in Python, then this is the perfect guide for you. Python developers who need to do Selenium testing need not learn Java, as they can directly use Selenium for testing with this book. Selenium WebDriver is a popular automated testing tool for web applications. Python is one of the top programming languages and when used with Selenium it can automate and test web applications. Using Python's unittest module, you can write test cases in Selenium. Over the years, Selenium has become a very powerful testing platform and many organizations are adopting Selenium WebDriver for creating automated user interface tests. The book's main aim is to cover the fundamentals related to Python Selenium testing. You will learn how the Selenium WebDriver Python API can be integrated with CI and Build tools to allow tests to be run while building applications. This book will guide you through using the Selenium WebDriver Python client library as well as other tools from the Selenium project. Towards the end of this book, you'll get to grips with Selenium Grid, which is used for running tests in parallel using nodes for cross-browser testing. It will also give you a basic overview of the concepts, while helping you improve your practical testing skills with Python and Selenium.
备用描述
<p>Selenium WebDriver is a popular automated testing tool for web applications. Python is one of the top programming languages and when used with Selenium it can automate and test web applications. Using Python's unittest module, you can write test cases in Selenium. Over the years, Selenium has become a very powerful testing platform and many organizations are adopting Selenium WebDriver for creating automated user interface tests.</p><p>The book's main aim is to cover the fundamentals related to Python Selenium testing. You will learn how the Selenium WebDriver Python API can be integrated with CI and Build tools to allow tests to be run while building applications. This book will guide you through using the Selenium WebDriver Python client library as well as other tools from the Selenium project. Towards the end of this book, you'll get to grips with Selenium Grid, which is used for running tests in parallel using nodes for cross-browser testing. It will also give you a basic overview of the concepts, while helping you improve your practical testing skills with Python and Selenium.</p>
备用描述
Ben shu jie shao le ru he yong Python yu yan diao yong Selenium WebDriver jie kou jin xing zi dong hua ce shi.Zhu yao nei rong wei:ji yu Python de Selenium WebDriver ru men zhi shi,Selenium Python jiao ben,Shi yong unittest bian xie dan yuan ce shi,Sheng cheng HTML ge shi de ce shi bao gao,Yuan su ding wei,Selenium Python API jie shao,Yuan su deng dai ji zhi,Kua liu lan qi ce shi,Yi dong duan ce shi,Bian xie yi ge iOS ce shi jiao ben,Bian xie yi ge Android ce shi jiao ben,Page Object yu shu ju qu dong ce shi,Selenium WebDriver de te xing,Di san fang gong ju yu kuang jia ji cheng deng he xin ji shu
备用描述
本软件测试实用指南探讨了用Selenium的 WebDriver API 为在浏览器上复杂操作进行简单化实现web 应用程序测试的过程,为web 应用程序测试创建自动化测试脚本带来了便利,本书最大的特色是引入了 Python编程,使用 Python 的单元测试模块,读者可以编写测试用例中的Selenium。它会同时帮助你提高实际测试技能与 Python 和Selenium应用的技巧
开源日期
2021-06-05
🚀 快速下载
成为会员以支持书籍、论文等的长期保存。为了感谢您对我们的支持,您将获得高速下载权益。❤️
🐢 低速下载
由可信的合作方提供。 更多信息请参见常见问题解答。 (可能需要验证浏览器——无限次下载!)
- 低速服务器(合作方提供) #1 (稍快但需要排队)
- 低速服务器(合作方提供) #2 (稍快但需要排队)
- 低速服务器(合作方提供) #3 (稍快但需要排队)
- 低速服务器(合作方提供) #4 (稍快但需要排队)
- 低速服务器(合作方提供) #5 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #6 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #7 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #8 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #9 (无需排队,但可能非常慢)
- 下载后: 在我们的查看器中打开
所有选项下载的文件都相同,应该可以安全使用。即使这样,从互联网下载文件时始终要小心。例如,确保您的设备更新及时。
外部下载
-
对于大文件,我们建议使用下载管理器以防止中断。
推荐的下载管理器:JDownloader -
您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
推荐的电子书阅读器:Anna的档案在线查看器、ReadEra和Calibre -
使用在线工具进行格式转换。
推荐的转换工具:CloudConvert和PrintFriendly -
您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
推荐的工具:亚马逊的“发送到 Kindle”和djazz 的“发送到 Kobo/Kindle” -
支持作者和图书馆
✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。
下面的文字仅以英文继续。
总下载量:
“文件的MD5”是根据文件内容计算出的哈希值,并且基于该内容具有相当的唯一性。我们这里索引的所有影子图书馆都主要使用MD5来标识文件。
一个文件可能会出现在多个影子图书馆中。有关我们编译的各种数据集的信息,请参见数据集页面。
有关此文件的详细信息,请查看其JSON 文件。 Live/debug JSON version. Live/debug page.