
Learn the Cucumber framework with Selenium WebDriver and Java from an experienced instructor who shares industry exposure, course goals, and how to engage via Udemy discussions and YouTube updates.
Explore environment setup, cucumber framework concepts, css and xpath locator strategies, selenium webdriver basics, page object model, data driven and keyword driven frameworks, database connectivity and Jenkins.
Set up the Java development kit (JDK 1.8) on your system by downloading, installing, and configuring JAVA_HOME and PATH, then verify with java -version and javac -version.
Download the Maven binaries from the official website, unzip them, and set mvn_home and path so mvn -version confirms Maven is found.
Set up TestNG by downloading a test jar from Maven repository and installing the test plugin in Eclipse via help > install new software, then restart to complete the integration.
Explore behavior driven development by comparing it with test driven development, and see how acceptance criteria in plain English become BDD scenarios mapped to step definitions.
Explore the Gherkin language used for acceptance tests in the Cucumber framework, learn how its English-like syntax relies on a defined set of keywords, and preview each keyword's significance.
Learn how to structure cucumber feature files with feature, scenario, given, when, then, and, end keywords, including preconditions, actions, outcomes, and the .feature file extension.
Explore behavior-driven development with cucumber for java. Install cucumber plugins in eclipse via the eclipse marketplace, including the cucumber jvm eclipse plugin.
Create a Maven project, configure cucumber dependencies in the pom.xml, and download the required jars from the Maven repository to add to the project classpath.
Learn to implement behavior-driven tests with cucumber and Java by creating a feature file and step definitions, organizing packages, and modeling post and video post scenarios.
Discover how the Tidy Gherkin chrome plugin automatically generates step definitions from your Cucumber feature file, streamlining the BDD workflow.
Generate java step definitions from a feature file using the tidy gherkin plugin in eclipse, create post step definition class, fix imports, and use find step to map steps.
Create a JUnit runner for Cucumber using @RunWith(Cucumber.class) and CucumberOptions to specify features and glue, then run the runner as a JUnit test.
Explains gherkin keywords like background, scenario outline, and but used for negative conditions, showing how to reuse common steps and generate multiple data sets with examples.
Master data-driven testing with cucumber data tables in a login feature, mapping rows and columns to a list of string lists and iterating to display values.
Modify argument values at runtime with step argument transform in cucumber by building a transformer, overriding the transform method, and using the @Transform annotation in step definitions.
Learn how Cucumber hooks automatically run before and after each scenario to enable resource initialization and cleanup, and configure them in the runner as with unit test before/after annotations.
Implement before and after hooks in cucumber by creating a hooks package with a GeneralHooks class and using @Before and @After annotations, and configure the runner for each scenario.
Inject the scenario object into hooks to access runtime information like scenario name and status, using getName and getStatus from cucumber.api in a bdd setup with selenium webdriver and java.
Explore dependency injection in the cucumber framework, where the framework creates a dependency object and injects it into the dependent class, using the Pico container and constructor injection.
Explore dependency injection in Cucumber with constructor injection, injecting a base class into a post step definition via the pickle container, and access feature and scenario names.
Create a class and extend it from the abstract test Cucumber test to build a TestNG runner, using the cucumber options annotation to configure the feature location and step definitions.
This lecture demonstrates converting a Cucumber data table to a list of strings by appending row values, then iterating the list to print formatted output.
Explore scenario outline in cucumber framework to replace multiple data tables with a single example data table that feeds all steps, enabling data driven testing.
Learn to implement a cucumber scenario outline with data driven testing, generate step definitions via a dry run, and execute across multiple example data rows.
Learn core XPath concepts for Selenium: tags and nodes, root and parent-child relationships, immediate and indexed children, dot and double dot navigation, and attribute-based selection using //, /, and [@attr='value'].
Learn to build XPath queries with and, or, and equals, use contains, text, start with, normalize-space, and index functions, and distinguish absolute from relative XPath for reliable web element selection.
Learn to locate xpaths for text fields, buttons, checkboxes, hyperlinks, and radio buttons using Firebug and Firepath, including id, name, and combined attributes, with verification and avoiding duplicates.
Learn to locate elements with CSS selectors in Selenium, including direct child and sub-child patterns, attribute selectors, and ID and class shorthand.
Learn to use access view and descendant access view to write robust xpaths for dynamic attributes. Anchor a current node and filter by child, grandchild, and position to locate elements.
Explore following axis and descendant axis in XPath to locate elements relative to a reference node, handle dynamic IDs, and refine selections with position, last, and parallel nodes.
Learn how to locate web elements using the ancestor axis in XPath, including parent and ancestor selections, following-sibling and position, and compare with the descendant axis.
Explore preceding axis view in XPath, selecting same-level nodes above the current node using a form node as reference, with preceding-sibling filters and descendant axes to reach a hyperlink.
Install the ranorex velocity chrome extension to identify and validate web element locators as an alternative to firebug, using css, link text, or xpath with auto detect.
Set up selenium webdriver in a cucumber framework using Java with a Maven project for dependency management, then execute tests via main method and test framework.
Set up a Maven project and manage Selenium and testing dependencies in the pom.xml via the dependency tag; Maven downloads jars and sets the classpath.
Set up a Maven project for selenium webdriver by adding selenium support and cucumber dependencies to pom.xml, remove junit, remove duplicate selenium and test entries, and select JDK 1.8.
This course is all about BDD concept and its implementing framework Cucumber. The course is divided into different section, which helps student to learn the concept step by step. The also covers concept of Selenium web driver and its integration with cucumber frame work. Which is java implementation of BDD concept.
The course starts with cucumber concept, then web driver concept and later integration of both the framework. The course also teaches how to leverage the advantage of both the framework.
In this course you get to known about the latest tools and technology used in market for automation. And this add a lot of value to your skills. Such as Testng, Maven etc.
The course also discusses about the continuous integration, which is a common process in all the company for automation. As well the different types of framework used in the market for the automation.
You will also learn, about the stranded practice which are used for automation.
The Course will be also updated with new topics and tool which available in market.
Bonus Lecture :- This course will also be covering about testing of AngularJs application.