Page Object Model (POM) Design With Selenium - Part -2

  Рет қаралды 632,730

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Page Object Model (POM) Design With Selenium WebDriver- Part -2:
+Complete Page Object Model (POM) using Page Factory in Selenium
+Learn Page Object Model Step by Step
+POM design - Architecture & Pattern
+What is Page Chaining Model
+Use of PageFactory API in Selenium
=================================================
Technologies Used:
• Selenium WebDriver - v3.0.4 (Open Source)
• JDK 1.8 (Java Development Kit)
• TestNG (Test Unit Framework)
• Log4j (logging API)
• Maven (Build Automation Tool)
• Apache POI API (Read-Write utilities for Excel - Test Data Handling) Eclipse/IntelliJ (Java Editor)
• Browser - Google Chrome/FF
Automation Framework Architecture:
• POM (Page Object Model) Design Page Factory API of WebDriver
• Maven (Build Automation Tool)
• Test Libraries for different UI Pages
• Test Utilities for different generic functions
• Report - Dashboard (Pass/Fail Test) by using Extent Report
• API Jenkins - Continuous Integration Tool
• GITHub Repo (Code Versioning Tool)
=====================================================
Full Playlist of all the videos of Page Object Model:
• Learn Hybrid Framework...
=====================================================
Full Code base available here - GIT URL:
github.com/naveenanimation20/...
=====================================================
Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
/ naveenautomationlabs
Follow me on my Facebook Page:
/ naveenqtpexpert
~-~~-~~~-~~-~
Follow my Site/Blog: www.naveenautomationlabs.com
========================================================
Please watch: "Selenium & Automation Interview Preparation - By Naveen AutomationLabs"
• Selenium & Automation ...
~-~~-~~~-~~-~ Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
kzbin.info%20Au...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/COJqZUPB02r5sB7...
Paid courses (Recorded) videos:
Java & Selenium Course: www.naveenautomationlabs.com/p...
API Course: www.naveenautomationlabs.com/p... ➡️Get Our Courses✔️
📗 Get My Paid Courses at
Paid courses (Recorded) videos:
Java & Selenium Course: www.naveenautomationlabs.com/p...
API Course: www.naveenautomationlabs.com/p...
-------------------------------
✔️SOCIAL NETWORKS
Facebook: / naveenqtpexpert
Twitter: / naveenkhunteta
Blog: www.naveenautomationlabs.com
--------------------------------
Support My Channel✔️Or Buy Me A Coffee
Paypal: paypal.me/naveenkhunteta
Google Pay: naveenanimation20@gmail.com
--------------------------------
✔️Thanks for watching!
देखने के लिए धन्यवाद
Благодаря за гледането
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة

Пікірлер: 764
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
New user credentials for Free CRM application. new url: classic.crmpro.com username: groupautomation password: Test@12345 If you want to register your account on this site, please use this : classic.freecrm.com/register/
@vikasnallabelli5893
@vikasnallabelli5893 4 жыл бұрын
Thank you for updating :)
@Geetham369
@Geetham369 4 жыл бұрын
Thank you very much Sir.. all your videos are very much informative. Stay Blessed...
@shahdhardik
@shahdhardik 4 жыл бұрын
Thank you for updating
@rekhagupta234
@rekhagupta234 4 жыл бұрын
Thanks for updating
@amiraliansari9887
@amiraliansari9887 4 жыл бұрын
Can you please send or share all the dependency list that you have used in the video?
@markandeypandey3227
@markandeypandey3227 Ай бұрын
Hi Naveen, I just want to thank you from bottom of my heart, after wasting money on paid courses I have finally learned and understood POM and framework creation from your youtube videos, Keep teaching us🙏
@Beamishabc
@Beamishabc 6 жыл бұрын
Naveen Sir.. Your sessions are step by step and very informative... Great work... God bless you..
@shivaprasad1341
@shivaprasad1341 4 жыл бұрын
Hi Naveen, Thanks for the brief explanation of the POM Approach so detailed and clear from scratch, this helps a lot in creating a new framework from scratch for an project.
@ajayshehrawat5430
@ajayshehrawat5430 5 жыл бұрын
Hi Naveen, I don't have words to say thanks to you. You are just amazing. Very nice explanation. Thanks a lot bro. God bless you.
@atidip1982
@atidip1982 2 ай бұрын
Even after 4 years, i Always visit this channel to refresh my knowledge, Thanks Naveen for enlighting us
@mohanganesan7045
@mohanganesan7045 4 жыл бұрын
Great Job Naveen. Way to go. Even a layman can become an Automation Expert by your tutorials.
@mudaseer21
@mudaseer21 4 жыл бұрын
your teaching in apple of the eye and joy of our heart
@mamathagarlapati
@mamathagarlapati 4 жыл бұрын
Naveen you are an Amazing instructor ..what an explanation..I just started watching one and the way you explained made me to go and watch all your videos now. Thanks a lot .. Highly recommend ur videos..
@krtkdxt7501
@krtkdxt7501 4 жыл бұрын
Hi Naveen, Its really amazing what you do and is really easy for beginners/professionals to understand minute intricacies. Thanks for sharing these amazing videos and keep up the good work.
@rubeenasheikh3102
@rubeenasheikh3102 3 жыл бұрын
Can't THHANK YOU enough for your guidance and letting us know how and what exactly happens in real time projects. Bravo.....
@harithareddy5594
@harithareddy5594 3 жыл бұрын
These days u r only the saviour of my work life,Literally i'm helpless stage due to single contributor n can't ask each and every doubt to my manager..without your video's i can't imagine my job.
@monicagoyal8225
@monicagoyal8225 2 жыл бұрын
Thanks alot Naveen for creating such a valuable series on POM.The best thing is that you elaborate each and every step with all the details so my java basics are also being revised.
@jashmiakepati7154
@jashmiakepati7154 4 жыл бұрын
Thank a lot in Tons!! No words to explain !! God bless you, Sir!
@ramnandan1087
@ramnandan1087 6 жыл бұрын
I am big fan or yours. Its so amazing. you explained very easily so each can understand. May god bless you.... Thanks Sir.
@medhaparulekar4235
@medhaparulekar4235 4 жыл бұрын
Hi,Cant thank you enough,got a automation tester job after a career break just because of your videos . Much love.
@2009serfer
@2009serfer 4 жыл бұрын
Hi Naveen, thanks a lot. Really amazing and your way of explaining is superb.
@Sudheerkreddy
@Sudheerkreddy 4 жыл бұрын
Naveen !! This is one of the crystal clear explanation
@learnerlearner4090
@learnerlearner4090 2 жыл бұрын
You're an expert and you're a good teacher. Thanks so much for sharing these videos!
@ams8155
@ams8155 4 жыл бұрын
Absolute master ! I felt it is highly complex though. Great for people with real good experience
@lionsofdeccan4768
@lionsofdeccan4768 2 жыл бұрын
Naveen Love you Brother you are the one actually from last few days I was working on creating framework design I referred many channels watch many KZbin video still was not able to clear doubts after this video all doubts are clear really impressed by your hard work brother
@mahadevichalkapure4257
@mahadevichalkapure4257 5 жыл бұрын
sir its very helf full for me ...ur dng good job...excellent ..awesome keep..on sir thanks a lot..ur explanation ..is so good sir
@thiagarajavicky7820
@thiagarajavicky7820 3 жыл бұрын
I gave training to project mates after referred this video..simple and clear explanation...thanks for the awesome videos sir..
@yashwantbeeram8543
@yashwantbeeram8543 5 жыл бұрын
It's really awesome.i completed java and selenium and testng.now I can to pom design patterns. It's really very much interesting. Where ever I am if I am free I am just listening and noting points. It's really very very interesting stuff. Very much nice and nice spoon feeding to all of us. Thank you very much Naveen.
@nehamaggu3719
@nehamaggu3719 6 жыл бұрын
Very useful and eloborated video sir..thanks for sharing .
@girishr8271
@girishr8271 5 жыл бұрын
Hey Naveen, the playlist flow is designed beautifully 👌. Appreciate your time and effort spent on explanations. I did come to know the usage of super() method in real. It was simple but helped me reduce some lines. Thank you!
@sreekanthm123
@sreekanthm123 Жыл бұрын
Absolutely! I echo the comments
@amanoj6396
@amanoj6396 4 жыл бұрын
Hi Naveen .... I hope that you are doing good .. I would like to say thanks to you as i am trying for selenium python . Before watching your page object model session videos , I did not have an idea how to implement POM in selenium python , But now I am in a position to implement POM and on my machine i have implemented POM with some changes as you said . I could get the results .. The moment when i saw the results on the console i felt really very happy .. You made me learning concepts indepth .. Thanks a lot Naveen ...
@mdzaman8128
@mdzaman8128 5 жыл бұрын
This video is a great for new student. Thank you.
@sanjaychoudhary809
@sanjaychoudhary809 5 жыл бұрын
Thanks a ton Naveen, This is really very helpful in interview to explain how we implement framework in project.
@naveenautomationlabs
@naveenautomationlabs 5 жыл бұрын
Thanks for watching
@swatijoshi9624
@swatijoshi9624 4 жыл бұрын
Hi Naveen, Amazing videos. many thanks for teaching automation in such a simple way. Great work and keep it up.
@naveenautomationlabs
@naveenautomationlabs 6 жыл бұрын
Page Object Model (POM) Design With Selenium WebDriver- Part -4 is on Air Now. +Learn Page Object Model Step by Step +POM design - Architecture & Pattern +What is Page Chaining Model +Use of PageFactory API in Selenium +Data Driven with POM +Concept of @CacheLookup in page factory +Concept of WebDriverEventListener kzbin.info/www/bejne/fmOQZKpjfLaNack
@vineethanarayanan3643
@vineethanarayanan3643 5 жыл бұрын
Thanks a lot Sir!!! Your tutorials are so helpful for beginners like me.
@minecode123
@minecode123 4 жыл бұрын
How coould i thnk you Naveen, it's a bomb explained video... very tiny concepts well explained, gained a lot on POM framework
@simhadrisandhyarani2127
@simhadrisandhyarani2127 4 жыл бұрын
Thank you so much for the detailed hands on video
@abhisekbiswal3298
@abhisekbiswal3298 5 жыл бұрын
I have never seen somebody explaining like this even in paid courses ...This is excellent Naveen ..Thanks..
@Cricket_kida
@Cricket_kida Жыл бұрын
Great work naveen sir..yesterday i was like dude, you have to work atleast a week to understand pom..but you have explained it in very simple way... Thnx sir,🙏
@akado5663
@akado5663 6 жыл бұрын
Hi Naveen, You are the best. Wonderful Explanation and step by step design of the framework. Many Thanks for Video.
@JitendraSharma-oe2fg
@JitendraSharma-oe2fg 5 жыл бұрын
Thank you Naveen, superb explanation
@devjewel8345
@devjewel8345 5 жыл бұрын
I am so glade an really appreciated for your help Mr.Naveen...
@ShaluSingh-br4tr
@ShaluSingh-br4tr 5 жыл бұрын
Thanks Naveen for creating such a detailed video on creating framework. It really help me understand the framework design and concept. Really appreciate your efforts for teaching and sharing videos.
@naveenautomationlabs
@naveenautomationlabs 5 жыл бұрын
Thanks for watching
@truptirane6102
@truptirane6102 6 жыл бұрын
Thanks you Naveen Sir, This video is very helpful. Its help me a lot. Looking forward to get some more videos ... Thanks you sir!. Great work really appreciated :-)
@naveenautomationlabs
@naveenautomationlabs 6 жыл бұрын
Thanks for watching Trupti
@FabArtsStudio
@FabArtsStudio 5 жыл бұрын
Hey this site freecrm.com has changed?
@kanishkatyagi4708
@kanishkatyagi4708 5 жыл бұрын
Hi Naveen sir, Is there any other better site than freecrm.com , on which I can practice??
@viper555able
@viper555able 5 жыл бұрын
@@naveenautomationlabs java.lang.IllegalArgumentException: Keys to send should be a not null CharSequence Exception is coming while running the LoginTestPage.java file
@shoyebkhatib8084
@shoyebkhatib8084 5 жыл бұрын
Thanks Naveen,this is amazing,you are the best
@manaligupta1098
@manaligupta1098 6 жыл бұрын
Explained so well. Thanks
@minecode123
@minecode123 4 жыл бұрын
Please keep adding more video for valuable usage in future with your outstanding explanation.
@sridevireddy1371
@sridevireddy1371 6 жыл бұрын
Thank you Naveen, superb explanation.
@chigullapallysaiprasad9448
@chigullapallysaiprasad9448 5 жыл бұрын
Naveen Ji,Thanks a lot your videos help me a lot it took me to lean POM clearly.GOD bless you
@eduardobetasan
@eduardobetasan 5 жыл бұрын
Incredible work. Thank you a lot.
@VibhavChaddha
@VibhavChaddha 4 жыл бұрын
Thank you for these tutorials. It helped me understand a lot about Selenium and automation, as I am actually a developer. I just want to ask a question, can we change the value of fields we have defined in the 'config' file during run time?
@omkarpotdar2763
@omkarpotdar2763 Жыл бұрын
You are just amazing!! The way you are explaining the framework design from start to end is very easy & understandable. Keep it up Naveen. God Bless you.
@ipsitadash3417
@ipsitadash3417 5 жыл бұрын
Thank you, Naveen. Really appreciated the way you explain things, it is very helpful. This is an awesome explanation to have an understanding of POM and Maven. You have mentioned you would be sharing the Apache POI dependency. Can you please share the same POI dependencies with me.
@shwetarajurkar9024
@shwetarajurkar9024 5 жыл бұрын
U are doing a great job!!Thanks Naveen!!
@rd3316
@rd3316 3 жыл бұрын
Great video Naveen .. I have never seen such a good detailing ... hats off 🙌
@vkiranmayi7096
@vkiranmayi7096 5 жыл бұрын
your explanation is superb naveen it will be very helpful to me at interview point of view
@anupamasuryawanshi4404
@anupamasuryawanshi4404 4 жыл бұрын
Thanks Naveen, it's really very helpful.
@maksymosipa9287
@maksymosipa9287 5 жыл бұрын
Good job, thank you!
@katrinaleinik2870
@katrinaleinik2870 5 жыл бұрын
Thank you!!!!This is the best!!!
@sachintatkare.9362
@sachintatkare.9362 6 жыл бұрын
Excellent ...Thanks
@healthwithbhavesh6030
@healthwithbhavesh6030 4 жыл бұрын
Thanks Naveen for your amazing work...
@himajachevikala9805
@himajachevikala9805 3 жыл бұрын
Hi Naveen Hope you are doing well Plz zoom eclipse while recording.... Feeling difficulty when accessing the course via mobile Thank you
@shilpashravge8083
@shilpashravge8083 2 жыл бұрын
Thanks a lot for such a detailed session. Really helpful!
@parshu3238
@parshu3238 6 жыл бұрын
You Explain very well Naveen thank you very much
@vasug9904
@vasug9904 6 жыл бұрын
Super explanation.I did not see this way of explanation in paid videos also Good job Naveen👌👌👌😊
@sidramjagadi5794
@sidramjagadi5794 5 жыл бұрын
Hi Naveen, thanks a ton. I am able to set up the Framework just following your steps and able to run my first test successfully. I will apply it to my next project. A great thanks to you again.
@Srhnu449
@Srhnu449 5 жыл бұрын
can u share us the dependencies please... so that we will try to run our test case ... we are getting a lot of errors here... not even single test case also not getting executed
@RobinsonMartinezEngineer
@RobinsonMartinezEngineer Жыл бұрын
I have another approach that I believe is safer: Create a singleton class (so, only 1 object will be created) in a method that could be callef "setup" for example. The method will return an object driver that we call through ClassName.setup() method. Other advantage of it is that we don't need to extend TestBase in Pages. From my understanding TestBase is used to initialize tests, that's why is called TestBase.
@sunilkumarvanga4531
@sunilkumarvanga4531 6 жыл бұрын
Hii Naveen the way of your explanation is so good thank u naveen;
@lalithasunayini3307
@lalithasunayini3307 6 жыл бұрын
God of Selenium :D _/\_ Awesomely Explained sir!
@maheshgatla4104
@maheshgatla4104 5 жыл бұрын
awesome...sir..!!!thanks a lot...!!!
@anirudhprayaga5588
@anirudhprayaga5588 2 жыл бұрын
Thanks a lot for such great explanation Naveen! I have a Q. What is the advantage of using Static webdriver reference in the TestBase class (25:28 at line 5) as we are anyways extending the TestBase and we do not create new objects in the test/page classes(which are child classes of testbase) to access the webdriver reference. What if we just remove the static reference, is there any disadvantage to that when building the framework?
@indsrats8833
@indsrats8833 3 жыл бұрын
I am in love with your teaching. Period. :) Thanks a lot.
@naveenautomationlabs
@naveenautomationlabs 3 жыл бұрын
Thank you! 😃
@soumyacc4209
@soumyacc4209 11 ай бұрын
Great work Naveen! Thank you for the video on framework design.
@saurabhadlakha4811
@saurabhadlakha4811 4 жыл бұрын
Naveen sir is genius...Automation explanation is awesome :)
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
Thanks a ton, keep watching :)
@priyankabhoite4828
@priyankabhoite4828 2 жыл бұрын
Easiest explanation and can easily relate with actual project
@aartibisen2107
@aartibisen2107 5 жыл бұрын
Hi Naveen, Thanks a lot.Your tutorials are so helpful for beginners like me. I have one question How to add Apache POIAPI dependencies
@rupaliattri972
@rupaliattri972 2 жыл бұрын
Naveen, you are a great teacher. Really like the way you explain things in a very easy and simple manner. Good keep it up!! 😊
@naveenautomationlabs
@naveenautomationlabs 2 жыл бұрын
Thanks Rupali
@mariac7772
@mariac7772 4 жыл бұрын
Awesome sir....no words to explain 😍
@loquesea187
@loquesea187 6 жыл бұрын
Hello Naveen, excelent tutorial! One question, why initialization is static if we are using it in the child class? What is the benefit?
@KundanJha-ri7bp
@KundanJha-ri7bp 6 жыл бұрын
HI Naven, thank you very much for providing such an excellent platform to learn automation. ThankYou!. Now the thing is i am trying to design framework with POM but i am unable run LoginTest class under src/test/java , when i try to run this eclipse is giving run configuration option. I really need you help to fix this. Thanks in anticipation! I am using selenium 3.12.0
@vishalbarnwal2123
@vishalbarnwal2123 4 жыл бұрын
Hi Naveen, Its a mesmerizing tutorial for everyone Thanks a lot for explaining in so details. Can you please share the link for how to read the properties as well or any common platform for QA?
@upamathakur9453
@upamathakur9453 6 жыл бұрын
Very well explained ....
@prajwalkore375
@prajwalkore375 4 жыл бұрын
Thanks a lot Naveen for an amazing video and one observation ,i don't think adding constructor in test class in really required ,since we are creating an object of login page which is already having a constructor for super class testbase
@prakashvish3988
@prakashvish3988 3 жыл бұрын
Thank you so much naveen ❤️ explained it very well ❤️
@cvaruna06
@cvaruna06 6 жыл бұрын
Hi Naveen, It would be great if can merge all videos on selenium from start step by step to follow,which helps to learn without mess.
@svetlanamazhaykina6918
@svetlanamazhaykina6918 4 ай бұрын
Thanks for your work, Naveen! Well done!
@nitinshakya3534
@nitinshakya3534 6 жыл бұрын
Its really good, thanks
@praffulgupta5899
@praffulgupta5899 3 жыл бұрын
Thanks Sir I am learning too much and have to learn more things.
@automationexpert8714
@automationexpert8714 5 жыл бұрын
Naveen thank you for the very good video, I wish you have only created one test case and run with small flow.
@kollabathulasowjanya1610
@kollabathulasowjanya1610 6 жыл бұрын
perfect and thank u sir
@Harshvardhan-y3w
@Harshvardhan-y3w 5 жыл бұрын
Hello Naveen. I am very glad that I found your KZbin channel. You are best tutor.. I already referred you to many friends for selenium. Thank you so much for your guidance. Can you please tell me how to solve this issue, I tried creating maven project according to your steps. But i can see red cross on pom.xml file, and so i am facing errors.
@virginia.faustino4935
@virginia.faustino4935 3 жыл бұрын
Hi Naveen, I love yours tutorials, you make it look much easier , thanks so much!! I have 1 question, when I use page factory , it doesn't work, so I'm using findElement, maybe now 3 years later, page factory is deprecated?
@maniktyagivlogs999
@maniktyagivlogs999 4 жыл бұрын
Hi Navee sir, I have gone through this above video and I would say, you are doing very good job your approach is very good and I regularly follow you here. I had a question regarding one concept in this video it self. When we login into an application and there can be multiple landing pages(homePages) then in that case, what "login" function should return...I mean how should I handle this. Thanks!
@pkumar2371
@pkumar2371 4 жыл бұрын
very helpful and step by step tutorial....thanks
@user-yb2fc1ur6g
@user-yb2fc1ur6g 3 жыл бұрын
Thanks a lot Naveen !!
@real_hello_kitty
@real_hello_kitty 4 жыл бұрын
Excellent tutorial! 😃
@sarankumar5282
@sarankumar5282 4 жыл бұрын
Very Useful Naveen. Thanks a lot.
@Mr_TravelEatWorship_Official
@Mr_TravelEatWorship_Official 5 жыл бұрын
Naveen...This is MindBlowing..... .......super();Statement is Implicitly present as The First Statement in Every Constructor ....so we need not write explicitly naveen........ Just go through that if possible #BluePrintForPOM Thank You Very Much
@rajendrashinde2856
@rajendrashinde2856 6 жыл бұрын
Nice explanation of POM Automation framework, Please upload video related REST API Automation framework
@manavisharma944
@manavisharma944 2 жыл бұрын
Hi Naveen, Thankyou so much for all the videos. Learning so much from you. You are an inspiration to me. I have a question regarding authentication.In test automation , how do (if you have to) pass jwt token. Should it be generated dynamically whenever the test runs(may be once beforesuite), or generate outside and paste in config..I have never used it before or automated. Just curious.
@kashinathyadav2911
@kashinathyadav2911 5 жыл бұрын
Hi Naveen , Thank you for creating amazing tutorials. I have one question, why do you created the LoginPageTest constructor in LoginPageTest Class ? Please do the comment. Thanks, Kashinath Yadav
@siddeshwarmithbavkar4232
@siddeshwarmithbavkar4232 6 жыл бұрын
This is on e of the best videos!!! Naveen,Can we create the same sort of framework without the use of Maven ? If yes or No ,Why?
@adewhite3859
@adewhite3859 Жыл бұрын
Thank you for impacting knowledge.
Page Object Model (POM) Design With Selenium - Part -3
1:28:16
Naveen AutomationLabs
Рет қаралды 294 М.
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 93 МЛН
Советы на всё лето 4 @postworkllc
00:23
История одного вокалиста
Рет қаралды 4,8 МЛН
Я не голоден
01:00
К-Media
Рет қаралды 8 МЛН
Page Object Model (POM) Design With Selenium - Part -4
1:03:40
Naveen AutomationLabs
Рет қаралды 199 М.
These Coding Projects Give You An Unfair Advantage
14:39
Harkirat Singh
Рет қаралды 343 М.
How To Explain Test Automation Framework In Interviews For Selenium
13:42
How UI Frameworks Actually Work
7:00
Awesome
Рет қаралды 29 М.
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 12 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 7 МЛН