Page Object Model in Selenium Webdriver Step by Step Guide

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 592

  • @Mukeshotwani
    @Mukeshotwani  3 роки тому +6

    Back in 2015, there was no gecko driver for Firefox. It used to work by default with Selenium but now you have to use firefox , chrome,edge etc then you need to use browsers driver.
    For Firefox use gecko driver- ua-cam.com/video/rJ4rNZGAzW8/v-deo.html

  • @gaurav30386
    @gaurav30386 7 років тому +21

    Hello Mukesh Sir,
    This is Dr.. Gaurav Goyal...Although I am a Dental surgeon practicing from past seven years.I was taken as a hobby of doing something in software field and because of you I am able to understand about selenium.Just because of you...developed a keen interest regarding automation. Now its my passion or what I can say....I automate different websites follow all your steps.THANKS A LOT .I have no words to say how important your tutorial is for me.
    Your Sincere Disciple
    Dr. Gaurav Goyal{GOGO

    • @Mukeshotwani
      @Mukeshotwani  7 років тому +1

      Hi Gogo I am really feeling good after your message. I appriciate your that you putting so much effort for hobby too :)
      Keep learning and let me know if any help from my side.

  • @thirumurugan6242
    @thirumurugan6242 5 років тому +3

    I want say one thing first. your voice is very clear to listening. Thank you so much for valuable time with you. Just now starting automation script it's really awesome.

  • @info781
    @info781 7 років тому +1

    Good video for those new to Selenium and are intermediate java users. I like the pace of the video, you speak clearly without adding too much information. Thanks!

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Thank you so much Mate :) Keep visiting and sharing with your friends.

  • @sagardhal8522
    @sagardhal8522 6 років тому +8

    One word just love u Bro and ur voice is so pleasant to listen.Thank you so much for this valuable video.

    • @Mukeshotwani
      @Mukeshotwani  6 років тому +1

      Thank you so much Sagar for such a wonderful comment. It made my day.
      Keep learning and keep in touch

    • @rachangoudapatilnidoni5058
      @rachangoudapatilnidoni5058 3 роки тому

      Yes bhai , your voice is add on to the technical knowledge. Keep making videos

  • @sudheesh1981
    @sudheesh1981 9 років тому +8

    Hello Mukesh, I really like your automation videos. Your narration is pretty neat, natural and easy to follow. I felt like you are sitting near to me and explaining things. Thanks a lot brother!

    • @Mukeshotwani
      @Mukeshotwani  9 років тому

      +Sudheesh Anganakurussi Hi Sudhessh very good morning and thanks a lot :). Please let me know if any help required from my side.

  • @nilventosa
    @nilventosa 6 років тому +2

    Man, clearest tutorial ever. Thanks a lot!

    • @Mukeshotwani
      @Mukeshotwani  6 років тому

      Hey Nil, Thank you so much for such a nice Comment 😀

    • @Mukeshotwani
      @Mukeshotwani  6 років тому

      Hey nil ventosa I am glad you liked my tutorial . Keep learning and Sharing. Feel free to contact for any issues related to Automation.

    • @watsonbanz1995
      @watsonbanz1995 5 років тому

      @@Mukeshotwani How to handle drop-down scenario's using Page object model? Please can you cover / share this scenario.

  • @rachangoudapatilnidoni5058
    @rachangoudapatilnidoni5058 3 роки тому +1

    Yes bhai , your voice is add on to the technical knowledge. Keep making videos

    • @Mukeshotwani
      @Mukeshotwani  3 роки тому

      I will try my best and thanks for watching mate

  • @karunanidhi2974
    @karunanidhi2974 6 років тому +1

    Excellent. very simple and easy to understood who is going to implement the Page object model.THanks for clear steps and please keep uploading the advance concepts.

    • @Mukeshotwani
      @Mukeshotwani  6 років тому

      Thanks, Karuna Nidhi :) I am glad you liked my videos. Keep learning and keep sharing with your friends. Feel free to ask any query for test automation.
      Best Regards
      Mukesh Otwani

  • @prajnabhat2151
    @prajnabhat2151 6 років тому +1

    Thanks a lot for such a crisp and clear explanation.

  • @Amar27_Feb
    @Amar27_Feb 2 роки тому +1

    Thanks Mukesh Sir for sharing knowledge.. your presentation n knowledge is excellent..

  • @TheHarmonicaDad
    @TheHarmonicaDad 4 роки тому +2

    Exceptionally well explained. It's quite easy to understand the concepts. Cheers.!!!

  • @0909ashu
    @0909ashu 8 років тому

    Super Video Mukesh! I am new to Selenium and i am following all your videos continuously.
    It helps me to understand a nightmare(Selenium) to me in a very easy way. Thanks a ton!

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +0909ashu Hey Ashu thanks a lot 😃 keep visiting

  • @santubantu123
    @santubantu123 8 років тому +1

    Thanks alot Mukesh.
    The pace and depth at which you cover is superb.

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +Santosh S Thanks Santosh Happy weekend. Please check other videos as well.

  • @dghosh8001
    @dghosh8001 7 років тому +1

    Mukesh, the way you explain is simply great!!

  • @monicagoyal8225
    @monicagoyal8225 3 роки тому

    Hello Mukesh, You actually have made me fallen in love with Selenium. I have been a non maths student, never throught I would be able to write a java code but I have been trying and am able to do that (at times).Thanks alot for all your efforts.

  • @udaybenake206
    @udaybenake206 8 років тому +1

    Very Simple and good explanation.... great work Mukesh.... Thanks...

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Hi Uday Thank you :) I am glad it helped you. Keep visiting.

  • @monimathur7178
    @monimathur7178 8 років тому

    commendable job mukesh!! u really made my day ..After this tutorial of POM I was able to automate many scenarios of e-commerce site. I was never sure that I would be able to make it Someday.. but today I did it :). I was able to write the normal flow but was not able to implement usable maintainable code .but now I was able to use the same methods for different sites just by passing different paraments. Thanks to you. I am blessed to have your vedios on UA-cam!!! waiting for your hybrid and data driven framework vedio. :) Thanks again

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +Moni Mathur Hi Moni Thanks ton for nice feedback this kind of comments keeps me motivated. Keep visiting.
      Have already uploaded DDF ua-cam.com/video/_7XJenTvR34/v-deo.html
      Hybrid is on hold will upload soon.

    • @arpitkumar7576
      @arpitkumar7576 7 років тому

      are used Maven for automation?

  • @Connect2Educate-RamGupta
    @Connect2Educate-RamGupta 7 років тому +2

    Thanks Mukesh for providing such a nice video on page object model.

  • @kumarraja3340
    @kumarraja3340 8 років тому

    Very useful, simple and clear.. Thanks a lot Mukesh

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Hey Raja your welcome. Keep visiting other videos too.

  • @2009serfer
    @2009serfer 5 років тому +1

    Thanks Mukesh, That was very good. Very clearly explained.

    • @Mukeshotwani
      @Mukeshotwani  5 років тому

      I am happy that you are able to understand my videos.

  • @dilipbania3903
    @dilipbania3903 8 років тому +1

    Very nice and clearly explained !!!share more videos.

  • @jessejairam914
    @jessejairam914 8 років тому +1

    Hi Mukesh,
    Great tutorial,The videos are very easy to understand.
    Thanks

  • @sachinkanchan5506
    @sachinkanchan5506 3 роки тому

    Hey, the way you teaching is awsome

  • @loading.m4469
    @loading.m4469 8 років тому

    Hi Mukesh,
    Very clear explanation. Easy to understand. Thank you so much for your great work and all your efforts.

  • @salehashamim7803
    @salehashamim7803 3 роки тому +1

    Really big thanks to you Mukesh. I was thinking POM concept is very huge nd difficult. 🙏🙏🙏

    • @Mukeshotwani
      @Mukeshotwani  3 роки тому

      Most welcome Saleha its very easy and very helpful in Test Automation.

  • @AmitKumar-hn9bf
    @AmitKumar-hn9bf 6 років тому +1

    all videos very helpful sir very good..

  • @sivanaidu1214
    @sivanaidu1214 6 років тому +1

    Hi Mukesh bhai , very nice explanation ,thanks a lot .

  • @vlstechnologys776
    @vlstechnologys776 4 роки тому +1

    Excellent video. Clear explanation.. I will recommend to my friends thank-you

  • @basanthjajur2645
    @basanthjajur2645 8 років тому +1

    Hello sir .. Its a great video .. Am learning automation myself by watching your all videos day by day... Thanks a lot...and sir please make a video on hybrid frameworks ....

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Thanks Basanth sure upload soon.

  • @rajnreddyindia9431
    @rajnreddyindia9431 9 років тому +2

    Thanks A lot Mukesh, you made it look super easy

    • @Mukeshotwani
      @Mukeshotwani  9 років тому

      +RajNreddy india Thanks Raj :) Happy weekend

  • @ruchinkhare2990
    @ruchinkhare2990 7 років тому +1

    Thanks Mukesh this very good tutorial to get basic knowledge/understanding of POM Model.
    And I love to watch your tutorial everytime :).
    Request you to provide a tutorial by using excel-sheet test cases along with Pass/Fail result it will help us in implementation in real projects.
    Again Thanks a-lot for this tutorial.

  • @MsoliverBr
    @MsoliverBr 7 років тому +1

    Mukesh! Thank you for your great job for sharing your knowledge!! Your videos always help me a lot when I need to.

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Welcome Talita :) Don’t forget to subscribe my UA-cam Channel

  • @sadia431
    @sadia431 8 років тому

    Hi Mukesh , Thanks so much for your help ! I find your videos are very easy to understand the selenium concept , and you take time to teach it .
    Friends , I Highly recommend to see his videos ! and his framework .

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Thanks Sadia for sharing and recommending to others

    • @sadia431
      @sadia431 8 років тому +1

      You are most welcome!

  • @venkateshyadav9513
    @venkateshyadav9513 7 років тому +1

    Hi Sir,
    Thanks for sharing your vedios,
    your videos are awesome and very easy to understand.
    Keep Sharing :)

  • @prr71
    @prr71 2 роки тому +1

    great video.. thanks much Mukesh 🤝

    • @Mukeshotwani
      @Mukeshotwani  2 роки тому

      Welcome! Mate. I am glad it helped.

  • @Mike-og4wc
    @Mike-og4wc 7 років тому +1

    Mukesh, many thanks for the tutorial! It's very helpful

  • @nikhil46667
    @nikhil46667 8 років тому +1

    Thank you! for creating this video. This kind of videos are very helpful for me to understand in better way.

  • @syedghouseullah
    @syedghouseullah Рік тому +1

    Hello @ mukesh ! This a great explanation, thankyou so much sir ! 🙏

  • @mzamomahaeng268
    @mzamomahaeng268 3 роки тому +1

    Excellent video lessons👍thank you

  • @sijojohny5004
    @sijojohny5004 7 років тому +1

    please add more videos. your voice is perfect and understandable.

  • @passgreenearth
    @passgreenearth 7 років тому +1

    Thank you so much Mukesh, it is really help full for me..Thanks Again

  • @gayatrimungarwadi390
    @gayatrimungarwadi390 5 років тому +1

    Well explained. Thanks a lot for this video.
    I executed login progress without any issue...

  • @pratikkhakria6319
    @pratikkhakria6319 8 років тому +1

    Thanks alot Mukesh. This is really good video for us.

  • @bharatvarshney2666
    @bharatvarshney2666 7 років тому

    Really too good..easy to understand...keep sharing

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Thanks Bharat I am glad you switched to advance topics now.

  • @sirishaanupindi924
    @sirishaanupindi924 9 років тому +1

    Awesome clean and clear explanation, thank you!!

    • @Mukeshotwani
      @Mukeshotwani  9 років тому

      +Sirisha Anupindi Thanks Sirisha

  • @ritatan9544
    @ritatan9544 8 років тому

    Very clear explanation! Thanks a bunch!

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Hey Rita your most welcome, keep visiting and let me know if any help from my side.

  • @tawhidansary7686
    @tawhidansary7686 3 роки тому +1

    So sequential - clear and easy

  • @naganandhini4343
    @naganandhini4343 4 роки тому +1

    well explained sir. thank u, May God bless you

  • @PritiFav123
    @PritiFav123 4 роки тому +1

    Thank you so much for brief info , explained very nice ...

    • @Mukeshotwani
      @Mukeshotwani  4 роки тому

      Thank you Preeti Glad it was helpful!

  • @lokeshwarreddy7371
    @lokeshwarreddy7371 8 років тому +1

    Really Good.. easy to understand.. thankyou so much..

  • @sehse100
    @sehse100 3 роки тому

    Very Good explanation, thank you sir 🙏

  • @muzammil9482
    @muzammil9482 5 років тому +5

    @Mukesh otwani You have done a good job. Just one correction. Package name should be lowercase as per standard

  • @TheWaqarismail
    @TheWaqarismail 9 років тому +1

    Great explanation and informative stuff, keep it up dear .

  • @kumars-yq8pz
    @kumars-yq8pz 5 років тому +1

    Your videos are awesome!!

  • @Shwetank0512
    @Shwetank0512 7 років тому +1

    Really Good content and explainaition. Kudos !

  • @kosta2177
    @kosta2177 6 років тому +1

    Perfect video. Thank you bro for the great explanation.

  • @snehachavan3178
    @snehachavan3178 5 років тому +1

    Thank you so much....so much explanatory video...

  • @sujitpanigrahy485
    @sujitpanigrahy485 7 років тому +1

    how to run multiple test cases using POM and testNG. Every time when it execute the second test case it gives a nullpointer exception. i tried with normal approach only.

  • @reshmagaikwad300
    @reshmagaikwad300 6 років тому +1

    Hi Mukesh , Its wonderful video ,thanks for sharing.Please share some assignments to practice on same

  • @yogitharamanathan2698
    @yogitharamanathan2698 8 років тому

    Hi Mukesk, Your videos are very useful for beginners to learn selenium automation.Keep rocking. Please upload interview questions related to selenium automation.

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +Yogitha Ramanathan thnx Yogitha sure will upload soon

  • @alexeypashchenko
    @alexeypashchenko 8 років тому

    Best explanation of POM! thanks!

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Hey Alexey thanks a ton :) keep visiting

  • @WorldThroughManoramaEyes
    @WorldThroughManoramaEyes 7 років тому +2

    Thanks for the helpful videos.its very good.keep up the good work to be continued..and the truth is "Knowledge is the one thing is you will share it will increase more and more.."
    will like and suggest my friends to go through your videos.:)

    • @Mukeshotwani
      @Mukeshotwani  7 років тому +1

      Thanks Dhiman :) sure.. Keep in touch and let me know if you need any help from my side.

  • @andreychetvertakov4574
    @andreychetvertakov4574 3 роки тому +1

    Very meaningful tutorial!

  • @mojean2008
    @mojean2008 4 роки тому +1

    Thanks (from Brazil)

  • @ashirbadratha5135
    @ashirbadratha5135 6 років тому +1

    Hi Mukesh,
    Thank you for the videos, they provide effective updates about different Automation approaches.
    Related to this video can you please provide some more use cases so that i can try and automate.
    Thanks in Advance,
    Ashirbad

  • @samm528
    @samm528 9 років тому +1

    Hi Mukesh , I have been viewing your Videos from long time and Its so beneficial when compared to other lectures. I Learned a Lot from Your lectures. I just wanted to know about SVN and how it is used in Real time. If you dont mind or if you get time, can you please kindly make a one for us. Many of friends were looking for that..... Thanks a lot in advance.

    • @Mukeshotwani
      @Mukeshotwani  9 років тому

      +Samuel M Hi Samuel sure I will upload soon. May be by this weekend I will try to upload.

  • @padmadeshpande857
    @padmadeshpande857 8 років тому +1

    Fantastic !!! Thank you Mukesh ...

  • @588kumar
    @588kumar 9 років тому +1

    Very Useful Information.!

  • @reshmisingh1662
    @reshmisingh1662 Рік тому +1

    Very nice explanation..

  • @notch7751
    @notch7751 6 років тому +2

    You're so good at explaining, thank you bro

    • @Mukeshotwani
      @Mukeshotwani  6 років тому +1

      Thank you Mate :) I am glad you liked it.

  • @krishnaprasadamudala
    @krishnaprasadamudala 8 років тому

    Very useful and knowledgable information . Thanks for sharing!!!:)

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +krishnaprasadamudala Thanks you Krishna keep visiting :)

  • @shinopjohn5435
    @shinopjohn5435 9 років тому +1

    Thanks Mukesh. Good Informative Tutorial.

  • @thesmilingmoth
    @thesmilingmoth 4 роки тому +1

    Thank you so much! You explain things very well. You mentioned you were going to do another video to explain how to make a method for the same 3 lines of code to create the driver and get the home page.(At 17:58) If so, could you please tell me which video this is? Thanks.

  • @balajikoc1429
    @balajikoc1429 8 років тому

    Thank you sir, your explanation crisp and clear

  • @vikassingh7647
    @vikassingh7647 9 років тому +1

    Great video to start with POM

    • @Mukeshotwani
      @Mukeshotwani  9 років тому

      +Vikas Singh Thanks Vikas please check other tutorials too :)

  • @sukhwindersingh-kz8zd
    @sukhwindersingh-kz8zd 8 років тому +1

    Mukesh you rocks buddy, keep it up!

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Hey Sukhwinder Thank you. Cheers

  • @FaizAhmad-ht8pl
    @FaizAhmad-ht8pl 8 років тому +1

    Hi Mukesh..thanks for this lecture...i really got this..can u please share a lecture on jbehave and how we link it with junit instead of testNG as i have to make an automation frame work from scratch ...It would be great help

  • @shashikantrai10
    @shashikantrai10 7 років тому +1

    Hi Mukesh,
    Great Video's For UI testing, I learned lot of things from these.
    Could you please come up with some rest Api Tutorials.

  • @nidhivadiwala1869
    @nidhivadiwala1869 8 років тому

    Thank you Mukesh. Your teaching style is very simple and understandable.
    Can you upload video for mobile testing with appium and web services? Please :)
    It will gonna help to beginners.

    • @Mukeshotwani
      @Mukeshotwani  8 років тому +1

      Hi Nidhi, thanks :) Appium already started and for SOapUI also shared. Kindly check.

    • @nidhivadiwala1869
      @nidhivadiwala1869 8 років тому +1

      Thank you mukesh. You are doing great job. I really appreciate your work :).

  • @Virubabu
    @Virubabu 8 років тому

    Lovely Explanation and so simple. it is of great help.

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +RAJ KISHORE NAYAK Thanks Raj keep visiting other sections as well.

  • @vijaybhaskar9996
    @vijaybhaskar9996 7 років тому +1

    Nice videos really helpful Thanks

  • @bibhasdebbarman8811
    @bibhasdebbarman8811 7 років тому +1

    Hi Mukesh,
    I am learning Selenium and following your videos only which is giving me much confidence. There is one question- POM vs Object Repository what is difference between them and which is one mostly used in real time project?

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Hi Bibhas,
      It totally depends company and framework. I always prefer Page Object Model for locator and Property file for configuration.

  • @sudhirbchauhan
    @sudhirbchauhan 9 років тому +1

    Great Vedio Mukesh..! Thanks..!

    • @Mukeshotwani
      @Mukeshotwani  9 років тому

      +sudhir chauhan Thank you Sudhir

  • @jyothifalamari7602
    @jyothifalamari7602 8 років тому

    Hi sir, nice video very simple and clear explanation...Thank you

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Hye Jyothi I am glad that you liked videos. Kindly check other section too.

  • @pranav5829
    @pranav5829 9 років тому +1

    thanks Mukesh!! This helped me a lot.. Nice initiative.

  • @sebastus27
    @sebastus27 5 років тому +1

    Mukesh otwani
    for each test case do I have to make a new package?

  • @mohitchouhan6268
    @mohitchouhan6268 6 років тому +2

    Hi Mukesh,
    what about scenario where we have a transition from one page to another page(like a submit button), where we will store the locator for such elements?

  • @stasosychanskyi1833
    @stasosychanskyi1833 8 років тому

    Hi Mukesh!
    It's really easy for my to understand all your videos.
    Currently I'm trying to get the job as a Automated Test, may I ask you a few questions?,cuz I can't really figure out some issues

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      ya sure plz post your questions to forumsforqa.com I will reply

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +Stas Osychanskyi Hi Stas sure kindly drop your doubts to mukeshotwani@learn-automation.com

  • @prithvivishwanath
    @prithvivishwanath 7 років тому +1

    Hi Mukesh sir ,
    i followed all your videos it is simply superb :)
    just 1 question , learning all your selenium videos now shall i attend interview ?
    or else any more is there to learn apart from your videos to crack selenium interview .. please suggest me sir .

  • @vallurudurgaprasad8864
    @vallurudurgaprasad8864 8 років тому

    Thank you. Mukesh. This is super...

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Thanks Valluru :) Happy weekend.

  • @rohitbandekar26
    @rohitbandekar26 4 роки тому +1

    Hello Mukesh i am getting Junit test while going for Run as... pls suggest

    • @Mukeshotwani
      @Mukeshotwani  4 роки тому

      Hi Rohit, you need to install TestNG for this, here is the link learn-automation.com/how-to-install-testng-in-eclipse/

  • @shivKT733
    @shivKT733 7 років тому +1

    Thanks Mukesh for the superb video and for very good explanation.
    Can you please make a video for Hybrid framework(Keword driven and Data driven).

  • @unnatisoni
    @unnatisoni 7 років тому +1

    Very nice explanation n easy to understand..can you please create a video for hybrid framework ?
    Thanks!

  • @laxmideepika
    @laxmideepika 8 років тому +1

    Really Very useful.... thank you

  • @MamunKhan-kk2cf
    @MamunKhan-kk2cf 4 роки тому +1

    Very nice tutorial Mukesh. my question is where did put gecko driver path. i.e system.setproperty(key, value); I'm little confused.

    • @Mukeshotwani
      @Mukeshotwani  4 роки тому +1

      Earlier there was no gecko driver when I recorded this session.

  • @sameersk7759
    @sameersk7759 3 роки тому +1

    Hi Mukesh Bro.
    why not create a static instance of driver in base class and use it across all pages. would like to know how is this different to constructor method please.

    • @Mukeshotwani
      @Mukeshotwani  3 роки тому +1

      If you keep static then u won't be able to do parallel testing

  • @varishdwivedi1271
    @varishdwivedi1271 8 років тому

    Hi Mukesh, You have explained POM very well and I really appreciate if you can help me preparing most asked Interview Question, Define your Framework ?I always lost during this question.

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Hi varish sure will upload soon.

  • @kirti9255
    @kirti9255 8 років тому +1

    Awesome video!!

  • @faizashehzadi8726
    @faizashehzadi8726 6 років тому

    Its helpful videos. Thanks