|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/advanced-selenium-framework-development-with-junit5-allure/
课程评论:没有评论
课程名称:使用 Junit5 开发高级 Selenium 4.0 框架 课程概述:近年来,越来越多的企业正在简化在线业务流程,使得网站能够在多个浏览器和平台上无缝运行对企业的成功至关重要。因此,测试及自动化测试这些应用程序是提供优质客户体验的必要条件。对于具备网页、API 和移动应用测试自动化技能的工程师需求不断增加。Selenium 是实现用户界面测试自动化的首选库。然而,仅依靠 Selenium 可能无法满足所有测试需求,因此需要结合多种库来构建一个健壮、有效且易于重用的测试框架。 在本课程中,您将学习如何使用 Selenium 4、Junit5 及其他实用的 Java 库构建一个功能强大、简单有效且可重用的用户界面自动化框架。您将掌握以下功能: - 使用 Maven 进行依赖管理和构建执行 - 采用单例设计模式的属性读取器 - 使用 WebDriverManager 管理多浏览器二进制文件 - 使用工厂模式的 Threadlocal 设计健壮的 WebDriver - 利用 Junit5 注解实现通用的设置和拆卸方法 - 实现页面对象模型模式以自动化电子商务应用(例如 JPetStore) - 创建通用的元素识别、交互和同步方法 - 使用 Allure 库构建功能步骤 - 实现页面和元素截图 - 创建测试监听器 - 使用标签对测试进行分组 - 重新尝试不稳定的测试 - 使用 maven-surefire 实现并行测试 - 利用 Excel 和 CSV 驱动参数化测试 - 实现 Maven SystemPropertyVariables 通过命令行覆盖属性 - 使用 Allure 库创建精彩的报告 - 在 Grid(如 Docker Selenium Grid 和 Zalenium Grid)中执行测试 - 使用 Git 和 GitHub 进行源代码控制 - 在 Jenkins 中执行构建 通过本课程的学习,您将掌握构建健壮、有效且易于使用的可重用框架所需的技术。这些知识也将有助于您今后的面试。
In the last few years, there has been a tremendous increase in the number of businesses that are now making it easier for consumers to do business online. Websites that can perform seamlessly on multiple browsers & platforms are necessary for a company to thrive & excel. So testing & automating the testing of these applications is essential for providing quality to customers who use these applications."The demand for engineers who have the niche skill of automating the testing of web,api & mobile application has increased.""Selenium has been the most preferred library when it comes to automating UI tests." Other than just automating a user workflow, it is also necessary to have the ability to execute tests multiple times with data, execute tests in parallel, group tests, run tests in Selenium Grid, capture screenshots, video recordings to provide additional information on test runs.However, Selenium alone may not provide all the features to perform the activities as mentioned above. A combination of many libraries will be necessary to build a robust, effective & easy to use, reusable framework.In this course, you will be learning exactly how to build a robust, simple, effective & reusable UI automation framework using Selenium 4, Junit5 & many other cool Java libraries. Below are the features that we will be building into this frameworkDependency management & build execution using MavenProperty Reader using Singleton design patternMultiple browser binary management techniques using WebDriverManagerRobust Webdriver design with Threadlocal using FactoryPattern, using enums to manage browser configurationGeneric setup, teardown using junit5 annotations(@BeforeAll,@AfterAll,@BeforeEach,@AfterEach)Implement the Page Object Model pattern to automate e-commerce application(JPetStore)Creating generic element identification, element interaction & synchronization methodsBuilding steps for functionality using Allure Library(@Step)Implementing Page & Element screenshotsCreate TestListenersGrouping of tests using tags(@Tag annotations)Retrying flakey testsExecuting tests in parallel using maven-surefire(parallel & fork techniques)Driving parameterized tests using excel & CSVImplementing maven SystemPropertyVariables to override properties via command lineCreating awesome reports using the Allure Library.Executing tests in Grid (Docker Selenium Grid, Zalenium Grid)Source control with git & GitHubExecuting builds in Jenkins"At the end of this course, you will master the techniques needed to build a robust, effective & easy to use, reusable framework. The knowledge learned will also help you with interviews."