Packt
Advanced Automation Frameworks and Testing with TestNG
Packt

Advanced Automation Frameworks and Testing with TestNG

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Grasp the purpose and structure of the Page Object Model and Page Factory, and comprehend the use cases of Log4j2 for effective logging.

  • Set up TestNG for structured test cases and utilize its annotations and advanced features to enhance test execution efficiency.

  • Create and manage advanced reports with Extent Reports to assess and document test outcomes.

  • Execute data-driven tests and handle file uploads using Selenium WebDriver to build robust automation frameworks.

要了解的详细信息

可分享的证书

添加到您的领英档案

作业

7 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

积累特定领域的专业知识

本课程是 Selenium WebDriver 4 with Java - Zero To Hero 专项课程 专项课程的一部分
在注册此课程时,您还会同时注册此专项课程。
  • 向行业专家学习新概念
  • 获得对主题或工具的基础理解
  • 通过实践项目培养工作相关技能
  • 获得可共享的职业证书

该课程共有14个模块

In this module, we will introduce you to the automation framework, focusing on the Page Object Model (POM). You will learn how to create object repositories and page classes, understand the Page Factory concept, and discover techniques to find all links on a webpage, setting a strong foundation for robust automation.

涵盖的内容

5个视频2篇阅读材料1个插件

In this module, we will delve into Log4j2 for logging infrastructure, covering its introduction, default configurations, and custom logger setup. You will learn how to log messages to both the console and files, and integrate Log4j2 into test cases, enhancing the logging capabilities of your automation framework.

涵盖的内容

6个视频1个插件

In this module, we will introduce you to the TestNG framework, guiding you through its setup and integration with Eclipse. You will learn how to add TestNG Javadoc to your development environment, setting the stage for effective test management and execution.

涵盖的内容

3个视频1个作业1个插件

In this module, we will cover the essential annotations and assertions in TestNG. You will learn how to write test classes, use assert methods, and apply annotations like @BeforeMethod, @AfterMethod, @BeforeClass, and @AfterClass to manage your test setup and teardown processes efficiently.

涵盖的内容

7个视频1个插件

In this module, we will explore advanced features of TestNG, including prioritizing test methods, grouping related tests, and creating dependencies. You will also learn how to disable specific tests and add timeouts, ensuring precise control over your test execution flow.

涵盖的内容

6个视频1个插件

In this module, we will explore how to parameterize test methods in TestNG using the XML file, enabling dynamic data input. Additionally, you will learn how to run tests, classes, and methods in parallel, optimizing your test execution for enhanced efficiency and speed in your automation framework.

涵盖的内容

2个视频1个作业1个插件

In this module, we will present a practice exercise on executing Selenium WebDriver test methods across multiple browsers using the parallel attribute of the TestNG framework. You will also receive a detailed solution to the exercise, helping you apply parallel execution techniques and overcome challenges in real-world testing scenarios.

涵盖的内容

2个视频1个插件

In this module, we will delve into the use of DataProviders in the TestNG framework. Through a two-part video series, you will learn how to run test methods with multiple sets of data, implementing parameterized tests that enhance your test coverage and flexibility, ensuring robust and comprehensive test automation.

涵盖的内容

2个视频1个插件

In this module, we will explore the ITestResult interface in the TestNG framework, showing how to access the status and results of test methods. You will learn to implement functionality to take screenshots upon test failure using TestNG, Selenium WebDriver, and Java, enhancing your debugging and error-reporting capabilities.

涵盖的内容

2个视频1个作业1个插件

In this module, we will cover TestNG listeners, including IInvokedMethodListener, ITestListener, and ISuiteListener. You will learn how to implement these listeners to monitor test execution and refactor your code for seamless integration, enhancing the robustness of your test automation framework.

涵盖的内容

4个视频1个插件

In this module, we will demonstrate how to generate HTML reports and write log statements in the TestNG framework. You will learn to create comprehensive and structured reports, providing detailed insights into your test execution for better analysis and tracking.

涵盖的内容

1个视频1个插件

In this module, we will introduce you to advanced reporting with Extent Reports. You will learn to implement advanced reporting features, attach screenshots, and manage multiple test cases in a single report, elevating your reporting capabilities to a professional level.

涵盖的内容

6个视频1个作业1个插件

In this module, we will focus on data-driven testing with Selenium WebDriver, showing how to set up data-driven tests, read and write data from Excel files, and implement practical examples with multiple datasets, enhancing the flexibility and scope of your test automation.

涵盖的内容

5个视频1个插件

In this module, we will cover file upload techniques and handling Windows authentication using Selenium WebDriver. You will learn how to upload files on Windows and Mac using the Robot class, install and use AutoIT for file uploads, and manage Windows HTTP authentication, enhancing your automation capabilities for various file handling and authentication scenarios.

涵盖的内容

5个视频1篇阅读材料3个作业1个插件

获得职业证书

将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。

位教师

Packt - Course Instructors
Packt
971 门课程232,003 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题