|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/learn-selenium-with-python-d/
课程评论:没有评论
课程名称:使用Python、PyTest和框架学习Selenium 课程概述:Selenium是一种开源自动化测试工具,可以无缝地与基于Web的应用程序进行交互,兼容Firefox、Chrome、Edge、Opera和Safari等浏览器,并支持Windows、Linux和Macintosh等平台。本课程旨在将参与者从Selenium基础概念带入专家水平,深入探索使用Selenium与网页的交互。通过实际网站的示例,将演示每个主题,并专注于Selenium WebDriver和PyTest的最佳实践。课程内容涵盖从基础到高级的各个方面。 课程主题: 模块1:自动化与Selenium概述 - 理解软件测试及其类型 - 手动测试中的挑战以及自动化如何克服这些挑战 - 自动化工具的功能和组件 - 编程在自动化中的作用 - Selenium WebDriver的概述、组件以及优缺点 模块2:Selenium的Python基础 - Python简介及其安装 - Python基础:变量、数据类型、控制语句 - Python面向对象编程概念、模块和异常处理 - 处理文本文件和数据库 模块3:Selenium WebDriver - WebDriver简介及其架构 - 环境设置与配置 - 在多个浏览器上创建和执行自动化测试用例 - 定位器、命令、等待、浏览器和元素命令 - 处理各种Web元素、警告框、iframe和浏览器窗口 - 高级主题,如日期选择器、Web表格、鼠标和键盘操作、文件上传和下载、截图、Cookies、无头浏览器测试及使用MS-Excel进行数据驱动测试 模块4:PyTest - PyTest的介绍和安装 - 命名规范、测试用例和夹具 - 以各种方式运行测试、跳过测试、分组测试 - 并行测试、参数化、命令行参数 - HTML报告生成 模块5:日志与页面对象模型 - 生成日志 - 页面对象模型模式和页面工厂 模块6:基于POM的混合框架 - 实时项目 - 理解自动化框架及其类型 - 逐步设计混合驱动框架 - 通过页面对象、实用工具、配置文件、自动化、数据驱动和数据库测试用例进行项目实施 - PyTest HTML报告、日志、电子邮件通知 - 通过命令行和bat文件执行 模块7:持续集成(Git、Github和Jenkins) - 持续集成简介 - Git和Github的工作流程、Git命令概述 - Jenkins和Maven集成概述 - 通过Jenkins运行Selenium测试脚本 本课程为想要掌握Selenium及其相关工具的学习者提供了全面的指导,适合不同水平的参与者。
Selenium, an open-source automation testing tool, empowers testers to interact with web-based applications seamlessly. Compatible with browsers like Firefox, Chrome, Edge, Opera, and Safari, Selenium extends its support across Windows, Linux, and Macintosh platforms. This comprehensive Selenium course is designed to take participants from fundamental Selenium concepts to an expert level, providing a thorough exploration of web page interaction using Selenium. Practical examples from live websites will illustrate each topic, focusing on best practices with Selenium WebDriver and PyTest. This course is an inclusive guide covering everything from the basics to advanced topics.Course Topics:Module 1: Automation & Selenium OverviewUnderstanding Software Testing and its typesChallenges in Manual testing and how Automation overcomes themFunctionality and components of Automation toolsThe role of Programming in AutomationOverview, components, and advantages/disadvantages of Selenium WebDriverModule 2: Python Essentials for SeleniumIntroduction to Python and its installationPython basics: variables, data types, control statementsPython OOPs concepts, modules, and exception handlingWorking with text files and databasesModule 3: Selenium WebDriverIntroduction to WebDriver and its architectureEnvironment setup and configurationCreating and executing automated test cases on multiple browsersLocators, commands, waits, browser and element commandsHandling various web elements, alerts, iframes, and browser windowsAdvanced topics like handling date picker, web tables, mouse and keyboard actions, file uploads and downloads, screenshots, cookies, headless browser testing, and data-driven testing using MS-ExcelModule 4: PyTestIntroduction and installation of PyTestNaming conventions, test cases, and fixturesRunning tests in various ways, skipping tests, grouping testsParallel testing, parameterization, command line argumentsHTML report generationModule 5: Logs & Page Object ModelGenerating logsPage Object Model pattern and Page FactoryModule 6: Hybrid Framework with POM - Live ProjectUnderstanding Automation Frameworks and their typesDesigning a Hybrid Driven Framework step by stepProject implementation with page objects, utilities, configuration files, automation, data-driven, and database test casesPyTest HTML reports, logs, email notificationsExecution through command line and bat filesModule 7: CI - Continuous Integration (Git, Github & Jenkins)Introduction to Continuous IntegrationWorkflow of Git & Github, Git commandsOverview of Jenkins and Maven integrationRunning Selenium test scripts through Jenkins