Page object Model with Cucumber BDD Framework - Part 8

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Holloway's welcome to Naveen automation laps so guys uh one of the important topic is finding that with respect to t Kimber with most of the features of Kitumba we have already covered one important thing is that how to implement cucumber with page object modify this is the question that most other people are asking that how to implement the same thing the same design pattern with cucumber we have done the same thing with respect to test Genji in the form of TDD framework now how exactly we can implement page object model in Kitumba in the form of bdd framework approach will remain same concept will remain same if you use your concept just like the edge object model the exact same concept we have to do it in remember with page object models okay so let's first draw a Venn diagram so that we will follow the same thing and then we will implement in the form of coding right that is the best approach now as we know that okay in page object model if you remember that we have created one base class like this is the base page club remember test baseless in which we will initialize or webdriver and everything let's see whatever the webdriver where you want to launch the browser which specific browser you want to launch we will be using the driver initialization and we will read our properties we will read our properties file also that you know from the content wall properties so all the in his initialization part and everything will be there in this particular test base class now after that this is a base class I would say this is an Essbase plus if you remember we did the same thing in page object module design pattern okay so this is the base plus after that what I will do I will create the page layer so this will be my page layer okay this is my page layer I would say this is my page here in which I will define all my okay page class is over here let's see my login page dot java then after that home page dot java then contacts paste or Java or de paste or Java or task page whatever the number of pages are available in the order in your application we will be using the same obligation free CRM dot-com so the first page is let's see login page after login we will be seen the home page then we can navigate to contacts page or some other pages ok so these are the different pages are available I will quickly I will write some name my first page main is login page Ranjan so page object is nothing just a page java class ok this is a login page dot java in which I will define all the web elements whatever the web elements are available on login page ok those lab elements will be defined over here same thing for home page ok dot java and whatever the web elements are available on home page and we defining over here and we know that ok in login page we have to create one more method that method is fine login method okay so this login method I will be this is a matter I have to commute right this is the method I have to create and this login method will return what because in page object model a particular method will return whatever the next landing page is there so what is after login we are coming on home page so login method should return what it should return home page class object ok home please on sorry check whole page class object it should return okay so I'll be creating this particular method over here ok similarly whole page dot java is available if I create navigate to contact so it should return let me get to context method isn't there it should return context page dot java class object okay just like we did approve the same thing in ok the natural beige object what we'll be testing okay now this is the page layer after that I have to create the same thing I have to create my feature fine so this is my feature fine after that I have to create my step definition file and after that I have to create my test runner class right this is my other class okay so one extra layer will be there that is called page layer and one base class field we have to create now in QT name some so these will be the different form these are my feature points okay this is my future fight this is my step definition file okay whatever the step definition you're creating and this will be my test rather a class to execute my test cases either you are using j-unit or destiny we will be using JK which I will be creating a separate video for test two combined with test Genji later on okay so this is the thing and what exactly I will do guys this is login page dot java and all these page layers on the page classes are extending okay this test based class extending test based plus okay so this is a superclass and all these of child assets okay and everything will remain same okay so let's quickly do that so this is the architecture of cucumber with page object model I'll say remember BDD width DD framework with page object model design pattern page object model is not the framework is a design pattern page object model approach okay so this is the architecture of this and we know that quickly each and every feature file step should be mapped with step definition okay step definition there should be mad with this and this runner if nos should have connection with feature file and it should have connections with step definition file so that it can execute your step definition file in the reference of feature files and number of other one regression we will be writing over and what exactly we will do in a step definition we will create number of methods on the basis of feature file steps and we will call these methods over here okay so there is a link between these also in the step definition file we will call these page methods over here okay so this will be the basic architecture of right now let's do this particular thing so for page layer quickly I will create what I will do I will create a package inside the SRC main dot Java on dot Q a dot let's see pages and right-click and create one more package for configuration on dot pages home dot u a dot one thing this is my environment variable and let's see I will be creating one util package also for my you get it even base class ok so calm don't you wait dr. Lewton and I have already created one maven project guys over here and in this particular maven project in this particular form that XML file I have already added all the cucumber and J unit dependencies over here on what creating any data driven approach here because unnecessary it will take a lot of time the concert will remain same you just need to fetch the data from excel file using Apache poi APA just like we did in page object model and data driven approach ok in earlier to do you so you can refer those cells here the main concept is how to achieve page object model okay now in Gondor conveyed the cue a dot one thing I will create one one fine and my okay so I'll be grading my file name is let's see config dot features or sorry what teacher to create one properties fight ok properties not property quantitate dot properties click on finish ok let me do one thing let me increase the font size okay so I have increase the font size now I think it feels very clear now [Music] right and in my conflict or properties I will define couple of properties that on which browser you want to execute that is my browser is equal to Chrome and my URL is equal to we know that this is a URL okay so these are my environment variables configuration variables and my username is equal to lobby okay and my password is equal to test right there is one two three okay I think it's capital D now so these are the basic things okay and this is my phone filtered properties in in an open mind okay I'll go to this util package I will create one base class there we go to me create a new class test face plus click on finish and if you remember the base class we have already created while page object model last time so okay so I'll I'll without wasting time I'll quickly I will take all these properties from here I need these two things okay so this is my base class and I need to create one constructor over here okay on the base class to read the properties from properties file so this is a basic test base class constructor so this will do it will create the properties class object this thing we have already covered so many times so I'm not going to cover this thing and where exactly upon fit or properties are available right click go to properties and this is the path you have to get according to your project okay so I'll simply paste it over here right this is a property its final part of part I have given and after that if you remember that we have to create one more method that is called initialization method remember so this is the initialization method I will be creating in which I will be defining my webdriver to house or whatever is the browser okay you want to use so this is my initialization method and in initialization method oh I'll read the property property name is browser okay small browser if it is grown then please launch Google Chrome and this is a la Google Chrome okay launching Google Chrome code this is the chrome driver dot exe file I will give it for Firefox this is a thing I have given I don't need any fire even fire event event so I don't need this way okay and I will maximize it and everything I will do and this page load time out an implicit Lee wait these two variables I will be giving in test util class so what I will do inside the is inside the util package I will create one more class as to you till plus click on finish and I want that I'll create one very even there is no time what is equal to the 3:20 another one is implicit way it also is a way to the 3 30 30 seconds okay so these two variables I have given and this test to you till I have to import what is say tends to be okay to make it a static so that we can access by class name okay simple the error is gone off right what are you it is spending anything spending okay so I don't need this webdriver listener see you tonight is coming like this okay so everything is fine so this is the initialization method also I have created in my base class before into the diagram you see the driver initialization and properties who I have written over here now my job is to create the pages so quickly I will create the page new and I will create money package is already created I will create one page let's see for first pages login page okay so I will create a class login page dot Java class don't select the main method click on finish and inside the login page I have to define first what my page objects write with the help of at the rate find by remember we already done that how to do that Edgar it find by annotation we have to use so I think for that also I ability these things on the page factories for this thing okay for login page all these page factories are you have write all these page factories or object repository I have written over here for username or password this is for login button this is for sign up button and this is for CRM logo for this particular way username password enter login for new comers people who are watching this video first time please refer if I page object models actually or series over there okay this is the page object I have defined over here I am NOT going to write again X button all those things because already we have created so better two ways okay save our type okay now in this particular login page couple of things first let's see I will create first I'll check the title of the page is correct or not okay or to verify the tighter or to get the title so I think in that method is also available okay to initialize all the page objects we need this also initialization right so that and this login page class should extend according to the diagram this login page should exchange test based class right so I will be writing login page it stinks test case right and just import it from you a dot util so import is also done and whenever you are using this accurate fine by animation right place so to initialize with the help of page Factory plus dot in it meant elements method is their driver please in each life this means please initialize all these global values all these variables will be initialized with their driver so automatically it will be converted into all the web elements now I would not find element automatically it will take care of it ok so this is also done now what the method first method let's see in login page these are actions remember we have already created so I will be just copy this thing instead of writing McCain base to me okay so this is a login page ok validate login page title is there it will return 1 the string driver not get title method it will return again then we have validate CRM image that is also there it will return this particular method and login method it will enter username password it will login it will click on this particular log in button with the help of JavaScript executor you cannot click sometime doesn't work over here so and then it should return home page class object return new home page mean this is the object of homepage class although I haven't created any foundation last so on quickly let me create one home page class one sir okay so first approach is to define all the page layers so click on finish and the home page also my son and it should exchange in space and just import test base also for import there is a shortcut ctrl shift for automatically it will import it okay and if you remember in the earlier session I'll take from there the home page class also I'll take it from there this is home page not Java and all these are things home page title we will verify you can verify that user name label displayed click on contact link click on each link okay so the entire list I take it from here okay thanks so inside the home page okay so I don't have any contacts page so I'm not going to create so let me delete all these things all the contacts page and all that's not use it okay so simple again home page class I have construct that I have created which will initialize all my page objects which are defined over in this particular class and verify home page Titan method is there and there if I correct username and click one new contact link so once you log in you have to click on on that link also like that so I will show you now I am NOT creating each and every method page method over here because it will take a lot of time to create again the same thing so once you log in you have to make sure that okay this Lavine K is available okay so I am just simply saying that verify correct username so user name and name label this is Naveen K if you see that user name label TD contains text user name K is available yes it is available it means I am coming on the home page correctly okay and I am checking the title also that to get the title and simple click on new contact link so after that we have to click on this new contact link also like that so this method also we have written over here now what we have to do so this is the contacts page also I have created and then login page what is the we have to home page okay so everything is fine no errors so two pages I have created login page dot Java and home page or jungle and first time what exactly it will do on home page on login page dot Java we will log it into the system with the help of this particular method I can enter the username password click on submit button and it will return home page class object so this is the home page class object means this particular okay all the elements will be initialized and with the help of home page class object reference we can call all these methods available for inside the home page don't out right now the page layer is done there was page layer it's obviously it's so easy to do all these things okay with respect to page layer according to the diagram login page dot Java and home page Raju an Essbase dot java I have created that page layer is done now quickly I created my feature file and step definition fine so again create a package let's see my package name is what the package name is calm dot Q dot features click on finish and in this particular feature file quickly I write and create a file let's see my 3 CR m dot feature ok so this particular feature file I'll be creating over here and the first thing is feature what is my feature name I will be writing feature is BR 3 CRM application test ok what is man soon are you my scenario is what is mess in our unit so my scenario is when you get it home page or simple let see when it is CRM home page test we will check the home page we're navigating to home page correctly and we are checking but contacts page is poking for some any slavi you think it and after that the first step is given weight given quickly alright given user is let's see the user call and simple language I'll write user opens browser ok user opens a browser then use a rez own login page ok then user enters username and password then user clicks on that button is submit button off the log alter login button then user clicks on login button then home page is displayed then validate home page title then validate for child check the title so first I will validate the title of the home page and I'll check this user also is coming over here then validate mom logged in user may be something like ok logged in user this is Matt basic so in I know I have written how many steps are written 1 2 3 4 5 6 & 7 features I have written now elekid must have definite so create a package for step definition o dot Q dot step definitions click on finish let's see my step definition and we creating a class myclass name is let's see home page home page steps okay and obey the steps and be writing all my and already given at the rate when all these annotations are d writing over here and I'll be grading one another class also write so according to a diagram if you see feature is done step step step definition we will be writing and drummer class also I'll be writing so create separate packages for each and everything create a package that's in the packages for dot Q dot test the V dollar this is a runner package and this run our package in this run a package and we creating a class myclass name is just so complete folder structure I have created over here for you guys and this run our class if you remember we have to write ok all the ticket more options and everything over here so I will quickly and take this from timber classes we have created this is another class P they compute income here and all the tagging in everything at the J great for library which is fine okay so this is everything is done now what I'll do quickly I have to change where exactly my feature file so my feature file is available over here free CR m dot future and you get the path of the particular features fight okay so quickly I'll just copy this particular part and paste it over here okay so pasted over here this is my feature file but where exactly glue blue means where various Jeff definitions are available so my step definitions are available in the park of the step definition file is over here so there it is step definition files are over here so simple I will give comm right or or simple this particular path not cure so it's this particular path to give you just right click go to properties of this package and you just need to take from comm automatically it will take let's see okay so this is a step definition file path step definition and automatically it will be home page steps works out I want such kind of output and monochrome is equal to true trick is equal to true dry RL is equal to true I'll make dry run is equal to true so that I can generate the step definition files over here right and let's run it and let's see it will take this particular step definition package from and VCR m dot H a pipe out here right so let's run this let's see what happens cool so it is taking all the feature file and all the steps are not working fine wine because we haven't defined the step definitions right so simple it will generate the step definition from him so I'll quickly I'll take all these step definitions ok sample from here copy this and I go to my home page steps or Java and simple pasted over here so this is a you know good approach to take all the step definitions code from there so no need to write manually simple I will delete this particular so you know exception whatever the pending it's a few because we are not generating any exceptions over here so just delete this thing this last one and we have to import all these at the rate innovations at the rate given is coming from and there is a shortcut as I told you ctrl shift o for Mac user come on shift o okay so all the annotations are done right now this is also done and now I will read my other class again with dry run is equal to true I'll check any steps are basing on nothing is missing everything is perfectly fine it means all the steps are running fine although I haven't written any pull over there any selenium pull over there all these are blank methods but it is taking form QH step definition package from here right what are the step definition we have written in that in this particular case it will take it from here okay now I have to write the method that user opens browser so for user opens browser if you remember how will you open the browser we have already created one base class this is the base class just aminute remember various methods knows here in the business so this is the base class I am already created in which I have already written initially right I have already created this particular initialization so what I'll do this base class is okay I'll create initialization method this basic root base class object so I will go to my at the global level what I will do first first I see this is the test base just a minute okay so user opens browser so which method is responsible to open the browser inside the base class if you remember right I just we have created this initialization method and this is a static method so in a static method can be called by class name simple and go to my over here in this particular class and the using test base dot C initialization method I will be calling it so first it will come over here it will call this method it will come over here it will execute this thing right it will execute this thing now let's see let's run it now dry run is equal to two because all the steps I have already written dry run is equal to right click run as you jaqen let's see what happens sorry dry run is equal to false because it without drier so let's see the first step is see it is giving nullpointerexception why on test bed is on Java 32 you click on it it is showing nullpointerexception why because this property object if you would debug 9 number 32 and put a debugger and see I will run it again inside the debug mode in the debug mode I'll run it do you go against j-unit you see it will come over here and if you see the prop is money why because this is a prop object is coming from this particular constructor and this constructor is never called why did this construction is so how to call this constructor so that this particular object will be initialized right now this property's object prop of the reference we have created and this is a null value we haven't called this particular thing this constructor so obviously it is not communicating with this properties file so obviously this prop is object reference is none this point you can run now it's not pointing to any object it is not initialized so how to do that okay so let mean that's reg giving null pointer exception over here so to this thing what we have to do this quickly what I'll do and also this particular steps also page is also home based step also we will exchange because this is the superclass of as basically per class of all the classes and extend this okay so now let's run let's see again in debug mode I'll check so it will stop over here again this prop is coming properly now see this drop is in each line is on the values are coming over it right so this profits coming properly over here now I'll put on it and let's see it will go to home page it will go to free CR and what feature user opens browser user opens browser it will come over here over here it will execute this initialization method right and then it will do everything over now you will get you know you in the question is that how will you get to know that okay this base class constructor is getting called this base class constraint is getting called because of this thing we are extending test fees so obviously it will check ok this is a parent class first it will all that okay default constructor one in the constructor that we have created the superclass in the base class it will call that constructor and initialize a proc object it will come over here and it will initializer this particular Croft object automatically this constructor will be called right so let's run this run our class now run as generator and we will see the own browser should be launched see and entering the URL everything see although we haven't written for the steps so this still here it is working for you okay and if you see the first step running fine and all the steps are running fine because although other steps we haven't written user is on login page and all those things we haven't written opening the browser is perfectly fine and then user is on login page so how do you do that that logged user is on login page so for user is a login page we have already created this method on login page make sure that login title is available okay validate login page title so we will call this method and this method is available where inside the login page dr. right so what I'll do at the global level and create basic login page login page is equal to new login page plus object and created and just import it and this login page will give dot which method validate login page title method simple okay so validate login page title method you will return what it will return one string right it will return one string so it will return whatever the title is available okay so under store in some variable string title is equal to this and we are using j-unit so we can put assertion also assert dot assert equals okay what are you expecting my expectation is on after login on login page this is a login page title is this see all to get the title in just a minute wait source I am expecting this particular title okay I am expecting this title an actual title is this this is an actual title so this is the method is also done then user enters username and password right so again this login page object reference now see I'm using page object model guys over here login page dot login from where you will get username password username password are written in configured properties right and how to interact with conflict or property username password is written over here right so how to interact with this conflict or properties and we know that this home page state or Java is already extending base class and inside the base class this drop object already initialized it means I can inherit this prop reference that's why I created at the class level at the global level this proper object reference I can inherit from my parent class so this prop will be given to home page steps dot Java also why because I'm extending base class so simple I can use prop dot get property what is my key now key is using with the T is defined inside the one thing dot properties are same give you user name and the password you have to use this and what is your password again drop dot get property this is no password okay for URL this initialization method is already doing this URL if you go to initialization method see see pop dot get property URL is taking form right sorry so this is also done enter username and password so this method login method will enter username password and it will click on login button also right so I don't need the step that unnecessary that clicks on login button ok I will be removing the system and free CRM got feature also a user clicks on login button we don't need this user enters username and password or better be right user okay login to F we will use this particular user long string to that okay you will use this particular step that we the better and replacing this user logs on to that so simple login and this login method what exactly it will read embrace this login method will return home page class object right homepage class object it will return so can i do like this and store some here like this and what I'll do over here home page like this and this voltage is coming boarded this whole page reference will be initialized by this bed okay so this login method is returning what whole page class object I am storing inside the whole page class object that since only right so like that we can do and home page is equal to this so this home page will be in each place automatically then once it is initialized next step is home page is displayed how will you get to know that home page in this page so simple now we once we have the reference of the okay octave reference of the home page we can call all the methods of home page home page not what are the method verify home page okay is described very fine home page title symptom and this verify home page title will return what it will return one a string that title is coming properly or not so I will store in some string variable string title is equal to this and al-assad it also dot Assad equals what is your expectation this is my expectation after coming to home page so my title is CR and PR OC this is a title so what I'm expecting my expectation is this CR and BR o and this is the actual thing I'm getting this particular thing you can pass it from X and file also so you can remove this hard-coded values okay okay so whole page is displayed oh where do we write this particular code over here homepage title verification when I get home page title over here right now home page is displayed how will you get to know because let's meditate this okay or validate logged in user name so better we do one thing user logs in to reduce okay well we will remove this a step more use user logs in to a query date home page title and varied it's logged in using Lee right that means a better approach so then it ate home page is displayed and remove this one right so login where if I homepage title and validate logged in user name so we know that home page dot where it it correct username it will return whatever the logged in user name is there it will return this if it is displayed it will return true or false right just user name label over here user Naveen K is displayed like this I have written the XPath of this element P D contains textbook over here right if it is displayed please return true it is displayed please return boolean believe means either true or false right if the state method will return video so if it is returning bullion whatever the boolean value you'll see a list or in some boolean million boolean B flag some proper name black is equal to this and assert it a sir dot assert true and if it is equal to true flag is equal to 2 it will return over here true I mean it will be given over here true also it true will be passed this particular step will be possible okay so this is also fine so if you see I have written rice I have written all the steps properly quickly let's see try run is equal to 2 and check all the steps are working fine this is a good habit dryer than equal to 2 and check all the steps are there or not ok everything is fine all the steps are there all the steps are there although we are not executing it now I'll make it dry run is equal to false and then run it let's see what happens now it is launching Google Chrome fine and those should enter the username password no it is giving some error when user login to app what is the error let's see null pointer exception cool where is login page or Java 43 ok let's see what happens here so I will put a debugger over here and I will again put on it in debug mode ok it will stop on that particular so continue is launching the browser this particular housing not stopped over here we will see that username Lavigne Cade password is test at the rate one two three it's absolutely fine and in login page dot Java we have initialized all these things username is initialized invocation exception occurred in working method some problem is over here it's not revoking okay I got it awhile just now I will tell you why what is the problem just a minute okay I have just rectified that particular problem why is the problem here is what exactly you are doing inside this particular class the writing login page login page is equal to MU login page instead of that because we have to create the we have to create the object of login page in this particular method Y so that particular map third I mean this particular login page or reference we will get and this particular reference we will be calling over here so this reference will be initialized immediately okay otherwise what was happening earlier it was initializing only once and who over here is this particular login method okay it was not able to initialize these username and password and DBA check please okay so that's very important we have to write like this login page equal to new login page inside this method once it is done then all the page factories will be initialized earlier what exactly were doing we were initializing only once and then it was getting lost okay so let's better to write within the method and for home page no need to write because login method is giving you the object of home page so he will just storing over here and validate home page title is also let's see this is fine and then we will see where if I were to username is correct or not and now let's run it I just did one thing instead of login page is equal to new login page I have written this particular line inside this method and let's run this program and let's see what happens okay see so chrome is getting launched now okay and clean the user name/password perfect and it will go to that home page it will check homepage title windows title it's fine and see it still is checking homepage title this it will check this title is still it step over here let's see although it should not take such amount of time just for the title let's see let it let it check fine so homepage title is fine and then it's getting failed over here that validate logged in users that validate logged in user okay that when you get logged in users and getting filled and you will see the reason no such element exception okay unable to locate element method exFAT selector is equal to this TD contains user Naveen K maybe this XPath got changed or something on this particular site so let me check the XPath so it is she saying TD user Naveen K export is perfectly fine according to me let's see user name level TD contains text user name again so it's saying TD okay contains text user maybe in K maybe some spaces they have given but that doesn't matter because we are using contains okay we will do one thing just for okay just let simple hack it simple thread God sleep i'll writing i'm not writing any explicitly wait you can write it later let's do for three seconds that dot sleep I am writing over here okay something let it be like this although I don't recommend and let's see what happens okay and let's sit on it again there's here the intention is to give you the idea about page object model into Kimber ultimately our challenge will remain same you have to create the eight objects to create the pages s based class okay everything is like that make sure that okay how exactly you are analyzing different page okay objects and everything so it got logged in that is fine I don't know why it is taking so much time or tight it just for title simple it should return driver or get title right okay let it be some time it happens because ultimately it's trying to interact with the DOM and maybe Dom title is not launched on not coming properly so it will take the title from title tag actually internally and we will see okay still it's getting filled maybe some error is there that no such element exception maybe let's leave in this thing okay TD contains username or we can do one thing that let's not consider this line okay let me remove alone Li four steps are there finally from okay let me removing this thing okay from here also right so if you see the title the featured sequences open the browser login page and logs into the login page with the login method and validate home page title is coming on top early in later on you can write for the contacts page and Dean's page and everything you can create the framework like that ok let's do the final run and then we will see the complete report ok it's launching the browser let me close the browser is this applications very store sometimes ok nothing everything is fine now see quit late verify it a title also long so everything is fine now okay maybe it was taking not for title actually for the next step it was taking because we have given implicitly wait or 20 seconds so that's why it was taking 20 seconds for that Naveen K 30 user so let's forget that ok thing we can check or maybe you can check the context path and everything so this is the forest edge of absolutely working fine in the form of page object model and this is the folder structure we have to use it now if you want to use log4j properties or whatever extent okay extend report but forget about extra code we'll do it later but page object model log4j properties and whatever you want to do with this thing we can create different pages contacts page and deals page and different pages you can create it over here and do the exact thing that you want to create new contacts way so create a contact face over there create a separate feature file and create a separate definition file so make sure in a step definition file is the most important thing here you have to write on the assertions as well as all the page initializations like that and initialize the pages like this ok login page is equal to no login page home page is equal to because this method is returning home page so we will write it over here so this particular variable will be initialized and this variable can be used now in other methods also very fine home page title or verify other user or whatever now you want to navigate to contacts so home page or navigate to contacts ok you can do it like that right so guys that's all for this particular thing please package it's very very simple and always make sure that locate this diagram is in your mind all this in phase object models only extra thing is that we have to add this these two components also okay base class and number of pages you have to create and make sure this page class is extending base class and this step definition file also vice is extending this guy base plus okay so that whatever initialization and prop objects and everything we can call it from here to here okay it's very important so that's all for today and later on I will tell you that how can you integrate with test in G and if you can integrate a stingy with cucumber we can generate a extend report also okay that will be a separate topic but this topic was pending since long okay cucumber page object model with these things so please don't directly jump into these things if you don't have any idea about you know idea about freaking bubbly framework you cannot do anything so but make sure that okay so these seven topics I mean these seven sessions please go through it and then directly and then jump into the page object model design patterns with cucumber then only you will be able to understand otherwise you won't and before that I would advise you one more thing guys please go through these page object model C's okay you just need to go to my channel go to playlist okay on this particular playlist this this okay at least initial four or five videos are there please check all these four videos then you will get to know what exactly the actual page object model each and everything I have okay explained over here okay then go through with your cucumber thing and then go with cooking with page object model then it will be so easy for you within within half an hour 30-40 minutes you can design very good framework like that okay but make sure that okay you are creating all the folder structure and maven thing and everything like that and pawn products in my file make sure all the dependencies you are defining properly okay so that's all for today if you really like this video please subscribe to the channel and not all videos are coming soon on selenium build another and collections also and collections framework API xenon so please subscribe to the channel and let me know if you have any issues you can write your questions in the comment section and I'll be uploading this code into my great repository and you can find the bit repository URL in my description in this particular or tutorial description ok thank you so much thanks for watching and I'll see you in the next session then thanks bye bye
Info
Channel: Naveen AutomationLabs
Views: 102,297
Rating: undefined out of 5
Keywords: Page Objects with Selenium and Cucumber JVM, cucumber-JVM and Page Object, Page Object Model with Cucumber, Cucumber Framework in Selenium, BDD Framework, Page Factory using Cucumber, Cucumber with Selenium, Naveen AutomationLabs, Architecture of Hybrid and Page Object Model
Id: crpxZjB3qdo
Channel Id: undefined
Length: 56min 48sec (3408 seconds)
Published: Tue Dec 26 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.