Selenium Cucumber Java BDD Framework 1 - Setup | Step by Step | Raghav Pal

preview_player
Показать описание
Step 1, create a maven project: 0:00-3:12
Step 2, download maven dependencies: 3:13-6:53
Step 3, create file structure: 6:54-8:19
Step 4, 5, 6, create feature file: 8:20-17:20
Step 7: 17:21-19:19
Step 8, glue code: 19:20-27:38
Step 9, runner class: 27:39

Step 1 - Create a new maven project
Step 2 - Add maven dependencies
Cucumber Java | Cucumber JUnit | JUnit | Selenium Java
Step 3 - Create a folder Features under src/test/resources
Step 5 - Download cucumber plugin from Eclipse Marketplace
Step 6 - Create feature file and add contents
Feature
Scenario
Steps
Scenario Outline
Example
Tags
Comments
Step 7 - Try to run the feature file
Step 8 - Add Step Definitions / Glue Code under src/test/java package
Step 9 - Create a Runner class

@CucumberOptions(features="src/test/resources/Features",
glue={"StepDefinitions"})
public class TestRunner {
}

monochrome = true

plugin = { "pretty", "html:target/reports"}

Step 10 - Create Add Cucumber Options for generating reports
HTML | JSON | JUNIT/XML
Step 11 - Run and verify results

Never Stop Learning
Raghav Pal

GitHub Repositories

Hit Like and. Subscribe button, if you like this video. It gives me great motivation.

You can support my mission for education by sharing this knowledge and helping as many people as you can

Рекомендации по теме
Комментарии
Автор

In case you face issues generating HTML REPORT at 35:32 then under target folder manually create a folder named HtmlReports and in the code add the following:
plugin= {"pretty",
(names can be changed)

RaghavPal
Автор

. This is called Spoon feeding. You are a Super Start. God Bless you Raghava

rockya
Автор

I was following a similar tutorial from Edureka. Couldn't make heads or tails of what was happening there. Your video is very easy to understand sir.

pranoysingha
Автор

I started BDD tutorial with some other channel twice, yet I couldn't follow. You are such a gem in teaching. Thanks mate!

SenthilKumardevaraj
Автор

Hello Raghav, I would first like to thank you for all of your hard work and great tutorials, I've finished watched your beginners Selenium course. One point I'm happy to make is you're now choosing descriptive file names, everything on that course was "test1, test2, test3" etc., a great improvement. Keep up the great content!!

sakikogookheng
Автор

All the little mistakes you make during the presentation are brilliant for learning as one will invariably come across these kind of mistakes oneself.
You are easily the best most clear teacher on youtube. Excellent

fayser
Автор

One word for you sir " Fantastic" . each and every minute of your video enhance knowledge . Thank you So much .

jainneha
Автор

I wish I had found this video earlier in my testing career, this is really well done!!

johnnyyooooo
Автор

From the bottom of heart, I say thanks to you sir, my project was stuck, struggled for more than 3 days, atlast saw your video and got it cleared sir, thank you so much, please continue your great works sir

seenu
Автор

Fantastic Video Tutorial, anyone can learn BDD Framework after watching this single video.

prasannamundinkeri
Автор

Raghav you are an outstanding teacher, instructor! Learning is never boring or tiring with you! These lessons are great, the way you teach is wonderful! You are the person that can make the perfect more perfect! Thank you so much!

jackyun
Автор

Hello Raghav...it's very very useful to me..I searched lot of videos with respect to this concept but here is I'm impressed a lot..keep u posting more videos :)

Raghuchebolu
Автор

SUPER BRO THANKS A LOT,
ONE SMALL REQUEST WHO IS READING THIS COMMENT PLS DO NOT SKIP, THE ADDS, THIS IS THE LEAST WAY WE CAN HELP THIS BRO WHO IS REALLY WORKING HARD FOR US TO TEACH IN AN EAASY WAY

meghanathreddy
Автор

Just one word to say "AWESOME"

anilak
Автор

Hello Raghav! Thank you so much for this video. It is very helpful to understanding. I learned BDD framework only from your video. Since long times I was getting lots of errors but your explanation is awesome. Thanks a lot again!

juhipatel
Автор

Hi Raghav, The tutorial was extremely useful. I could easily follow and do it. This tutorial is strongly recommended for others and I will do it. Great work !!!

starSha
Автор

He simply the greatest Instructor. I pick him any day over the rest.

AC-vtnq
Автор

This is an excellent tutorial and I am so glad I found. It will familiarize you with everything you need to know to get started and give you a good foundation for learning more. Thanks so much!

lauragraham
Автор

Perfect systematic approach and explanation. Thank you. Waiting for following parts

rm
Автор

Your explanation are very clear, I wish I had teachers like you. Thanks from Brazil!

mojean