Packt
Advanced Java Concepts and Collections
Packt

Advanced Java Concepts and Collections

包含在 Coursera Plus

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

推荐体验

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

推荐体验

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

您将学到什么

  • Implement cross-browser and headless testing techniques in real-world scenarios.

  • Develop data-driven tests using CSV and Excel, and analyze their effectiveness in different test cases.

  • Design and evaluate robust frameworks using the Page Object Model to ensure maintainable and scalable automation scripts.

  • Create and scale comprehensive automation test suites using Selenium Grid and standalone server to manage large-scale web applications.

要了解的详细信息

可分享的证书

添加到您的领英档案

作业

5 项作业

授课语言:英语(English)

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

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

积累特定领域的专业知识

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

该课程共有7个模块

In this module, we will embark on a thorough exploration of Java Collections. We begin with an overview of the necessity and significance of collections in Java programming. Next, we dive into the List interface, covering its importance in maintaining order and position, and exploring the differences between ArrayList, LinkedList, and Vector implementations. We will master methods for manipulating lists and selecting optimal iteration techniques. The module also includes comprehensive coverage of sorting collections using built-in methods and custom comparators. Finally, we will delve into the Set, Queue, and Map interfaces, understanding their unique characteristics and practical applications. This module is packed with hands-on exercises and real-world scenarios to solidify your understanding and proficiency in using Java Collections.

涵盖的内容

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

In this module, we will delve into the powerful world of Java Generics. We begin by exploring the fundamental reasons for using generics, highlighting their role in creating type-safe and reusable code. Next, we implement generics in a custom list to see their practical benefits firsthand. We then extend these custom lists with generic return methods to further enhance flexibility. Through engaging puzzles, we will uncover the restrictions and capabilities of generics, especially with bounded types. Finally, we will apply wildcards to navigate complex generic scenarios, mastering both upper and lower bounds to achieve robust and adaptable coding solutions.

涵盖的内容

5个视频1个插件

In this module, we will explore the fundamentals of exception handling in Java. We start by understanding the mindset required during exception handling, followed by a deep dive into common exceptions like 'NullPointerException' and how to interpret stack traces. We will then cover the basic try-catch mechanism, the significance of the finally block, and the concept of exception hierarchies. Through hands-on puzzles, we will differentiate between checked and unchecked exceptions and learn to throw custom exceptions. Additionally, we will explore advanced features like try-with-resources introduced in Java 7. This module concludes with a discussion on best practices to ensure your code is resilient and well-structured.

涵盖的内容

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

In this module, we will explore a series of valuable Java tips to enhance your coding efficiency and effectiveness. We begin by discussing the role of imports and static imports to simplify code. Next, we delve into the proper use of code blocks and the importance of the 'equals' and 'hashcode' methods in custom object comparison. We will also cover various access modifiers for classes and methods, helping you control access and visibility within your codebase. The module includes practical insights into using the final keyword for classes, methods, variables, and arguments, ensuring that you can leverage immutability where necessary. These tips are designed to refine your coding practices and make your Java programs more robust and maintainable.

涵盖的内容

12个视频1个插件

In this module, we will explore the foundations of automated testing using Selenium, JUnit, and TestNG. Starting with an overview of Selenium, we will guide you through the installation of Selenium IDE and demonstrate how to record and replay test scenarios such as Google Search and Facebook Login. We will also introduce advanced features of Selenium IDE and present Katalon Studio as an alternative, complete with its installation and advanced capabilities. The module includes instructions for setting up a new Maven project, adding dependencies for JUnit and WebDriver, and resolving driver errors with ChromeDriverManager. We will conduct hands-on exercises to run Facebook JUnit tests and understand the background processes of Selenium automation tests. Finally, we will install the TestNG plugin, create a new project, and compare TestNG and JUnit tests to provide a comprehensive course overview.

涵盖的内容

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

In this module, we will conduct an in-depth comparison between TestNG and JUnit, two popular testing frameworks. We begin by exploring the fundamental differences and similarities between them. Next, we will create unit tests for a SimpleClass using JUnit, adding assertions to validate the test cases. Through practical exercises, we will write additional unit test scenarios to solidify our understanding. We will then demonstrate how to write Selenium JUnit automation tests in multiple parts, highlighting the use of the WebDriver interface. Utilizing JUnit annotations like @Before and @After, we will reduce code duplication in test setups. The module then transitions to TestNG, where we convert our unit tests from JUnit to TestNG and explore its advanced features, including XML suite configuration, detailed test reports, parameterized tests, and parallel test execution. This module aims to provide a comprehensive understanding of both frameworks and their applications in automated testing.

涵盖的内容

13个视频1个插件

In this module, we will delve into the fundamentals of HTML and CSS, exploring their roles in web development. You will learn how the web functions, set up a development environment, and create your first HTML file. We will also cover basic tags, formatting, W3C standards, and the organization of content using lists and tables.

涵盖的内容

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

获得职业证书

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

位教师

Packt - Course Instructors
Packt
971 门课程231,340 名学生

提供方

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 的全球公司

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

常见问题