|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/webdriverio-automate-front-end-web-application-testing/
课程评论:没有评论
课程名称:WebdriverIO:自动化前端网页应用测试 课程概述:自动化网页应用测试不应该是困难的!在本课程中,我将指导您通过必要的步骤,使用WebdriverIO创建前端网页应用的测试自动化。我们将使用WebdriverIO的第5版。我们将一起编写脚本,自动化测试使用原生JavaScript、React和Angular的前端应用。 前端网页应用测试自动化是什么?"前端"指的是用户界面,通常是网站的部分。所有您可以看到和与之交互的内容都是前端的一部分。我们通过自动化来模拟用户使用应用程序的体验,从而确保我们的网站按预期工作。 成功完成本课程需要了解哪些内容?本课程为初级工程师设计。我将讲解您成为测试自动化工程师所需的所有基础知识。但以下几点会帮助您更顺利地学习: - 具备网页应用的手动测试经验 - 具备良好的JavaScript经验(我会简要回顾本课程的重点) - 具备良好的HTML和CSS经验(我会简要回顾本课程的重点) 最重要的是,您需要认真完成每一步的工作。不要跳过视频,除非您对材料有100%的把握。您需要与我一起编写代码。 我们为什么需要前端测试自动化?任何形式的测试自动化都受到高度需求。手动测试工程师的日子正迅速过去。公司希望更频繁、更快速地交付代码。这意味着构建、测试和发布代码的开发周期正在缩短。为了适应持续交付的节奏,团队必须将自动化整合到流程的每个部分。开发周期中需要自动化的主要部分包括:构建、发布、单元测试和回归测试。QA负责集成测试,而回归测试是开发周期中最耗时的部分之一。 使用WebdriverIO的原因:在构建测试自动化时,常有人问我为何不直接使用Selenium?WebdriverIO使用Selenium Webdriver的自定义实现,这意味着您实际上是在使用Selenium,但WebdriverIO提供了许多额外的功能,使得创建测试变得更快速和简便。 我们将覆盖的内容包括: - 为自动化测试做准备 - 谁应该进行自动化以及使用什么工具? - 在测试中使用开源工具与应用 - 使用Mocha单元测试框架进行代码测试 - Node.js和Chai断言 - 使用ESLint和Prettier进行编码标准 - 编写与常见网页应用元素交互的自动测试 - 为测试添加验证 - 配置测试以适应不同浏览器或测试环境 - 使用Allure报告生成包含截图和视频的美观报告 - 建立一个展示您技能的代码库,利用GIT和GITHUB为更大的项目创建代码库 我期待着您加入我的课程!
Learning to automate web application testing shouldn't be hard!In this course, I will be guiding you through the steps needed to create front-end web application test automation using WebdriverIO. We will be using Version 5 of WebdriverIO in this course.Together we will be writing scripts that automate the testing of front-end applications that use vanilla Javascript, React, and Angular.What is front-end web application test automation?The "front-end" refers to the user interface. Or in the case of web applications, the web site. Everything that you can see and interact with is part of the front-end. We automate the front-end to simulate the user experience of someone using the application. Through automation, we can pretend to be a user to make sure our site is working as expected.What do I need to know to be successful in this course?This course is designed for entry-level engineers. I will be going over everything that you need to get started being successful as a test automation engineer.But here are a few things that will definitely help in your journey:Experience with manual testing of web applicationsGood Javascript experience (I will briefly review the important parts for this course)Good HTML and CSS experience (I will briefly review the important parts for this course)The most important thing to be successful is that you need to do the work. Don't skip videos unless you are 100% sure you know the material. You need to be coding right along with me every step of the way.Why we need front-end test automation?Test automation of any kind is in high demand. The days of the manual test engineer is quickly coming to an end.Companies want to deliver code more often and faster. What does that mean?The development cycle to build, test, and release code is becoming shorter. Having a constant delivery cycle is forcing teams to integrate automation into every part of the process.The major parts of the cycle that need to be automated are:- Build- Release- Unit Testing- Regression TestingQA is responsible for integration testing.One of the most time-consuming parts of the development cycle is regression testing.Teams spend hours or days re-testing features that they have already tested hundreds of times.Why?Changes in the codebase can cause downhill effects on other features. Things break all the time.Never assume the code is always going to work!For these reasons, we build automated tests.Why use WebdriverIO?The most common question I get asked when building test automation is why not just use Selenium?WebdriverIO is using a custom implementation of Selenium's Webdriver...What does that mean?It means that you are basically using Selenium. But with WebdriverIO you get a lot of extras that make creating tests faster and easier than if you just use Selenium.What we will cover:Preparing for automated testingWho should do the automation and with what tools?Using open-source tools and applications in our testingTools include GIT, GITHUB, Node.js, Chrome Developer Tools, Visual Studio Code, Mocha, Chai, and WebdriverIO.Automating web applications interactions without a frameworkUsing the Mocha unit testing framework to test your codeNode.js and Chai assertionsCoding standards with ESLint and PrettierWriting automated tests that interact with the most common web-application elementsAdding validations to our testsConfiguring tests to run against different browsers or test environmentsUsing Allure reports to generate beautiful reports that include screenshots and videosBuild a repository to showcase your skillsWe will be utilizing GIT and GITHUB to create repositories for our bigger projects.The goal is that I want you to have good quality examples that you can easily share with your boss or future employers.I look forward to having you join my class!