Skip to toolbar
3.9 out of 5
3.9
74 reviews on Udemy

Java Selenium Cucumber Framework Part 2

continue with creating automation tests with selenium, java and cucumber and run them as cucumber, testNG and maven test
Instructor:
Maroš Kutschy
5,324 students enrolled
students will be able to create automation test using Page Object Model and Page Factory within java selenium cucumber framework, run tests as Cucumber test from IntelliJ Cucumber for Java plugin, run it as testNG test from textNG xml file and run it as maven build from maven pom xml file

This is second part of Java Selenium Cucumber Framework Tutorial. 

I recommend to watch first free part of the training before this course:

Java Selenium Cucumber Framework Part 1 (details about this course are in Lecture 2 which is a free preview)

In Java Selenium Cucumber Framework Part 2 we will learn how to :

– create cucumber test written in Gherkin using Java Selenium Cucumber automation framework which we will continuously build during the course. 

– create Java Glue Code (Step definitions)

– create Java Page Object Model and Page Factory  with Java and Selenium Webdriver

– identify elements on web page using Chrome Developer tools 

– build xpaths for identifying elements

– create test for login to Facebook

– use basic Selenium commands

– run test as Cucumber test using Cucumber for Java plugin in IntelliJ

– create java runner, call it from from TestNG xml file and run test as TestNG test

– adjust maven pom xml file, create maven command to run the test and run test as maven build

Create Test and Run it via Cucumber IDEA IntelliJ Plugin

1
Introduction to Java Selenium Cucumber Automation Framework

This is introduction to Java Selenium Cucumber Framework

I recommend to watch first part of the training before this course:

Java Selenium Cucumber Framework Part 1:

https://www.udemy.com/java-selenium-cucumber-framework-season-1-first-encounter

2
General Glue Code - create @Before and @After methods

In this lecture we will adjust General Glue Code (Step definitions) - we will create @Before and @After methods

I recommend to watch first part of the training before this course:

Java Selenium Cucumber Framework Part 1:

https://www.udemy.com/java-selenium-cucumber-framework-season-1-first-encounter


3
Feature File - create Facebook Login Scenario with specified credentials

In this lecture we will create Facebook Login Scenario with specified credentials

4
Facebook Glue Code - create methods for steps from feature file

In this lecture we will create Facebook Glue Code - methods for steps from feature file


5
Page Object Model - create class for Facebook Login Page

In this lecture we will create class for Facebook Login Page according to Page Object Model

6
Identify elements via Chrome Developer tools

In this lecture we will learn how to dentify elements via Chrome Developer tools

7
Create java class for Basic Selenium actions

In this lecture we will create java class for Basic Selenium actions

8
Page Object Model - create class for Facebook Wellcome page

In this lecture we will create class for Facebook Wellcome page within Page Object Model

9
Run Test via Cucumber for Java IDEA Plugin

In this lecture we will run our test via Cucumber for Java IDEA Plugin

Preparation for running test via TestNG

1
Create java test Runner

In this lecture we will create java test Runner

2
Create java Test Default Values file

In this lecture we will create Test Default Values java file

3
Adjust Glue Code according to java Runner and Test Default Values file

In this lecture we will adjust Glue Code according to java Runner and Test Default Values file

4
Create test suite - testNG xml file with hard-coded values

In this lecture we will create test suite - testNG xml file with hard-coded values

5
Run Test via testNG xml file using java Runner, run it on Chrome and Firefox

In this lecture we will run Test via testNG xml file using java Runner, we will run it on Chrome and Firefox

Preparation for running test as Maven build

1
Create test suite - testNG xml file with parametrized values

In this lecture we will create test suite - testNG xml file with parametrized values

2
Adjust maven pom xml file to use testNG xml file

In this lecture we will adjust maven pom xml file to use testNG xml file

3
Create maven run configuration in IDEA with maven commands

In this lecture we will create maven run configuration in IDEA with maven commands

4
Run Test as maven build via maven run configuration

In this lecture we will run the  test  as maven build via maven run configuration

Summary and Future

1
Summary of the course

In this lecture we will summarize the course

2
What will be in next parts of tutorial

In this lecture we will see what will be in the next parts of the tutorial

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
3.9
3.9 out of 5
74 Ratings

Detailed Rating

Stars 5
19
Stars 4
33
Stars 3
18
Stars 2
2
Stars 1
2
30-Day Money-Back Guarantee

Includes

3 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion
WP Twitter Auto Publish Powered By : XYZScripts.com