What Is Programming? And How To Get Started
January 28, 2025
Article
Instructor: Packt - Course Instructors
Included with
Recommended experience
Intermediate level
Ideal for testers, QA engineers, and developers with basic programming skills. Java, Maven, and Selenium WebDriver knowledge is recommended.
Recommended experience
Intermediate level
Ideal for testers, QA engineers, and developers with basic programming skills. Java, Maven, and Selenium WebDriver knowledge is recommended.
Create a Cucumber Maven project from scratch.
Write and execute BDD scenarios using Gherkin language.
Integrate Cucumber with Selenium WebDriver for automation.
Design and implement a Page Object Model-based framework.
Add to your LinkedIn profile
October 2024
4 assignments
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Behavior Driven Development (BDD) is revolutionizing the way software testing and development are approached, making it essential for professionals in the field to master. This course demystifies BDD by introducing you to Cucumber, a powerful tool that streamlines the testing process. Starting with the basics, you’ll learn how to create a Cucumber Maven project, write feature files using Gherkin language, and set up step definitions. Each module is designed to build your confidence, ensuring you grasp the fundamental concepts before diving into more complex topics.
As you progress, the course delves into advanced Cucumber options like tags, dry run, and monochrome, giving you the tools to customize your test suites effectively. You’ll also explore the integration of Cucumber with Selenium WebDriver, learning how to automate web applications with precision. This section is pivotal, as it bridges the gap between BDD theory and practical implementation, showing you how to create and run tests that are both comprehensive and maintainable. Finally, the course covers automation framework design using the Page Object Model, a crucial technique for managing web elements in large-scale applications. By the end, you'll have a complete understanding of how to design and implement a robust BDD framework with Cucumber, from setting up your environment to generating detailed reports. This course is not just about learning; it's about mastering the art of automation in software testing. This course is tailored for software testers, QA engineers, and developers who have a basic understanding of programming and software testing principles. Familiarity with Java, Maven, and Selenium WebDriver is recommended to maximize your learning experience.
In this module, we will explore the foundational concepts of Behavior Driven Development (BDD) and guide you through setting up a Cucumber environment. You'll learn how to create Cucumber Maven projects, develop feature files using Gherkin syntax, and implement step definitions to bring your BDD tests to life. By the end of this section, you'll be equipped to run your BDD tests using JUnit test runners, ensuring a robust testing framework for your projects.
7 videos1 reading
In this module, we will delve into the various configuration options available in Cucumber, enabling you to tailor your BDD test executions. You'll learn how to set up features, glue, and plugins, and how to use the dry run and strict options to control test execution flow. Additionally, we’ll cover the monochrome and tags options for better output formatting and scenario filtering, along with the name option for precise scenario targeting, ensuring your tests run exactly as needed.
6 videos
In this module, we will integrate Selenium WebDriver with Cucumber, allowing you to perform browser-based testing within your BDD workflows. You'll learn how to craft Gherkin scenarios and write step definitions to test web applications interactively. Additionally, we will introduce global hooks, enabling you to manage test environments and actions that need to occur before or after each scenario, ensuring your tests are robust and efficient.
3 videos1 assignment
In this module, we will explore the use of parameters and data tables in Cucumber to make your tests more dynamic and data-driven. You'll learn how to use Cucumber parameters to pass different data sets into your step definitions and how to work with step data tables to handle more complex inputs. Additionally, we will cover scenario outlines, enabling you to perform data-driven testing by running the same scenario with multiple sets of data, thus broadening your test coverage and ensuring robust validation of your application.
3 videos
In this module, we will dive into the concepts of hooks and tags in Cucumber, which are essential tools for managing test execution flow. You'll learn how to use global hooks to define actions that run before or after all scenarios, and how to leverage tagged hooks for more granular control based on scenario tags. We will also cover how to prioritize hooks to control their execution order, and how to use Cucumber tags to organize and selectively run your scenarios. The module concludes with a summary to reinforce your understanding and ensure you are well-prepared to apply these concepts in your testing framework.
5 videos1 assignment
In this module, we will explore the integration of the Page Object Model (POM) within the Cucumber framework to create a robust and maintainable test architecture. You'll learn how to create a Page Factory for managing web elements, develop action pages that encapsulate user interactions, and construct common action pages for shared functionalities. By the end of this module, you'll be equipped to implement the Page Object Model in your BDD tests, ensuring your test code is scalable, modular, and easy to maintain.
4 videos
In this module, we will focus on enhancing the reporting capabilities of your Cucumber tests. You’ll learn how to add the Masterthought reporting plugin to generate comprehensive test reports, and how to capture screenshots automatically for any failed steps, making it easier to identify and resolve issues. The module concludes with a summary of the entire course, ensuring that you are equipped to apply what you've learned and continue developing your BDD expertise.
3 videos2 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.
LearnKartS
Course
Course
Course
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.
You will be eligible for a full refund until two weeks after your payment date, or (for courses that have just launched) until two weeks after the first session of the course begins, whichever is later. You cannot receive a refund once you’ve earned a Course Certificate, even if you complete the course within the two-week refund period. 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.