Packt
Advanced Java Concepts and Collections
Packt

Advanced Java Concepts and Collections

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

13 hours to complete
3 weeks at 4 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

13 hours to complete
3 weeks at 4 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • 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.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

September 2024

Assessments

4 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

Placeholder

Build your subject-matter expertise

This course is part of the Learn Automation Testing with Java and Selenium Webdriver Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate
Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 7 modules in this course

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.

What's included

29 videos2 readings

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.

What's included

5 videos

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.

What's included

14 videos1 assignment

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.

What's included

12 videos

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.

What's included

16 videos1 assignment

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.

What's included

13 videos

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.

What's included

39 videos1 reading2 assignments

Instructor

Packt - Course Instructors
Packt
375 Courses25,243 learners

Offered by

Packt

Recommended if you're interested in Software Development

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

New to Software Development? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions