What Is Programming? And How To Get Started
January 28, 2025
Article
This course is part of Selenium WebDriver 4 with Java - Zero To Hero Specialization
Instructor: Packt - Course Instructors
Included with
Recommended experience
Intermediate level
For testers, automation engineers, and QA pros with basic Selenium and Java knowledge, seeking advanced skills in automation frameworks and TestNG.
Recommended experience
Intermediate level
For testers, automation engineers, and QA pros with basic Selenium and Java knowledge, seeking advanced skills in automation frameworks and TestNG.
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.
Add to your LinkedIn profile
September 2024
6 assignments
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
This course begins with an introduction to automation frameworks, focusing on the Page Object Model (POM) to enhance code reusability and maintainability. You will learn to create object repositories, page classes, and use Page Factory for efficient web element initialization. The course covers practical tips for finding all links on a webpage, providing a solid foundation in automation frameworks.
Next, delve into Log4j2, from default configurations to advanced custom loggers, writing configuration files for console and file logging, and integrating Log4j2 into test cases to improve logging infrastructure. Transitioning to TestNG, the course covers setup, annotations, method prioritization, grouping, parameterization, parallel test execution, DataProviders, ITestResult, and listeners for customized test behavior. Practical exercises reinforce these concepts, preparing you for real-world application. Designed for software testers, automation engineers, and QA professionals with basic Selenium WebDriver and Java knowledge, this course deepens your understanding of advanced automation frameworks and TestNG. Implement POM and Page Factory, configure and use Log4j2, set up and leverage TestNG, utilize its advanced features, create and manage advanced reports, and execute data-driven tests and handle file uploads using Selenium WebDriver.
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 videos2 readings
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 videos
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 videos1 assignment
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 videos
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 videos
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 videos1 assignment
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 videos
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 videos
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 videos1 assignment
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 videos
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.
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 videos1 assignment
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 videos
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 videos1 reading2 assignments
Packt helps tech professionals put software to work by distilling and sharing the working knowledge of their peers. Packt is an established global technical learning content provider, founded in Birmingham, UK, with over twenty years of experience delivering premium, rich content from groundbreaking authors on a wide range of emerging and popular technologies.
Course
Course
Course
Coursera Project Network
Course
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Earn a degree from world-class universities - 100% online
Upskill your employees to excel in the digital economy
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.
This course is one of a few offered on Coursera that are currently available only to learners who have paid or received financial aid, when available.
If you subscribed, you get a 7-day free trial during which you can cancel at no penalty. After that, we don’t give refunds, but you can cancel your subscription at any time. See our full refund policy.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies enable the website to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.