Page Object Model (POM) Design With Selenium – Part -2
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:
=====================================================
Full Code base available here – GIT URL:
=====================================================
Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
Follow me on my Facebook Page:
-~-~~-~~~-~~-~-
Follow my Site/Blog:
========================================================
Please watch: "Selenium & Automation Interview Preparation – By Naveen AutomationLabs"
-~-~~-~~~-~~-~- Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
Follow me on my Facebook Page:
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
Paid courses (Recorded) videos:
Java & Selenium Course:
API Course: ➡️Get Our Courses✔️
? Get My Paid Courses at
Paid courses (Recorded) videos:
Java & Selenium Course:
API Course:
——————————-
✔️SOCIAL NETWORKS
Facebook:
Twitter:
Blog:
——————————–
Support My Channel✔️Or Buy Me A Coffee
Paypal:
Google Pay: naveenanimation20@gmail.com
——————————–
✔️Thanks for watching!
देखने के लिए धन्यवाद
Благодаря за гледането
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة
New user credentials for Free CRM application.
new url: https://classic.crmpro.com
username: groupautomation
password: Test@12345
If you want to register your account on this site, please use this : https://classic.freecrm.com/register/
Hi Naveen!! These Login Credentials are not working. It is again redirecting to the same log in page. Can you suggest here?
Unable to login.
Please do the needful.
@Monica Goyal Please check and post here so that it will be useful for everyone
@Monica Goyal can you please share credentials
Sir the credentials are not working, please help
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!
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?
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.
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.
Great Job Naveen. Way to go. Even a layman can become an Automation Expert by your tutorials.
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?
Hello Naveen, excelent tutorial!
One question, why initialization is static if we are using it in the child class? What is the benefit?
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.
Hello, again very nice explanation and very precisely created framework. Anyway I have a few questions:
1. Do you think it is good to execute @before @after method with every single test case? Even with every single Test Scenario (by scenario I mean LoginPageTest, HomePageTest …)? If our test suit will grow and it will have like hundreds of cases, there will be hundreds of times opening of browser what is definitelly not good for our performance.
2. I think page objects can be divided not only by whole page but also for parts of page. For example don’t you think that it will be good to have HomePageMenu as separate object?
3. I don’t understand to test number 3. How this validation works? There is no assertion, only login and then new HomePage object is returned … ??
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.
Hi Naveen, thanks for wonderful video. One question/request if you can add how to work with shadow root elements in page object model design it will be very helpful.
Hi Naveen,
Thanks for this wonderful video. It really helped to understand many of the concepts.
However, I am still not able to get why we are returning a PageObject on each page. Eg: we are returning Homepage object from the LoginPage. Could you please explain the exact need of doing this and also what will happen if we do not do this.
Absolute master ! I felt it is highly complex though. Great for people with real good experience
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.
I have never seen somebody explaining like this even in paid courses …This is excellent Naveen ..Thanks..
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..
Hi Naveen, your videos are very informative.. Can I use POM approach for SikuliX testing using java?
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 …
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?