We may earn an affiliate commission when you visit our partners.
Course image
Tim Short

Become an experienced automation tester by building a test framework with Selenium WebDriver using Java language. This course will provide you an overview of automation and a practical guide to building a framework with Java. Then explore the power of Selenium WebDriver and Cucumber.

Read more

Become an experienced automation tester by building a test framework with Selenium WebDriver using Java language. This course will provide you an overview of automation and a practical guide to building a framework with Java. Then explore the power of Selenium WebDriver and Cucumber.

Today's software development uses TDD and BDD practices and requires continuous integration and continuous deployment. Automation testers are needed to develop robust, clean, and thorough frameworks for regression testing, functional testing, and acceptance testing. Selenium WebDriver is the industry-leading, open-source tool that allows scrum teams to deliver quality software fast.

Learn how to apply BDD principals and develop feature files with Given-When-Then structure using Cucumber framework and Gherkin language. Apply Cucumber framework knowledge with Java step implementations to automate web actions with Selenium.

  • Build a robust test framework
  • Develop your own data-driven framework
  • Interact with elements on a web page
  • Use Java to automate web actions
  • Construct BDD tests with Cucumber
  • Implement the Page Object Model
  • Utilize popular test frameworks like JUnit and TestNG

This course has been taken from years of experience in training consultants and new hire orientation corporate training. Enroll in this course to get a thorough overview of automation, frameworks, Selenium WebDriver, and BDD with Cucumber.

  • I don't waste time on a lot of configuration
  • I don't waste time on unnecessary topics
  • I focus on making Selenium WebDriver automate user actions
  • I focus on building frameworks
  • I focus on conceptual and technical concepts
  • I focus on applying our knowledge to build complete, realistic tests
Enroll now

Here's a deal for you

We found an offer that may be relevant to this course.
Save money when you learn. All coupon codes, vouchers, and discounts are applied automatically unless otherwise noted.

What's inside

Learning objectives

  • Write realistic automated test scripts for web applications
  • Build robust test frameworks and custom libraries
  • Integrate java with selenium
  • Design a data-driven test framework
  • Find elements on a web page and simulate user behavior
  • Automate user actions across multiple browser platforms
  • Develop cucumber / bdd test plans with feature files using gherkin
  • Continuous integration and testing

Syllabus

Introduction to Testing & Selenium Automation
Introduction
Demo: See WebDriver in Action
Installing Selenium IDE
Read more
Record & Run with Selenium IDE
Modifying Test Data
Exporting Selenium IDE to Java Code
Preparing the Test Environment
Getting Started with Java and Eclipse
Introduction to Selenium
Automating Actions with Selenium WebDiver
Creating the Login Test Outline
Opening a Web Browser with Selenium
Understanding HTML and the DOM
Finding Elements using Chrome
Simulating User Actions on a Web Page
Capturing Text on a Page
Capturing the Page Title and Closing the Browser
Automation with Selenium WebDriver
Finding Elements on a Web Page
Overview of New Account Application
Preparing Environment with Firefox and Firebug
Writing the Test Outline and Opening a Firefox Browser
Item Locator: By LinkText
Item Locator: By Name and By ID
Item Locator: By XPath (Relative and Absolute)
Item Locator: By CSS Selector
Comparing Methods and Priority
Interacting with Form Elements
Completing the New Account Application
Finding Elements
Enhancing Test Scripts with Java
Using Variables to Parameterize Data
Cross-Browser Testing
Creating the DriverFactory
Defining WebElements
The Radio Button Algorithm
The Checkbox Algorithm
Conditional Test Results
Testing Frameworks & Reporting Methods
Introduction to JUnit Framework
Assertions: Generate Test Results
Annotations: Guiding the Test Flow
Class Variables within a Framework
Installing TestNG Framework in Eclipse
Setting up a TestNG Framework
TestNG Assertions
TestNG Annotations
Preparing a Test Suite
Managing an XML Test Suite
Build a Complete Data-Driven Framework

Data from CSV file:

Ellie Prynne,[email protected],1234567890,Female,ep1password,Italy,TRUE,FALSE,FALSE
Shawn Thompson,[email protected],4567891230,Male,sw2password,France,FALSE,FALSE,TRUE
Michael Lane,[email protected],7894561230,Male,ml3password,United States,TRUE,FALSE,TRUE
Janelle Von,[email protected],9876543210,Female,jv4password,Germany,FALSE,TRUE,FALSE

JUnit @Parameters
Data-Driven Testing with JUnit and CSV
The Excel Reader Class
TestNG @DataProvider
Data-Driven Testing with TestNG and Excel
Test Frameworks
Case Study: Testing a Booking & Reservation Application
Overview of Booking Application
Setting up the Test
Writing the Search Page Test Step
Modifying the Search Result Criteria (Implicit Waits)
Selected a Search Result (Advanced XPath Locators)
Switching Windows and Handling PopUps
Finishing the Booking and Confirmation
Page Object Model
What is the Page Object Model?
Setting up a Test with POM
Implementing the Login Page Class
Implementing the Dashboard Page Class
Writing a Test with Page Objects
Enhance POM with PageFactory
Behavior-Driven Development with Cucumber
What is BDD and Cucumber?
Preparing the Cucumber Environment
Writing a Feature File in Gherkin
Writing Step Definition Class
Writing the TestRunner with JUnit
Implementing Step Definitions with Selenium
Enhancing Feature Files with Data Tables
Parameterizing Data into Step Definitions
Executing Tests and Fixes
BDD & Cucumber

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Develops robust, clean, and thorough frameworks for regression testing, functional testing, and acceptance testing
Applies BDD principles and develops feature files with Given-When-Then structure using Cucumber framework and Gherkin language
Provides a practical guide to building a framework with Java
Taught by Tim Short, recognized for their work in test frameworks
Focuses on building frameworks
Core skills for software development using TDD and BDD practices and continuous integration and continuous deployment

Save this course

Save Selenium WebDriver with Java & Cucumber BDD to your list so you can find it easily later:
Save

Reviews summary

Cucumber framework using java

According to students, the course offers a largely positive Cucumber Framework training that's especially suitable for beginners looking to build out their Cucumber framework and learn more about it. While some of the information provided may not be up-to-date, it's not difficult to find up-to-date information on the internet. This training is definitely worth considering.

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Selenium WebDriver with Java & Cucumber BDD with these activities:
Review Object-Oriented Programming Concepts
Strengthen understanding of object-oriented programming principles for effective framework design.
Show steps
  • Review inheritance, polymorphism, and encapsulation concepts.
  • Practice implementing these concepts in Java.
Execute Cross-Browser Tests
Enhance testing capabilities by practicing cross-browser testing with Selenium WebDriver.
Show steps
  • Set up different browsers (e.g., Chrome, Firefox, Edge) for testing.
  • Write test scripts that run across multiple browsers.
  • Handle browser-specific challenges and optimize test scripts for cross-browser compatibility.
Implement Data-Driven Testing
Enhance test reliability and efficiency by using data-driven testing techniques.
Show steps
  • Create test data sets in different formats (e.g., CSV, Excel, JSON).
  • Develop data-driven test scripts that read data from files or databases.
  • Implement parameterization techniques to pass data to test methods.
  • Analyze test results and identify any data-related issues.
Five other activities
Expand to see all activities and additional details
Show all eight activities
Explore WebDriver Variations
Extend knowledge of Selenium WebDriver by learning and implementing its different variations.
Show steps
  • Research available WebDriver variations such as Remote WebDriver, EventFiringWebDriver, and HtmlUnitDriver.
  • Implement each variation in your automation framework.
  • Compare the performance and capabilities of each variation.
Design Page Object Classes
Improve code maintainability and reusability by implementing the Page Object Model.
Show steps
  • Use Page Object classes in test scripts to interact with the application.
  • Identify common elements and actions across web pages.
  • Create Page Object classes that encapsulate these elements and actions.
Develop Automation Test Suite
Demonstrate understanding of Selenium WebDriver and test frameworks by creating a comprehensive test suite.
Show steps
  • Design test cases covering various functionalities of the application under test.
  • Implement test cases using Selenium WebDriver and an appropriate test framework like JUnit or TestNG.
  • Organize test cases into logical groups and create a test suite.
  • Execute the test suite and analyze the results.
Enhance Test Reporting
Improve test documentation and communication by customizing test reports.
Show steps
  • Customize test reports to include additional information (e.g., screenshots, logs).
  • Implement custom report generation formats (e.g., HTML, PDF, XML).
  • Integrate third-party reporting tools to enhance report visualization.
Build Custom Test Framework
Enhance automation capabilities by developing a custom test framework tailored to specific testing needs.
Show steps
  • Define a framework architecture and design principles.
  • Create custom test runners, report generators, and data providers.
  • Integrate third-party libraries or tools to extend framework functionality.
  • Implement logging, error handling, and reporting mechanisms.

Career center

Learners who complete Selenium WebDriver with Java & Cucumber BDD will develop knowledge and skills that may be useful to these careers:
Test Automation Engineer
Test Automation Engineers design and develop automated tests for software applications. This course provides a comprehensive overview of test automation, including how to build a robust test framework and custom libraries. The course also covers popular test frameworks like JUnit and TestNG, which are essential tools for any Test Automation Engineer.
Software Developer
Software Developers design, build, and maintain software applications. This course provides a comprehensive overview of software development, including how to build a data-driven test framework and simulate user behavior. The course also covers popular test frameworks like Selenium and Cucumber, which are essential tools for any Software Developer.
Computer Programmer
Computer Programmers write and test code for software applications. This course provides a comprehensive overview of software development, including how to build a data-driven test framework and simulate user behavior. The course also covers popular test frameworks like Selenium and Cucumber, which are essential tools for any Computer Programmer.
Software Engineer
Software Engineers design, develop, and maintain software applications. This course provides a solid foundation in software development principles, including how to build a robust test framework and custom libraries. The course also covers popular test frameworks like JUnit and TestNG, which are widely used in the industry.
Quality Assurance Analyst
Quality Assurance Analysts test software applications to ensure that they meet quality standards. This course provides a thorough overview of software testing, including how to find elements on a web page and automate user actions. The course also covers popular test frameworks like JUnit and TestNG, which are widely used in the industry.
Technical Project Manager
Technical Project Managers lead software development projects. This course provides a comprehensive overview of software development, including how to build a data-driven test framework and automate user actions. The course also covers popular test frameworks like JUnit and TestNG, which are essential tools for any Technical Project Manager.
Web Developer
Web Developers design and develop websites. This course provides a comprehensive overview of web development, including how to find elements on a web page and automate user actions. The course also covers popular test frameworks like Selenium and Cucumber, which are essential tools for any Web Developer.
Software Development Manager
A Software Development Manager oversees all aspects of software development, from planning and budgeting to overseeing coding and quality assurance. This course provides a solid foundation in all phases of software development. It teaches you how to build a robust test framework and custom libraries, which are essential skills for any Software Development Manager. The course also covers popular test frameworks like JUnit and TestNG, which are widely used in the industry.
Project Manager
Project Managers plan and execute projects to achieve specific goals. This course provides a comprehensive overview of project management, including how to build a test framework and automate user actions. The course also covers popular test frameworks like JUnit and TestNG, which are essential tools for any Project Manager.
Software Architect
Software Architects design and develop the overall architecture of software applications. This course provides a solid foundation in software development principles, including how to build a robust test framework and custom libraries. The course also covers popular test frameworks like JUnit and TestNG, which are widely used in the industry.
Business Analyst
Business Analysts analyze business processes and requirements to improve efficiency and effectiveness. This course provides a solid foundation in business analysis principles, including how to build a test framework and automate user actions. The course also covers popular test frameworks like JUnit and TestNG, which are widely used in the industry.
IT Consultant
IT Consultants provide advice and guidance to organizations on how to use technology to improve their business processes. This course provides a foundational understanding of IT consulting, including how to build a test framework and automate user actions. The course also covers popular test frameworks like JUnit and TestNG, which are widely used in the industry.
Product Manager
Product Managers lead the development and launch of new products. This course provides a foundational understanding of product management, including how to build a test framework and automate user actions. The course also covers popular test frameworks like JUnit and TestNG, which are widely used in the industry.
DevOps Engineer
DevOps Engineers work to bridge the gap between development and operations teams. This course provides a foundational understanding of software development and testing, including how to build a test framework and automate user actions. The course also covers popular test frameworks like JUnit and TestNG, which are widely used in the industry.
Data Analyst
Data Analysts collect, analyze, and interpret data. This course provides a foundational understanding of data analysis, including how to build a data-driven test framework and automate user actions. The course also covers popular test frameworks like JUnit and TestNG, which are widely used in the industry.

Reading list

We've selected nine books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Selenium WebDriver with Java & Cucumber BDD.
Provides a collection of 90 effective Java programming practices. It valuable resource for Java developers of all levels looking to improve their code quality and performance.
Provides a comprehensive guide to automation testing. It covers topics such as test planning, test design, and test execution. It valuable resource for both testers and developers looking to improve their automation testing skills.
Provides a practical introduction to BDD for testers. It covers topics such as writing effective feature files, implementing step definitions, and integrating BDD with agile development processes. It good resource for testers looking to get started with BDD.
Provides a collection of recipes for solving common testing challenges using Selenium. It valuable resource for testers looking for practical solutions to their testing problems.
Provides a hands-on approach to learning about automation testing and Selenium WebDriver. It good resource for testers and developers new to automation testing.
Provides a comprehensive guide to concurrency in Java. It covers topics such as thread synchronization, concurrent data structures, and high-performance computing. It valuable resource for Java developers looking to write efficient and scalable code.
Provides a beginner-friendly introduction to Java. It covers topics such as object-oriented programming, data structures, and algorithms. It good resource for students and developers new to Java.
Save
Provides a comprehensive introduction to Java programming. It covers topics such as object-oriented programming, data structures, and algorithms. It good resource for students and developers new to Java.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Selenium WebDriver with Java & Cucumber BDD.
Selenium WebDriver Java: Basic to Architect Bootcamp 2024
Most relevant
Learn Cucumber BDD with Java -MasterClass Selenium...
Most relevant
Advanced Selenium WebDriver with Java and TestNG
Most relevant
Selenium WebDriver 4, Cucumber BDD, Java & More!
Most relevant
Selenium WebDriver JAVA |Best for Beginners |Real...
Most relevant
Robot Framework Test Automation - Level 1 ( Selenium )
Most relevant
Selenium WebDriver + Java. Complete step by step course.
Most relevant
Automation framework with Selenium Java (Advanced)
Most relevant
Web Automation-Selenium-Ruby|E-2-E Cucumber integration...
Most relevant
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser