|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/cucumber-tutorial/
课程评论:没有评论
**课程名称:** 学习 Cucumber BDD 与 Java - MasterClass Selenium 框架 **课程概述:** 本课程最新更新于 5 月 3 日,使用最新的 Cucumber 7 版本框架视频。告别编写大量代码来开发自动化框架,迎接 Cucumber BDD!Cucumber 是 QA 行业在开发测试框架时的一项救星工具,它仅需最少的编程知识。本课程将帮助您构建一流的 BDD 框架,使其能够应用于 Selenium、Appium、Rest Assured API 中开发的任何自动化测试用例。 完成课程后,您将精通 Selenium Cucumber BDD 框架,并成功将其应用于工作场所的任何自动化测试用例。 本课程分为两部分: **第一部分:Cucumber 核心概念与框架功能** * Gherkin 语法 * Cucumber Scenarios、Feature 文件和 Step Definition 文件 * Cucumber Test Runner (Junit & TestNg) * Cucumber 正则表达式 * Cucumber 标签 (Tags) 和 Background 关键字 * Cucumber Scenario outline 用于参数化 * Cucumber Datatables * Cucumber Hooks * Tagged Hooks 机制 * Cucumber 插件 (Plugins) * Cucumber 报告 (Reports) * Cucumber 属性 (Attributes) * Cucumber 并行执行 (Parallel execution) **第二部分:端到端 Cucumber Selenium 框架开发** * 使用 Maven 构建包含所有框架依赖的项目 * 在 Feature 文件中开发端到端 Selenium Web 场景 * 理解 TestNG / Junit Runner 来运行框架 * 掌握单一职责原则,将实现分散到多个 Step definitions * 理解依赖注入 (Dependency injection) 的重要性,用于在 Step 文件之间共享数据 * 掌握 Page Object 模式,从 Page 文件驱动定位符 * 通过编写 PageObjectManager 类来实现工厂设计模式,以创建所有 PO 类的对象 * 如何配置 Driver 并在框架的文件之间分发 * 如何使用 Cucumber TestNG Runner 以并行模式运行 Cucumber Scenarios * 构建测试工具 (Test utilities) 用于可重用的 Selenium 方法 * 实现 Cucumber Hooks 来捕获测试失败时的屏幕截图 * 实现 Cucumber Tags 来运行框架中的选定测试 * 参数化测试数据,以运行具有多个数据集的 Scenarios * 创建 HTML 和 Extent 报告来运行 Cucumber Selenium 测试 * 以并行模式运行测试,并为失败的 Scenarios 生成附带屏幕截图的 Extent 报告 * 使用 Maven 和命令行选项运行 Cucumber 测试 * 将框架集成到 CI/CD Jenkins 并按固定时间间隔调度作业 * 创建参数化 Jenkins 作业,在作业执行运行时动态发送全局属性 以上所有主题都将从零开始,并包含大量实践示例,以期达到更好的理解效果。祝您学习顺利!
Course last Updated on May 3rd with Latest Cucumber Version 7 Framework Videos.Say Good bye in writing hell lot of the code to develop Automation Frameworks and welcome Cucumber BDD!"Cucumber- A life saver tool for QA Industry in developing Test Frameworks with minimal programming knowledge.. This course helps you to build a top class BDD framework So that you can implement it for any Automation test cases developed in Selenium, Appium, Rest Assured API.On course completion You will be Mastered in Selenium Cucumber BDD framework and can implement Successfully it in your work place for any automation test cases you haveThis course is divided into 2 Parts.In part 1 , You will get complete understanding of all Cucumber features and its framework functionalities which does not require any prerequisite. Below are the topics discussed in part 1Understand Gherkin SyntaxUnderstand Cucumber Scenarios Feature files & Step Definition filescucumber Test Runner (Junit & TestNg)Cucumber regular expressionsCucumber tags & Background keywordCucumber Scenario outline for parameterizationCucumber DatatablesCucumber hooksTagged Hooks mechanismCucumber pluginscucumber reportsCucumber attributesCucumber Parallel executionIn Part 2- We will inject Selenium code and develop end to end Cucumber Selenium Framework from Scratch. Below are the topics Build Maven Project with all the framework dependencies Develop End to end Selenium Web Scenarios in the feature fileImplement TestNG /Junit Runner to run the frameworkUnderstand the Single responsibility principle to distribute the implementation into multiple Step definitions.Importance of Dependency injection to share the data between the Steps fileUnderstand the Page object Pattern to drive the locators from page filesImplement Factory Design pattern by writing PageObjectManager class to create objects of all PO classesHow driver can be configured and distributed across the files in the frameworkHow to run Cucumber Scenarios in Parallel Mode using Cucumber TestNG RunnerBuild Test utilities for reusable Selenium methodsImplement Cucumber Hooks to capture Screenshots on test failuresImplement Cucumber Tags to run selected tests in the frameworkParameterizing the test data to run the Scenarios with multiple data setsCreating HTML & Extent reports to run Cucumber Selenium testsRunning tests in parallel mode and generate Extent reports with screenshots attached for failed ScenariosRun the cucumber tests using Maven & Command line optionsIntegrate the Framework to CI/CD Jenkins and Schedule the Jobs on regular time IntervalCreate Parameterized Jenkin job to dynamically send the global properties at run time of Job executionAll the above topics are discussed from scratch level with lots of Practical examples for better understanding..Wish you good Luck!