|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/selenium-webdriver-with-cucumber-bdd-automation-framework/
课程评论:没有评论
**Coursera 课程摘要:Selenium Webdriver 与 Cucumber BDD 自动化框架** 本课程旨在教授如何使用 Selenium Webdriver 和 Cucumber 构建一个强大的行为驱动开发 (BDD) 自动化测试框架。课程分为十个阶段,循序渐进地涵盖了从基础知识到高级技巧的各个方面。 **第一阶段:课程导论与 Selenium 基础** 本阶段将介绍课程目标、学习需求,并深入讲解 Selenium 及其核心概念。 **第二阶段:工具安装与环境配置** 重点在于 Java 环境变量设置、Maven 的安装与项目创建、Eclipse 的安装及配置,以及 POM 文件、TestNG 和 Cucumber 插件的安装,同时也会讲解浏览器驱动的设置。 **第三阶段:基础框架搭建** 学习 Gherkin 语言,创建 Feature 文件,并编写对应的 Step Definition 类和 Runner 类。 **第四阶段:脚本编写与优化** 学习实现 Step 类中的代码,利用 `Background` 关键字优化 Feature 文件,并使用标签 (Tags) 管理 Runner 类中的测试执行。 **第五阶段:元素自动化与异常处理** 涵盖创建和执行多个 Feature 文件,处理常见的异常情况,并学习基础的报告生成。 **第六阶段:测试执行方式** 学习通过 TestNG、批处理文件 (Batch files) 和 Maven 命令来执行测试,并安装 Maven Surefire 插件。 **第七阶段:高级框架设计(一)** 开始设计高级框架,包括创建不同的包、类,使用 Hooks,实现跨浏览器测试,以及集中管理 Selenium 方法。同时将概述 Page Object Pattern 和 Page Factory Pattern,并探讨解决 POM 复杂性的方法。 **第八阶段:高级框架设计(二)** 继续高级框架设计,更新现有包和类,使用标签,安装 Log4j 并实现日志生成,以及在框架中进行图片附件。 **第九阶段:持续集成 (CI) - Jenkins** 重点在于 Jenkins 的安装与设置,以及将 Java、Maven 与 Jenkins 集成,实现测试的定时执行,并进行高级报告。 **第十阶段:课程回顾与未来展望** 对整个课程所学内容进行回顾,并提供进一步的学习和实践建议。
Phase-1 we'll be about Introduction to the course:Understanding about course & it's needsHaving lessons walktroughlearning Selenium & It's various Concepts In Phase-2 we'll be learning about different tools installations:Setting-Up JAVA environmental variablesWhat is MAVEN? & Installation of MAVENCreating project in MAVENInstallation of Eclipse & MUST DO configuration of EclipseWhat is POM file? & understanding the content inside POM fileInstallation of TestNGCucumber Add-on's, which will ease our efforts in framework building processSetting up Browser Driver In Phase-3 we'll start with basic framework:Gherkin language & Features file creationCreation of Step definition class for respective feature fileRunner class creation In Phase-4 we'll move further into scripting:Implementing code for step classImprovising feature file with background keywordUsing tags in runner class In Phase-5 we'll learn automating various types of elements & handling exceptions:Creation and execution of multiple feature filesVarious exceptionsBasic reporting In Phase-6, we'll learn about ways of test execution: Using TestNG, Batch files, MVN commandsInstallation of Maven surefire plugin In Phase-7, we'll start designing advance framework: Creating various packages, classes & using HooksRunning test on different browsersCentralizing selenium methodsOverview on ‘Page Object Pattern' ‘Page Factory pattern'Better ways to overcome Page Object Modeling complications In Phase-8, we'll continue designing advance framework:Updating existing packages, classes & using tagsInstallation of Log4j & use of log generation within scriptsImage attachments in framework In Phase-9, we'll learn about CI - Jenkins:Installation & setup of jenkinsIntegration of Java, Maven with jenkinsScheduling test execution from jenkinsAdvance reporting In Phase-10, we'll review course leanings & future actions.