Login

Lost your password?
Don't have an account? Sign Up

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
شكرا للمشاهدة

https://www.educational.guru

25 comments

  1. Girish R

    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!

  2. Vibhav Chaddha

    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?

  3. Krtk Dxt

    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.

  4. Ipsita Dash

    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.

  5. Vishal Barnwal

    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?

  6. Kral Balkizar

    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 … ??

  7. Kunal Dhumal

    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.

  8. Manavi Sharma

    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.

  9. mamathagarlapati

    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..

  10. A Manoj

    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 …

  11. Anirudh Prayaga

    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?

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*