Тёмный

Page object Model with Cucumber BDD Framework - Part 8 

Naveen AutomationLabs
Подписаться 388 тыс.
Просмотров 134 тыс.
50% 1

Опубликовано:

 

19 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 118   
@jyotimishra3419
@jyotimishra3419 5 лет назад
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 5 лет назад
Thank you so much Naveen. Awesome explanation and very useful videos. Once again thank you for your efforts.
@chakrapani555
@chakrapani555 3 года назад
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.
@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
@jayeshkumar2815
@jayeshkumar2815 4 года назад
Thank you naveen
@LearnWithGajanan
@LearnWithGajanan 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.
@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.
@leunowx
@leunowx 6 лет назад
My all concepts cleared related to BDD cucumber, thanks a lot
@pradyumnnasatapathy8199
@pradyumnnasatapathy8199 6 лет назад
Hi Naveen , Possible then create a session for POM + TestNG with BDD
@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??
@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.
@ranjeetsinghrattanpal5394
@ranjeetsinghrattanpal5394 3 года назад
Good one. Quick brush-up.
@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.
@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.
@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?
@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
@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.
@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..????
@phanikumar9897
@phanikumar9897 4 года назад
Thank you Naveen
@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 ??
@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. ru-vid.com/group/PLFGoYjJG_fqpObjigKg4bunu6_Ki7Ppn-
@garimabhatia9259
@garimabhatia9259 6 лет назад
Hi, how can we run multiple test cases thru cucumber?
@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.
@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
@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?
@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?
@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
@Humani11
@Humani11 3 года назад
Hi Naveen, what might be the reason that I am not getting step definitions generated automatically under console?
@shubhashree3853
@shubhashree3853 6 лет назад
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 6 лет назад
shubha shree hi, it's not about what is important keyword here. U can use any of them to write your scenario.
@shubhashree3853
@shubhashree3853 6 лет назад
Can we use when , given , then keyword in any order? Can we skip anykeword in between?
@naveenautomationlabs
@naveenautomationlabs 6 лет назад
yes u can
@shubhashree3853
@shubhashree3853 6 лет назад
Thank you 😊
@mownikamahalingam9487
@mownikamahalingam9487 6 лет назад
Hi Naveen, you have created all the files in src/main/java... why we are not using src/test/java here?
@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.
@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 3 года назад
Yes you can
@VishalPatel-rg8xj
@VishalPatel-rg8xj Год назад
Can we extend StepDefinitions class? I read Stackoverflow it says stepDef class cannot extend another class
@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.
@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.
@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 :-)
@antoniomedina0405
@antoniomedina0405 3 года назад
thanks!!!
@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?
@sanjaychoudhary809
@sanjaychoudhary809 2 года назад
Aren't we add anything in the src/tets/java folder in cucumber
@rincyjaison4110
@rincyjaison4110 4 года назад
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
@dhamodharanthirunavukkarasu
@dhamodharanthirunavukkarasu 6 лет назад
Thanks Naveen
@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 .
@srinivasmuddappa9663
@srinivasmuddappa9663 5 лет назад
Hi Naveen, should the step def come under the src/test/java ????
@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)
@mohanapriyaravichandran7843
Hi naveen, I execute this same Bdd framework, Atlast I'm getting Null Pointer exceptions, Could You please give some idea
@mittalpatel4685
@mittalpatel4685 4 года назад
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 4 года назад
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
@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)
@bongsupporters7799
@bongsupporters7799 4 года назад
While executing login page class I'm getting null pointer exception, I think pagefactory. Initelements not getting property initialized
@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
@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.
@ashwinkallingal7387
@ashwinkallingal7387 6 лет назад
Hi Naveen.. thanks a lot for the video tutorial. Can you please explain the BDD with testNG.. thanks
@rishabhsrivastava4491
@rishabhsrivastava4491 5 лет назад
Hi , really very nice tutorial, please share the Git Repository for the same
@sendmereferral5916
@sendmereferral5916 4 года назад
HI.. Do you have video on Framework creation from Scratch using Selenium with Cucumber by which I mean, Base class creation, Test data, Page object creation .. I mean complete framework development.
@rohinivijaykumar19
@rohinivijaykumar19 5 лет назад
Hi Naveen, Can you please post one session on Cucumber, POM using Excel.
@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.
@manasnath7680
@manasnath7680 4 года назад
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 3 года назад
Glue is meant for step def package
@anjalinalavade7296
@anjalinalavade7296 5 лет назад
hi Naveen, Thanks for videos :) its helpful..................Can u please help for the extent reporting with cucumber with POM framework
@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
@vijayalosis4438
@vijayalosis4438 6 лет назад
How to make use of Scenario Outline: With Examples keyword using Page Object Model for passing the data?
@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.
@vineetpant6119
@vineetpant6119 6 лет назад
Hi naveen, could you please give some idea to how to integrate TestNg with BDD cucumber ?
@ashikalimaner
@ashikalimaner 6 лет назад
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?
@GeekyRabbit
@GeekyRabbit 4 года назад
Hi Naveen, can you pass on the link of the earlier POM session that you refer to in this 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??
@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.
@dineshdeore4740
@dineshdeore4740 4 года назад
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
@pratyeshgunjan7683
@pratyeshgunjan7683 5 лет назад
Hi Naveen , thanks for the KT session on this...any git repository 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?
@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
@sunilsahoo9543
@sunilsahoo9543 5 лет назад
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.
@ngogo9070
@ngogo9070 5 лет назад
Thanks Naveen, Is this project available on Git??
@user-oy8ye2zm6x
@user-oy8ye2zm6x Год назад
Why singleton pattern you didn't apply ?
@rajeshgenji4521
@rajeshgenji4521 5 лет назад
Hi Naveen, thanks for the vedio. Any way to download the project created by you in the vedios.
@vijayarema5375
@vijayarema5375 4 года назад
If we have multiple feature and step Def file how the feature file know which step Def file it should search for mapped functions
@sadanandkothari214
@sadanandkothari214 3 года назад
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
@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 ....
@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?
@ashokthejab9713
@ashokthejab9713 4 года назад
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
@ritabratanagchoudhury9550
@ritabratanagchoudhury9550 3 года назад
Can anybody please share the git hub link for this ???
@bharatvarshney2666
@bharatvarshney2666 6 лет назад
Hi Naveen sir, Please share the code of cucumber with page object model
@goknurbati3541
@goknurbati3541 5 лет назад
Thanks Naveen. If it's possible could you share the git addressof the project.
@thummala005
@thummala005 6 лет назад
Hi naveen can we execute it from pom.xml file
@rathinitin87
@rathinitin87 4 года назад
Hi Naveen, Grt session, Plz share github link for video 8
@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
@drissbiaz7229
@drissbiaz7229 6 лет назад
Hey naveen, please Can you share this code with us because it's very helpfull , thanks
@shantanudeshpande8314
@shantanudeshpande8314 6 лет назад
Hi Naveen, Can you please share the code of this video
@yogeshbanediya1755
@yogeshbanediya1755 5 лет назад
please share github link for part 8. Thanks
@rameshbabu-ku3pd
@rameshbabu-ku3pd 4 года назад
anyone pease share me the githib link naveen please need githib link for pom with bdd
@RakeshSingh-mc9pc
@RakeshSingh-mc9pc 4 года назад
Anybody getting null pointer exception while trying this
@sasi11889
@sasi11889 5 лет назад
Can u pls send the github link for the code
@anujashinde8074
@anujashinde8074 4 года назад
Hello Naveen , Please share this code on git
@VishalPatel-rg8xj
@VishalPatel-rg8xj Год назад
what you need to do guys?
@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
Просмотров 85 тыс.
У НАС ДОМА ЗАВЕЛАСЬ КРЫСА 🐀
01:00
WHO IS MORE GREEDY?!
00:18
Просмотров 1,1 млн
What is JUnit? | Why Mockito?
14:38
Просмотров 369 тыс.
У НАС ДОМА ЗАВЕЛАСЬ КРЫСА 🐀
01:00