Page object Model with Cucumber BDD Framework - Part 8

  Рет қаралды 135,024

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Пікірлер: 118
@jyotimishra3419
@jyotimishra3419 6 жыл бұрын
Got a lot of great knowledge about Cucumber ..Prior to watch ur cucumber series ,I was very worried about learning this ,but after watching all 8 vdos of cucumber ,I am feeling so easy.. Thanks Naveen , thanx a ton for explaining the things in such ait manner that it make us understand so easily...Please do post more an dmore vdo of cucumber if any...
@vigneshiyer1765
@vigneshiyer1765 4 жыл бұрын
Wish everyone had a teacher like you!!! Not sure if i will ever get the opportunity to personally meet you and say thank you to you, but please consider this Thank you so much for all the efforts that you put in to create such detailed awesome videos. Many many people like me are benefitted. Hope god continues to give you the strength and so many good things in life for doing this!!! Really inspired by you!! 😇
@GettingByWithAman
@GettingByWithAman 5 жыл бұрын
Thank you naveen, your videos really helped prepare for interviews and land job offers in the US. Hiring team was really impressed and put me on two projects one I have to contribute automation in cucumber bdd other I have to setup from scratch(one week in). Facing a few obstacles now but hopefully will over come that. thank you :)
@kadurimahesh9747
@kadurimahesh9747 6 жыл бұрын
Thank you so much Naveen. Awesome explanation and very useful videos. Once again thank you for your efforts.
@chakrapani555
@chakrapani555 4 жыл бұрын
Thanks Naveen... Your whole videos on Cucumber BBD framework gave me enough confidence to start working on this. I had purchased the courses from different trainer and somehow I was not confident until i watched these.
@pradyumnnasatapathy8199
@pradyumnnasatapathy8199 6 жыл бұрын
Hi Naveen , Possible then create a session for POM + TestNG with BDD
@meghasandesam
@meghasandesam 5 жыл бұрын
You done complete KT on Cucumber, great explanation and i got complete picture on this subject.Thank You Naveen.
@naveenautomationlabs
@naveenautomationlabs 5 жыл бұрын
Thanks for watching
@MakeLearingEasy
@MakeLearingEasy 4 жыл бұрын
Such great tutorial on Cucumber It's great experience to learn from you. It was my first playlist from channel, Now will watch all yours playlists. Thank you Naveen.
@jayeshkumar2815
@jayeshkumar2815 4 жыл бұрын
Thank you naveen
@Traderxyz12345
@Traderxyz12345 7 жыл бұрын
My all concepts cleared related to BDD cucumber, thanks a lot
@ranjeetsinghrattanpal5394
@ranjeetsinghrattanpal5394 4 жыл бұрын
Good one. Quick brush-up.
@nidhimishra5826
@nidhimishra5826 4 жыл бұрын
In this video, you have kept all your code under src/main/java. Do we need to follow any standard as where to keep the code in src/main/java or src/test/java??
@tejaswiniurs5870
@tejaswiniurs5870 3 жыл бұрын
Thanks for explaning soo well Naveen. After logging into home page to check the "valid user is displayed", I think you missed "driver.switchTo().frame("mainpanel");" so it was showing up error. I learnt this from your videos itself. Once again Thanks to your channel. Its very helpful. Watching Your playlist and practicing is the best thing i am doing to learn better. This is the best Channel.
@Open-Media
@Open-Media 3 жыл бұрын
in the video you said you have already explained page object model and the codes in other class/video. could you provide the URL of the Video in which you explained the page object and developed those codes.
@farhadali92
@farhadali92 6 жыл бұрын
Hi naveen, I have learned so much from you. So thank you for your knowledge sharing. Can I please request you to make a detail tutorial about serenity BDD also. It will benefit a lot of people inclining myself.
@mittalpatel4685
@mittalpatel4685 5 жыл бұрын
Hi Naveen, In this video at 34:03 mins what you explained that just by extending parent class it will call it's constructor. But I think that's not correct, right? Until the object is created for TestBase, its constructor is not called. That's the issues I guess you were facing later on the code...
@vijairaju
@vijairaju 5 жыл бұрын
You are correct, that’s where iam banging my head , is anyone able to find and comment ,without object how the test base constructor is intialised
@GeekyRabbit
@GeekyRabbit 4 жыл бұрын
Hi Naveen, can you pass on the link of the earlier POM session that you refer to in this video ?
@shradhanjalinayak4887
@shradhanjalinayak4887 3 жыл бұрын
Thank you For sharing knowledge regarding automation. But I did not find any video session of Login and quit driver using @Before and @After For framework?
@naveenautomationlabs
@naveenautomationlabs 3 жыл бұрын
Watch this full series on latest cucumber new features. kzbin.info/aero/PLFGoYjJG_fqpObjigKg4bunu6_Ki7Ppn-
@VishalPatel-rg8xj
@VishalPatel-rg8xj Жыл бұрын
Can we extend StepDefinitions class? I read Stackoverflow it says stepDef class cannot extend another class
@Humani11
@Humani11 3 жыл бұрын
Hi Naveen, what might be the reason that I am not getting step definitions generated automatically under console?
@joshipd18
@joshipd18 5 жыл бұрын
Thanks naveen its awesome videos to under stand the framework. your video helps us to promote to work into automation. I have 1 request regarding Cucumber with Excel Parameter passing. if you will give 1 demo on it then we will be very much grateful to you. Always Thanks Naveen.for each session.
@saranshagrawal9211
@saranshagrawal9211 3 жыл бұрын
Hi Naveen Sir.. I didn't get the reason why you wrote create object line under the method instead at class level. I saw some exception but can you please explain once.
@garimabhatia9259
@garimabhatia9259 6 жыл бұрын
Hi, how can we run multiple test cases thru cucumber?
@ajeesrahman5362
@ajeesrahman5362 3 жыл бұрын
hi.. naveen, i tried to run my project as maven test.. i'm getting this error... *Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test* i'm using eclipse 18-09 and java version 16.0.1 in pom file : org.apache.maven.plugins maven-surefire-plugin 3.0.0-M5 org.apache.maven.surefire surefire-junit47 3.0.0-M5
@sanjaychoudhary809
@sanjaychoudhary809 2 жыл бұрын
Aren't we add anything in the src/tets/java folder in cucumber
@navenreddyaleti7446
@navenreddyaleti7446 5 жыл бұрын
Very good series Naveen ...Thanks a lot and can you make videos for mobile testing with appium+java please if possible ... Thanks
@mownikamahalingam9487
@mownikamahalingam9487 6 жыл бұрын
Hi Naveen, you have created all the files in src/main/java... why we are not using src/test/java here?
@muzammil9482
@muzammil9482 3 жыл бұрын
Hi Naveen, for expected values instead of passing it from excel(which is TDD) don't we have to pass it from feature file to achieve data driven concept as you have told..????
@kaurprabhleen89
@kaurprabhleen89 4 жыл бұрын
Hi Naveen , Let's say if we have another step where we need to call loginPage method, do we have to create object again or the same that has been created in earlier step will work ? Also if we have to create objects of page classes again and again , is there a way to initialize object just once.
@phanikumar9897
@phanikumar9897 4 жыл бұрын
Thank you Naveen
@SunilPatel-jd9er
@SunilPatel-jd9er 2 жыл бұрын
Hey naveen, in tdd frame work we used super class to get property from testbase class, even-though we used extends but in bdd we didn’t use super class still it’s working. Is there any concept for that?
@bongsupporters7799
@bongsupporters7799 4 жыл бұрын
While executing login page class I'm getting null pointer exception, I think pagefactory. Initelements not getting property initialized
@shail92757
@shail92757 4 жыл бұрын
Thanks for Video. Question : Everytime we change feature file name in runner file to run particular scenario. but what if there are multiple feature files. how to run it from runner then? And how it actually runs/manage in the industry, are they created multiple feature files? are they run automation by clicking on runner file only? or they created job for it to execute whole regression suit?
@perfect-x2p
@perfect-x2p Жыл бұрын
Why singleton pattern you didn't apply ?
@nikitakothari3592
@nikitakothari3592 3 жыл бұрын
Thanks a lot. You really explain well and in a simple way. Can you please make a video on Puppeteer Page Object Model with Cucumber Framework?
@oindrilachakraborty8348
@oindrilachakraborty8348 6 жыл бұрын
Hi Naveen Please make two separate videos regarding Cucumber with TestNG - 1. How to read data from Excel in place of Example keyword where the data can be used in multiple steps. 2. How to generate Extent Report v3.0.5+ using TestNG runner file in Cucumber. Thanks in advance.
@arthikumar7373
@arthikumar7373 4 жыл бұрын
Thanks for this detailed explanation Naveen. Please upload the code in your git. I am not able to find this project in your repository.
@srinivasmuddappa9663
@srinivasmuddappa9663 5 жыл бұрын
Hi Naveen, should the step def come under the src/test/java ????
@mohanapriyaravichandran7843
@mohanapriyaravichandran7843 2 жыл бұрын
Hi naveen, I execute this same Bdd framework, Atlast I'm getting Null Pointer exceptions, Could You please give some idea
@nrravitej2498
@nrravitej2498 5 жыл бұрын
HI Naveen, I am facing some issue, when i am using hooks and background . With multiple features files and Background in them, @Before and @After are working differently. Execution happens in this order @Before, Scenario,Background,@After @Before, Scenario,Background,@After. Please suggest what should i do
@shubhashree3853
@shubhashree3853 7 жыл бұрын
Hi Naveen, in feature file only "Given" and "Then" keywords are used.. not used " when " keywords.. when keyword is not important can we skip that keyword?
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
shubha shree hi, it's not about what is important keyword here. U can use any of them to write your scenario.
@shubhashree3853
@shubhashree3853 7 жыл бұрын
Can we use when , given , then keyword in any order? Can we skip anykeword in between?
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
yes u can
@shubhashree3853
@shubhashree3853 7 жыл бұрын
Thank you 😊
@harishkumarnn4953
@harishkumarnn4953 4 жыл бұрын
Hi Naveen, really nice video and got very good knowledge. Thankful for this. Can you please upload the same for Appium also. BDD with page object model design.
@suhasch12
@suhasch12 5 жыл бұрын
Hi Naveen, when I'm trying to install Cucumber on latest Eclipse it's not working, is there any other was to get it fixed and implement cucumber + Feature file software on latest Eclipse
@pratyeshgunjan7683
@pratyeshgunjan7683 5 жыл бұрын
Hi Naveen , thanks for the KT session on this...any git repository for this ?
@dineshdeore4740
@dineshdeore4740 5 жыл бұрын
Hi Naveen...could you please make video on how to run regression suite in cucumber testNG....and in your previous videos you have commented the step definition file...how we can map the feature file with step definition
@rohinivijaykumar19
@rohinivijaykumar19 5 жыл бұрын
Hi Naveen, Can you please post one session on Cucumber, POM using Excel.
@nirbhaydeeptrigunayat1767
@nirbhaydeeptrigunayat1767 5 жыл бұрын
Hi naveen sir Can make a separate video for BBD+testNG, how can use extend reports and itestlistener in page object model (cucumber)
@vineetpant6119
@vineetpant6119 7 жыл бұрын
Hi naveen, could you please give some idea to how to integrate TestNg with BDD cucumber ?
@ramya3710
@ramya3710 6 жыл бұрын
Hi Naveen, What code we should add in runner.java file if we want to run this using TestNg instead of junit
@rincyjaison4110
@rincyjaison4110 5 жыл бұрын
Hello Naveen, Thanks for the informative video. Could you pls clarify my query.After adding steps in stepdefinition file and making the dry run as false , still I get implement missing steps to be implemented , although it executed successfully initially
@arkaimps
@arkaimps 6 жыл бұрын
Hi Naveen Is it always necessary in POM, a method has to return the object of the Next redirecting Page... Reason why I am asking: If i have method of search() and that method will proceed different page depending upon the Search value given..then how to return mutliple or selective object?
@vijayalosis4438
@vijayalosis4438 6 жыл бұрын
How to make use of Scenario Outline: With Examples keyword using Page Object Model for passing the data?
@manish89arya
@manish89arya 5 жыл бұрын
Hey Naveen, I am unable to understand how can I use Page object reference (containing my actual page objects) in my StepDefinitions class, since its extending my TestBase (in my case its PUNBase) I am getting below exception ? Exception in thread "main" cucumber.runtime.CucumberException: You're not allowed to extend classes that define Step Definitions or hooks. class stepdefinitions.RequestPaymentSteps extends class util.PUNBase at cucumber.runtime.java.MethodScanner.scan(MethodScanner.java:63) at cucumber.runtime.java.MethodScanner.scan(MethodScanner.java:41) at cucumber.runtime.java.JavaBackend.loadGlue(JavaBackend.java:86) at cucumber.runtime.Runtime.(Runtime.java:92) at cucumber.runtime.Runtime.(Runtime.java:70) at cucumber.runtime.Runtime.(Runtime.java:66) at cucumber.api.cli.Main.run(Main.java:35) at cucumber.api.cli.Main.main(Main.java:18)
@gillandy6073
@gillandy6073 6 жыл бұрын
Hi Naveem, Thank you so much for your training videos. I have a question and the question this, is POM a requirement for BDD Framework? or is it a necessity to design a BDD Framework with POM? and if we integrate BDD with POM , with TestNg and Extent report, do we still need the Cucumber tags and hooks? Please, kindly respond.
@SanjeevKumar-np7sj
@SanjeevKumar-np7sj 5 жыл бұрын
I have three ya more feature file and step definitions so i want to run these files in a sequence order. eg.order1.feature,Order2.feature,Order3.feature first I want to run order2 then order3 ,,,order1 in this way any suggestion.. How can b set the priority in cucumber bdd like testng.
@vimalmishra8693
@vimalmishra8693 6 жыл бұрын
Hi Naveen , first i would like to say many thanks for this course. It invaluable and exceptional ! Would be great if i can get Page object Model with Cucumber BDD Framework . what is your repository link to download it please. Many thanks in advance .
@thirumurugan6242
@thirumurugan6242 4 жыл бұрын
It's very awesome.. it's very really helpful for beginners along with pom meodel used in cucumber... I have small doubt . Can we create a multiple feature file and stepdefinition ? @Naveen AutomationLabs Thanks a lot :)
@Findmanish09
@Findmanish09 4 жыл бұрын
Yes you can
@SeekerShivG
@SeekerShivG 3 жыл бұрын
Hi Naveen you are doing great job, your videos are very much in detail. I have learnt many things here on your channel. Big Fan. I am facing some issue in my framework I hope you can help me. ->" How to write wrapper method for explicit wait in utility package in page factory design pattern. As we knw page factory initialize elements but explicitwait takes By reference as parameter ??
@rajeshgenji4521
@rajeshgenji4521 5 жыл бұрын
Hi Naveen, thanks for the vedio. Any way to download the project created by you in the vedios.
@amitasaraf832
@amitasaraf832 4 жыл бұрын
Thanks Naveen...this series is very helpful . however freecrm site is not working. so i am using classic.freecrm.com but unable to login to practice this code. Please help ....
@anujjain693
@anujjain693 6 жыл бұрын
Hi Naveen, All video is very helpful for me. I have one issue in my framework when I write format={"preety","html:test-output","json:json_output/cucumber.json","junit:junit_xml/cucumber"} then i got the initilizationError but when i comment format then my code is working file
@ngogo9070
@ngogo9070 5 жыл бұрын
Thanks Naveen, Is this project available on Git??
@ashikalimaner
@ashikalimaner 7 жыл бұрын
Hi Naveen, My requirement is that i am keeping my step Definition code in other Java Project and my runner class is in other java project.. I am not able to call step definition provided in other java project.. Please help how can i achieve the same?
@Ashokkumarg8
@Ashokkumarg8 6 жыл бұрын
Hello Naveen, This question is not related to this video. But still I wanted to ask this. To perform parallel execution in Cucumber which one would be the best Cucable or Cucumber - JVM- parallel plugin.
@bischoffdev
@bischoffdev 6 жыл бұрын
As the author of Cucable I would say Cucable :-)
@manojkuruppathrajan7852
@manojkuruppathrajan7852 6 жыл бұрын
have you uploaded any video for BDD Cucumber with TestNG Framework and creation of Extent Report using Hooks. I have searched a lot , I am not getting any video.
@sandeepreddy1413
@sandeepreddy1413 5 жыл бұрын
Hi Naveen, Very good videos, Please can you advise how and where can we place the output value in BDD framework/Feature file??
@dhamodharanthirunavukkarasu
@dhamodharanthirunavukkarasu 6 жыл бұрын
Thanks Naveen
@rishabhsrivastava4491
@rishabhsrivastava4491 5 жыл бұрын
Hi , really very nice tutorial, please share the Git Repository for the same
@srikantha.s1263
@srikantha.s1263 5 жыл бұрын
Hi Naveen, Thanks for a brilliant video. Can you please let us know how to design multiple scenarios in one feature file and in one step definition.
@ksdnsdkumar1375
@ksdnsdkumar1375 2 жыл бұрын
Using tags you can design multiple scenarios in one feature file and in one step definition.
@ashwinkallingal7387
@ashwinkallingal7387 6 жыл бұрын
Hi Naveen.. thanks a lot for the video tutorial. Can you please explain the BDD with testNG.. thanks
@anjalinalavade7296
@anjalinalavade7296 6 жыл бұрын
hi Naveen, Thanks for videos :) its helpful..................Can u please help for the extent reporting with cucumber with POM framework
@vijayarema5375
@vijayarema5375 5 жыл бұрын
If we have multiple feature and step Def file how the feature file know which step Def file it should search for mapped functions
@antoniomedina0405
@antoniomedina0405 3 жыл бұрын
thanks!!!
@sadanandkothari214
@sadanandkothari214 4 жыл бұрын
Can any one tell me if we are creating Feature package inside srcmainjava, then what is the use of srctestjava? can we create feature package inside testjava
@manasnath7680
@manasnath7680 5 жыл бұрын
How to run multiple feature files? What should I mention in glue= {?} ? eg: feature1, feature2 and feature3 in one package. Also step definitions are 3 so how to run?
@Findmanish09
@Findmanish09 4 жыл бұрын
Glue is meant for step def package
@sunilsahoo9543
@sunilsahoo9543 6 жыл бұрын
If possible could you please share the git code..
@arafatahmed6803
@arafatahmed6803 4 жыл бұрын
Yeah. Same request from my side too. Make our life a little easier.
@shreyuandhiscreations4800
@shreyuandhiscreations4800 6 жыл бұрын
Really informative.. Thanks for Sharing. I have a question. Currently i am building maven with POM using cucumber. I am designing a feature file for every step defination file with specific to that page. e.g 1] login_page.jave - login_feature.feature - login_step_defination.java 2]home_page.java - Home_feature.feature - home_step_defination.java like so...... how to manage above files? is there any better way to reuse code?
@bharatvarshney2666
@bharatvarshney2666 6 жыл бұрын
Hi Naveen sir, Please share the code of cucumber with page object model
@goknurbati3541
@goknurbati3541 6 жыл бұрын
Thanks Naveen. If it's possible could you share the git addressof the project.
@ashokthejab9713
@ashokthejab9713 5 жыл бұрын
Hi sir, its very helpful, Thank you, and the issue we got in "Validate logged in username" method is not switching into frame and i know its a silly find.
@shameem132
@shameem132 5 жыл бұрын
can we implement test data from excel using hashmap in cucumber ....please make one vedio for this...thank you...
@shabnashaikh7347
@shabnashaikh7347 5 жыл бұрын
Yes .. we need one video related to how to read excel data using hashmap
@thummala005
@thummala005 7 жыл бұрын
Hi naveen can we execute it from pom.xml file
@ritabratanagchoudhury9550
@ritabratanagchoudhury9550 3 жыл бұрын
Can anybody please share the git hub link for this ???
@oindrilachakraborty3005
@oindrilachakraborty3005 6 жыл бұрын
Hi Naveen. Please upload a video of using Cucumber with TestNG Framework and creation of Extent Report using Hooks. I need it urgently. If you upload a video regarding the same it will help a lot of people like me. Thanks.
@zianina2118
@zianina2118 6 жыл бұрын
Hi are you done it?
@shantanudeshpande8314
@shantanudeshpande8314 6 жыл бұрын
Hi Naveen, Can you please share the code of this video
@rathinitin87
@rathinitin87 4 жыл бұрын
Hi Naveen, Grt session, Plz share github link for video 8
@yogeshbanediya1755
@yogeshbanediya1755 6 жыл бұрын
please share github link for part 8. Thanks
@naveenreddy.dommata
@naveenreddy.dommata 6 жыл бұрын
Hi Naveen, can you please upload video on cucumber with TestNG
@zianina2118
@zianina2118 6 жыл бұрын
yes i need also test NG allure and cucumber as architecture and for page object without find By my xpath are in excel files
@sasi11889
@sasi11889 5 жыл бұрын
Can u pls send the github link for the code
@anujashinde8074
@anujashinde8074 5 жыл бұрын
Hello Naveen , Please share this code on git
@drissbiaz7229
@drissbiaz7229 6 жыл бұрын
Hey naveen, please Can you share this code with us because it's very helpfull , thanks
@rameshbabu-ku3pd
@rameshbabu-ku3pd 4 жыл бұрын
anyone pease share me the githib link naveen please need githib link for pom with bdd
@VishalPatel-rg8xj
@VishalPatel-rg8xj Жыл бұрын
what you need to do guys?
@RakeshSingh-mc9pc
@RakeshSingh-mc9pc 4 жыл бұрын
Anybody getting null pointer exception while trying this
@sumayazamasyed8982
@sumayazamasyed8982 6 жыл бұрын
Please upload this code on git...
@hasanrakibul97
@hasanrakibul97 4 жыл бұрын
This is not good practice because you could’ve created one page object class and keep all the locators in java class
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
Keeping all the locators in one java class, is not at all a good approach for maintenance and performance point of view. You need to keep locators and page actions in the respective page class as per Martin flower- the creator of page object model.
@hasanrakibul97
@hasanrakibul97 4 жыл бұрын
Im talking in sense of multiple applications testing. In that case I can create one page object class for each app..
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
That's also a wrong approach. You will not have one single page in each app. Each app will have mutiple pages. Anyways, really don't understand how will it help you to create one page class for multiple apps.
@hasanrakibul97
@hasanrakibul97 4 жыл бұрын
Naveen AutomationLabs thanks Naveen for replying and well it works both ways I guess, but u know better than me. So I will appreciate it if u can tell me if I can automate pdf files? Thanks , best
Cucumber BDD with TestNG Framework - Part 9
21:37
Naveen AutomationLabs
Рет қаралды 86 М.
Selenium Cucumber BDD Framework with Java and TestNG | Page Factory
32:59
SDET Adda For QA Automation
Рет қаралды 7 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
What are Cucumber Tags? - Part 6
30:59
Naveen AutomationLabs
Рет қаралды 76 М.
Page Object Model in Selenium Webdriver Step by Step Guide
31:21
Mukesh otwani
Рет қаралды 467 М.
Selenium Cucumber Java BDD Framework 7 - Page Factory | Step by Step
33:01
Automation Step by Step
Рет қаралды 106 М.
Selenium Cucumber BDD Framework with Java and TestNG - Page Object Model | POM
24:59
SDET Adda For QA Automation
Рет қаралды 11 М.
Selenium with Cucumber 7.x - Java BDD Framework - Mini Project | Crash Course
46:56
Page Object Model in Playwright
29:17
CommitQuality
Рет қаралды 27 М.
Complete Page Object Model (POM) using Page Factory in Selenium
31:04
Mukesh otwani
Рет қаралды 276 М.
Cucumber - jvm (Cucumber Options) with Selenium WebDriver - Part 2
28:35
Naveen AutomationLabs
Рет қаралды 159 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН