Python Automated Testing in Practice
Tags
Summary
Editor's review
Who it's for
A good fit for
- Beginners with basic Python syntax knowledge who wish to enter the field of automation testing
- Test engineers with some manual testing experience who wish to improve their technical skills and make a career transition
- Developers who want to understand testing processes and write high-quality test code to improve software quality
- Team technical leads or project managers seeking reference material for building or optimizing an automation testing system
Not a good fit for
- Readers with no programming background at all who want to learn Python from zero
- Readers seeking advanced testing theory, academic research, or standardized certification content
Reading tips
- Reading in chapter order is recommended, especially the first few chapters on environment setup and basic frameworks, which are the foundation for later learning
- Be sure to practice the code examples in the book hands-on and try adapting them to projects or scenarios you are familiar with
- For chapters such as Continuous Integration and Test Reports, you can extend your learning with currently popular tools (e.g., Jenkins, Allure); the book provides good ideas for integration
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- 版权信息
- 内容简介
- 序1
- 序2
- 前言
- 第1部分 UI自动化测试
- 第1章 自动化测试概述
- 1.1 自动化测试的价值
- 1.2 自动化测试的应用
- 第2章 Selenium元素定位实战
- 2.1 Selenium简述
- 2.2 Selenium结合浏览器实战
- 2.3 元素定位实战
- 第3章 Selenium与页面的交互
- 3.1 WebDriver浏览器的属性
- 3.2 WebElement类的方法
- 3.3 下拉框实战
- 3.4 弹出框实战
- 3.5 WebDriverWait类实战
- 3.6 ActionChains类实战
- 3.7 键盘事件实战
- 3.8 JavaScript的处理
- 3.9 获取截图
- 第4章 单元测试框架unittest
- 4.1 unittest简述
- 4.2 测试固件
- 4.3 测试执行
- 4.4 构建测试套件
- 4.5 分离测试固件
- 4.6 测试断言
- 4.7 断言的注意事项
- 4.8 批量执行测试用例
- 4.9 生成测试报告
- 4.10 代码覆盖率统计实战
- 第5章 Jenkins实战
- 5.1 Jenkins简述及部署
- 5.2 Jenkins实战
- 第6章 数据驱动
- 6.1 ddt实战
- 6.2 Txt实战
- 6.3 Csv实战
- 6.4 Excel实战
- 6.5 Xml实战
- 6.6 MySQL实战
- 第7章 Page Objects实战
- 7.1 Page Objects的实现
- 7.2 Page Objects中引入wait
- 7.3 Page Objects引入工厂设计模式
- 第8章 UI自动化测试实战
- 8.1 Web产品的实战
- 第2部分 接口自动化测试
- 第9章 HTTP协议
- 9.1 HTTP简述
- 9.2 HTTP的状态码
- 9.3 Cookie的请求流程
- 9.4 Session的请求流程
- 9.5 Token的请求流程
- 第10章 序列化与反序列化
- 10.1 JSON库的应用
- 10.2 JSON库的实例实战
- 第11章 PostMan的应用
- 11.1 PostMan简述
- 11.2 PostMan实战
- 11.3 PostMan接口测试实战
- 第12章 JMeter接口测试应用
- 12.1 JMeter简述
- 12.2 JMeter的语言切换
- 12.3 JMeter的插件安装
- 12.4 WebServices的请求
- 12.5 HTTP的请求
- 12.6 JMeter断言实战
- 12.7 HTTP请求默认值
- 12.8 用户定义的变量
- 12.9 Token的获取实战
- 12.10 HTTP Cookie管理器实战
- 12.11 生成测试报告实战
- 12.12 自动发送邮件实战
- 12.13 引入CI
- 12.14 JMeter接口测试实战
- 第13章 Requests实战
- 13.1 Requests简述
- 13.2 Requests发送请求
- 13.3 URL参数实战
- 13.4 请求头的添加
- 13.5 data参数实战
- 13.6 JSON参数实战
- 13.7 Token实战
- 13.8 Session实战
- 13.9 Session会话对象
- 13.10 Requests鉴权实战
- 13.11 超时处理
- 13.12 文件下载
- 13.13 文件上传
- 13.14 Requests接口测试实战
- 主要参考文献
FAQ
Is this book suitable for testers who have never written code?
Are the technology stack and cases in the book outdated?
What are the main features of this book compared with similar titles?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Wu Ya is an author about whom limited public information is available. The library currently holds two works by this author, spanning the distinct fields of programming and design and youth literature. Python Automated Testing in Practice suggests an interest in the engineering practice of software testing, with a focus on concrete techniques and hands-on operations for readers who want to apply automated testing in real projects. Letting Go, by contrast, turns to youth literature, addressing personal emotions and experiences of growing up. The considerable distance between these two works shows that the author has attempted both technical writing and literary expression. Since details such as dates of birth and death, nationality, education, and professional experience cannot be confirmed, this introduction makes no speculation and merely sketches the author's writing profile based on the available works and categories for readers' reference.