
Set up the open JDK on your Windows machine, download JDK 17, extract it, and configure JAVA_HOME and PATH so the command line recognizes Java for automated tests.
Download the current version of Apache Maven, set MAVEN_HOME and update PATH, then verify with mvn -v to enable library downloads for your automation framework.
install and set up intelliJ idea community edition, then add the cucumber for java plugin to begin building a java-based automation framework.
Set up a Maven project locally, create a pom.xml, and learn how Maven manages dependencies like Selenium Java by downloading jars from the Maven repository to build an automation framework.
Set up a Maven project in IntelliJ with JDK 17, install the cucumber add-on, name the project automation-framework, and verify the pom.xml and src folders for main and test code.
Create and configure a maven project by editing the pom.xml to download selenium and cucumber dependencies from the maven repository, then resolve and import jars like selenium chrome driver.
Download the correct Chrome driver matching your Chrome version, extract it, and place it in a drivers package in IntelliJ to run Selenium and Cucumber Java tests in Chrome.
Explore Maven lifecycle commands by using clean to delete the target folder and compile to build Java classes, and address UTF-8 warnings by adding a property to pom.xml.
Add a version for the maven compiler plugin under the plugin section and load maven changes to resolve the warning, then compile to confirm build success with JDK 16.
Discover how Cucumber and Gherkin enable non-technical teams to describe software behavior using feature files and scenarios, with given, when, and then keywords for readable, automated tests.
Create a Cucumber and gherkin feature file to test the contact us page, filling first name, last name, email, and comments, then verify the submission message.
Map feature file steps to java step definitions in Cucumber for beginners by creating a step definitions class, wiring given when then steps, and running to pass steps.
Learn to use Cucumber hooks for before and after scenarios to set up and tear down a Chrome driver, configure Chrome options, and maximize the browser window.
Implement step definitions to drive a chrome browser, navigate to a url, and fill the contact us form with first name, last name, and email using css selectors.
Refine step definitions by locating contact form fields with css selectors or by name, enter first name, last name, email, and a message, then submit and verify message with xpath.
Implement and reuse a selenium web element located by xpath to assert the page message using cucumber with TestNG, including get text, assert equals, and pom.xml dependency updates.
DESCRIPTION
Are you an automation tester who wants to add Behaviour Driven Development (BDD) / Cucumber & Selenium WebDriver to your Resume?
Are you someone who has often heard of the phrases Cucumber or BDD… but has the slightest idea what these technologies are?
If you look at the majority of ‘QA Automation Testing Role(s)’ advertised online, most of them will require you to have knowledge and experience in BDD / Cucumber.
Conduct some self-research of your own and you will discover that Cucumber (BDD) & Selenium WebDriver are in very high demand in today’s market place!
WHY LEARN CUCUMBER BDD?
Cucumber (BDD) simplifies the requirement capturing process. Requirements can be captured, broken down and simplified effortlessly; making the captured requirements readable to anyone within the organisation and in turn providing the required details and backbone to develop accurate test cases also known as ‘Feature Files’.
Cucumber (BDD) simplifies the process of developing automation test scripts! Students enrolled within this course will see why!
Students will learn Cucumber BDD from a beginner’s level all the way to obtaining the knowledge to develop a small compact Cucumber BDD framework(s) of their own.
Cucumber is one of the BDD frameworks which is in very high demand. Search online for many automation testing roles and you will likely see BDD, Cucumber as a mandatory requirement!
WHY CHOOSE THIS COURSE?
You will have the ability to shadow the learning process every step of the way.
This course is structured in a way which will enable anyone with basic knowledge of Java and Selenium WebDriver to create basic to advanced Cucumber test(s) and even gain the ability to develop small compact Cucumber framework(s) from scratch.
If you have basic knowledge of Java and Selenium WebDriver and wish to further enhance your skills within Cucumber (BDD) and add another skill to your Resume then this course is for you!
WHAT WILL I LEARN?
Gain a greater understating of Selenium WebDriver 4 & JAVA.
Gradually learn and understand Cucumber (BDD) from a basic level.
What is Gherkin? How can we use Gherkin?
Become familiar with Cucumber Keywords, such as 'Given', 'When', 'And', 'Then'.
Understand what exactly are Feature File(s) & how to create Feature File(s).
Understand what are Step Definition Classes & how to create Step Definition Classes.
Java JDK and Apache Maven setup.
Become familiar with IntelliJ.
Learn Apache Maven.
Learn the importance of the Maven POM File.
How to simplify the update process (Dependencies) of your project.
Understand Browser Drivers; 'Chromedriver'.
Understand the importance of Cucumber Hooks.
And more!