Architecture of Page Object Model (POM) Design With Selenium - Part -1

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • Page Object Model (POM) Design With Selenium WebDriver- Part -1:
    +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/nav...
    =====================================================
    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.naveenautom...
    ========================================================
    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:
    www.youtube.co...
    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/...
    Recorded Paid Courses
    Please refer following pages for paid courses:
    For Java & Selenium - naveenautomatio...
    For API (Manual + Automation) - naveenautomatio...
    -------------------------------
    ✔️SOCIAL NETWORKS
    Facebook: / naveenqtpexpert
    Twitter: / naveenkhunteta
    Blog: www.naveenautom...
    --------------------------------
    Support My Channel✔️Or Buy Me A Coffee
    Paypal: paypal.me/nave...
    Google Pay: naveenanimation20@gmail.com
    --------------------------------
    ✔️Thanks for watching!
    देखने के लिए धन्यवाद
    Благодаря за гледането
    感谢您观看
    Merci d'avoir regardé
    Grazie per la visione
    Gracias por ver
    شكرا للمشاهدة

ความคิดเห็น • 416

  • @patelarpan4160
    @patelarpan4160 5 ปีที่แล้ว +195

    Hi Naveen!!
    Arpan here from Canada.
    You are simply amazing.
    I just got job in Toronto on the auspicious day of Diwali. You have played main role in my success. I had 3 offer letters. I was confused that how can I thank you for your contribution. Now, I am helping others in my college group to get job. By doing this, I hope that I can contribute in your dreams. God bless you and you will achieve your goals for sure. No one can stop you!!

    • @anikethambekar4678
      @anikethambekar4678 5 ปีที่แล้ว

      PATEL ARPAN Hello Arpan.. please can you let me know how can I contact you ? It’s regarding job. I have the experience of 2.4 from Capgemini.

    • @barood5
      @barood5 4 ปีที่แล้ว

      Hi Arpan bro, hope to be fine and doing well. please could you contact me via What,sApp (+91 571-276-9955) or right here . thanks

    • @mb_madhuri
      @mb_madhuri 4 ปีที่แล้ว

      Very well explained

    • @saimachowdhuri7385
      @saimachowdhuri7385 4 ปีที่แล้ว

      Madhuri Bhol how can I get job without experience in USA?

    • @pamitasurana5272
      @pamitasurana5272 4 ปีที่แล้ว

      Hi Arpan I am also in Canada and actively looking for job in Qa automation any help will be appreciated.may I know how to reach you

  • @jayp466
    @jayp466 2 หลายเดือนก่อน +6

    Who is learning POM again in 2024😊😊

  • @rkaravind
    @rkaravind 4 ปีที่แล้ว +47

    Hey Naveen, many people in the industry are experts technically and know complex things. But not many have the will and kindness to share knowledge. If someone has the will then they might not be a great teacher. You have a very rare combination of having a great heart to spread the knowledge and a gifted teacher who can teach in an awesome way. Our colleges need to have teachers like you. Thanks for sharing the knowledge, your efforts are greatly appreciable. Keep up your good work. I wish you reach millions of subscribers soon. That day is not far.

  • @deeparkrk6698
    @deeparkrk6698 6 ปีที่แล้ว +23

    And thanks a ton for such a selfless service in the teaching field. Without expecting anything in return. Free training n dedicating so much of your time. Knowledge sharing. Hats off.

  • @manaligupta1098
    @manaligupta1098 7 ปีที่แล้ว +27

    Sir i have subscribed to many such channels. So far yours is the best teaching skills i have come across. Finally i got my mentor online. Thanks a lot. Pls put up some FAQs for interview.. Thanks a lot again

    • @naveenautomationlabs
      @naveenautomationlabs  7 ปีที่แล้ว +6

      Thanks Manali ! Means a lot :) Yes, will be sharing the FAQs videos soon! Stay Tuned! :)

    • @yaswanthkumar2586
      @yaswanthkumar2586 6 ปีที่แล้ว

      Hi sir,
      This is yaswanth, I wanted to contact you and could you please let me know , what is good time to contact you and how to contact . please let me know sir

  • @naveenautomationlabs
    @naveenautomationlabs  7 ปีที่แล้ว +1

    Hello Guys, Page Object Model - Part-2 is on Air now. Check it out here: th-cam.com/video/LxJzeiTQGoE/w-d-xo.html

  • @naveenautomationlabs
    @naveenautomationlabs  7 ปีที่แล้ว +1

    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
    th-cam.com/video/H2-3w-GQZ3g/w-d-xo.html

  • @uhsay1986
    @uhsay1986 6 ปีที่แล้ว +4

    Hi , i have 7 yrs of exp and preparing selenium myself .We are doing E2E testing and therefore no automation. I saw one of your video saying a 7 yr candidate shud have 2+ yrs of exp in selenium . My doubts are -- 1) Is it mandatory to show 2+ exp even when the candidate answers all the que in interviw ? 2) Can i show only Data driver framework , not sure if we should always learn all the frameworks and if they are actually used in the organizations ? 3) As a tester , i should know jenkins, GIT too ? or the code is usually taken care by dev team and the above said tools ? --- Sorry many queries , appreciate if you could clear my doubts. Thank You

  • @neeraj9kumarpathak
    @neeraj9kumarpathak 3 ปีที่แล้ว +3

    Thank you Naveen for great video because of this video I got multiple offer . It was helping during framework explanation.

  • @akhilsharma8331
    @akhilsharma8331 4 ปีที่แล้ว +5

    Someone give this man a medal :) thanks a lot Naveen for such valuable content

  • @arunkumarcherukuru2213
    @arunkumarcherukuru2213 5 ปีที่แล้ว +3

    I've commented this words many times but still writing again.. "Selenium ka baap 😎"!!!

  • @samim7373
    @samim7373 2 ปีที่แล้ว +2

    You are awesome! OMG Yes this is the best example of POM, I was watching wrong teachers your so far the best teacher, well done!

  • @9745754904
    @9745754904 5 ปีที่แล้ว +2

    @Naveen AutomationLabs Hi Naveen ,I would like to.thank you for ur tutorial.videos from.which I got to learn a lot and improved my skills.Due to this I got 4 offers which include 2 MNCs like UST and Infosys.Once again thanks a lot, you are helping a lot of people like me to improve their career.Keep going and looking forward to learn more from you.

  • @piyalb4019
    @piyalb4019 6 ปีที่แล้ว +1

    Thanks a lot Naveen for such clear explanation. Subscribed :) and going to check and learn from all your videos.

  • @NandhaKumar-se1yc
    @NandhaKumar-se1yc 6 ปีที่แล้ว +3

    This is helping to learn from the scratch. Thanks for teaching in a diplomatic way. Looking forward for other videos..

  • @Mr_TravelEatWorship_Official
    @Mr_TravelEatWorship_Official 5 ปีที่แล้ว +1

    Tq Naveen

  • @saddammd
    @saddammd 5 ปีที่แล้ว +1

    Are you the one who teaches j2ee in Durgasoft??

  • @dilippal22
    @dilippal22 6 ปีที่แล้ว +8

    Hi Naveen,
    I became fan of your videos. Everything is so good when I compare to other channels. I really loved the Clear and concise explanation in the video. I was actually looking for keyword + data driven framework and came across your channel and found it really interesting. Can I expect Keyword + Data Driven framework videos on your channel? Awaiting reply.

    • @rajeshvem1234
      @rajeshvem1234 6 ปีที่แล้ว +1

      IT is great service you are doing,

  • @memetnur4937
    @memetnur4937 5 ปีที่แล้ว +5

    If you come to LA let me know I have to show my appreciation! thanks man!

  • @ganeshs2539
    @ganeshs2539 5 ปีที่แล้ว +2

    Thank You Soo Much. I have learned alot from your video. Really nice explainations about all the topics you covered. I have learned most of automation concepts from you only and Good offer in Automation Testing. Once again thank you soo much for your knowledge sharing with all :)

  • @deepasharma9528
    @deepasharma9528 6 ปีที่แล้ว +4

    Hi Naveen, while learning, subscribing to mny different selenium tutor.. I came accross your videos, and trust me this is the best stuff I have come across... Thanks a ton for making the videos and making it public. The concepts are so well explained.. I have already started referring your video to many of my colleagues...
    Also could you please let me know which state do you take classes in ?

    • @naveenautomationlabs
      @naveenautomationlabs  6 ปีที่แล้ว

      Thanks for watching. You can reach me at naveenanimation20@gmail.com

  • @prasannaprasy950
    @prasannaprasy950 5 ปีที่แล้ว +4

    Naveen u r truely a MasterPiece in teaching!!✌️👌👌

  • @SumanKumari-qk4lr
    @SumanKumari-qk4lr 6 ปีที่แล้ว +2

    I like the way u explain any concept...it makes things really easy to understand..great work...Thanks!

  • @prakashvish3988
    @prakashvish3988 3 ปีที่แล้ว +2

    Its really very very helpful ❤️ thank you so much naveen 🙏

  • @gayathriandal
    @gayathriandal ปีที่แล้ว +1

    Hello Naveen, I have been following your youtube channel and learnt lots new things , you are doing awesome job to support the community, Here i would like to ask one question, Does selenium webdriver has inbuilt assertion? if yes why we are always using testng assertion? if not why selenium is not providing asssertion as a test automation tool ? Please clarify this question.

  • @Mr_TravelEatWorship_Official
    @Mr_TravelEatWorship_Official 5 ปีที่แล้ว +2

    Naveen..u r simply superb

  • @sunita5789
    @sunita5789 3 ปีที่แล้ว +1

    Thanks for your vedio....it's really useful

  • @navaneethangopal5888
    @navaneethangopal5888 5 ปีที่แล้ว +6

    am really impressed nnaveen...such a good explanation i didnt get from anyone even in my institute...really thanks and good

  • @harmeetkaur7565
    @harmeetkaur7565 5 ปีที่แล้ว +1

    Hi Naveen, please need your guidance on this...Is it acceptable to make more than 1 testng.xml so that i can run my sanity tests seperatly and database tetsing tests seperatly , if i run all of them together, it takes long time and usually login tests r in good condition though the one which connects to the database gives issues...Or let me know which is the better way and if u can give me a reference of some video.Thanks..would appreciate if u can reply

  • @asokahirwar1908
    @asokahirwar1908 3 ปีที่แล้ว +9

    I accidentally clicked on this. BEST ACCIDENT EVER ✌️

    • @Alchemy12
      @Alchemy12 2 ปีที่แล้ว

      😂😂😂 man that was a sick joke 🤞😂

  • @nayabshaik2282
    @nayabshaik2282 ปีที่แล้ว +1

    Meeru Superb Naveen garu... Got clear picture on Framework.. 👍🙏🙏🙏

  • @maroofraktim293
    @maroofraktim293 2 ปีที่แล้ว +1

    In one word "superb". Can't get better than this. Really appreciated sir.

  • @classicideas4789
    @classicideas4789 ปีที่แล้ว +1

    Thank u sir! M very happy😊 whatever u explained about POM it is easily understood

  • @anuak2084
    @anuak2084 6 ปีที่แล้ว +1

    In Data Driven Testing by using Apache POI Libraries write code for row will become columns...

  • @sujeethkumarch2672
    @sujeethkumarch2672 4 ปีที่แล้ว +3

    Only one word I can say woo..ow!!

  • @jyotigorakhe45
    @jyotigorakhe45 6 ปีที่แล้ว +1

    Hi Naveen... Amazing video on POM Hybrid Architecture, I like so much your videos , I clear all doubts about hybrid framework and understand flow of framework. Everything you explain very well ...Thank you so much...

  • @vaibhavladdha340
    @vaibhavladdha340 6 ปีที่แล้ว +1

    Hi Naveen..you have explained POM very well...thanks for the video..Also your group on Telegram has been very useful to me for revising all my concepts.

  • @nandhinik9047
    @nandhinik9047 5 ปีที่แล้ว +2

    Hi naveen, Great teaching skills. very clear cut explanation . thanks for sharing this to us.

  • @sonaltiwari9282
    @sonaltiwari9282 6 ปีที่แล้ว +3

    You described it really well! Thanks Naveen! :)

  • @NarendraSingh-nx8hf
    @NarendraSingh-nx8hf 6 ปีที่แล้ว +1

    Hello Naveen I like you video but where is code of this video i didnt get.......do you have selenium whole course.. plz let me know if you make it in sequentially.
    Thananks

  • @MrViki30
    @MrViki30 6 ปีที่แล้ว +1

    Very clear explanation and with short&good explanation..Please continue ur good work more for us...thumbs up

  • @umidakhonmukhitdinova5936
    @umidakhonmukhitdinova5936 4 ปีที่แล้ว +2

    Hi Naveen. You are amazing teacher! Easy to understand, thanks a lot. God bless you

  • @mustanggt5713
    @mustanggt5713 5 ปีที่แล้ว +6

    Solid knowledge and excellent teaching skills. Kudos to you for a crisp and clear explanation. You have a natural knack for teaching. I will watch all your videos. Subscribed !

  • @canadaWealth
    @canadaWealth ปีที่แล้ว

    I need Serious Help naveen. please help me to resolve Error........................
    java.lang.NullPointerException: Cannot invoke "java.util.Properties.getProperty(String)" because "com.practice.qa.testcases.LoginPageTest.prop" is null

  • @tejaswinigadge4696
    @tejaswinigadge4696 6 ปีที่แล้ว +1

    sir, i have tried pom with jenkins i have created 3 classes for testcases added all in testng.xml but when running through eclipse all classes are executing but when do through jenkin only 1 class executing .i am using maven project .can u plese tell what should be the issue?

  • @arunpradeep9426
    @arunpradeep9426 6 ปีที่แล้ว +1

    Hi Naveen, your video is really easy to understanding the concepts...i have a question to you.. kindly address it.. my question is i have created the framework by using testNg with page object model.. in my base package i have initialize the browser, declare the webdriver as static and reading he properties files... since i am using page object model design i have created a repository for each pages, then i have create test cases. if i run it individual its working fine but if i make it parallel its not executing i got the error message as "No configuration methods found" and "Data provider mismatch"... kindly address it... i got the error due to Static method which means i declared webdriver as static, some keyword like string and int declare as static too...

  • @deeparkrk6698
    @deeparkrk6698 6 ปีที่แล้ว +1

    Hi Naveen, you have well explained the concept of pom here. But I'm lil confused b/w testbase class n util class. Both serve the same purpose of handling generic n repeatedly used methods then why can't we store everything in testbase? Pls put some light on this. Does child classes extends both the classes?

  • @Shreysanthu
    @Shreysanthu 5 ปีที่แล้ว +1

    I couldn't go back without subscribing so Subscribed to learn from you. Sir, Honestly your explanation is clearly understandable. Happy Testing!

  • @deepakkulkarni1469
    @deepakkulkarni1469 6 ปีที่แล้ว +1

    Hello Naveen u r the best teacher I ever seen.thanks for creating videos and explain very well.thanks a ton....
    Plz upload all related topics of selenium I subscribed you r channel and suggest mybfnds to subscribe and like. thank you...

  • @shushmasree3634
    @shushmasree3634 6 ปีที่แล้ว +3

    Hi Naveen,
    How are you?
    I have questions can you help me on this it will help me in the interview.
    Ques 1: One (ABC) company interviewing for Manual and Automation tester. there they use Selenium webdriver to automate the application. They said they not using any Framework(Junit or TestNG) as well any version control. based on the manual test cases they are developing automation tests in Page Object Model. For every separate tests they are creating separate classes in POM.
    Based on this situation what type of questions i can expect in In-person interview. Also suggest me what i have to prepare.
    Ques2: I inspected the correct elements and developed the code based on application .
    But my code is not running properly(as i expected). How can i solve that issue?
    Ques 3: How to take the use cases from Jira?
    Please answer these questions and give some suggestions based on the situation.
    This is very very imp to me. I have interview. Plz plz help me
    Thanks

  • @venkateshkadari7341
    @venkateshkadari7341 4 ปีที่แล้ว +1

    hi naveen, so POM+TestNG+Data driven combinedly can we call Hybrid Framework?

  • @Shreysanthu
    @Shreysanthu 5 ปีที่แล้ว +1

    Inspired by you now. Now I understood what is POM. I want to learn more from you. I am very much satisfied with your explanation. How do I need to enroll ? Please advise sir. If I subscribe that's enough to get all your training videos.

  • @radhikabnarayan
    @radhikabnarayan 4 ปีที่แล้ว +4

    HI Naveen, Thank you tons for taking time and explaining POM so systematically. Makes it very clear. Look forward to more videos.

  • @sravanireddyss4880
    @sravanireddyss4880 4 ปีที่แล้ว +2

    Thank you for detailed explanation

  • @vineetapandey249
    @vineetapandey249 6 ปีที่แล้ว +2

    I have never ever given a single comment in any youtube video so far and after watching this tutorial i am forced to write.......just loved this....topic is very well explained and your explaining skills is just wonderful :)
    Many thanks to you for the in-depth knowledge on POM !!

  • @gnanamurthyl9947
    @gnanamurthyl9947 4 ปีที่แล้ว +1

    Hi, Naveen!. I'm just a fan of your knowledge and content presentation skills after watching your video. Thank you so much for POM.
    Did you plan the Selenium with C#?
    I'm looking at so many other videos on youtube, but no one is not much good Like you...

  • @ansh30in
    @ansh30in 6 ปีที่แล้ว +1

    Very informative and helpful tutorials. Thanks for such a nice narration. Could you please add log4j tutorial for POM model. Eagerly waiting for the same.

  • @dhanrajkuppusamy3557
    @dhanrajkuppusamy3557 6 ปีที่แล้ว +1

    Hi Naveen,
    Simply Superb. Very good explanation and keep rocking

  • @nitingupta82
    @nitingupta82 6 ปีที่แล้ว +1

    Hi Naveen, Thank you for the video! I am able to perform all the steps mentioned over here but is not able to Login to the HomePage upon pressing the Login Button! The page simply gets refreshed! Could anyone please help me with this! Thanks!

  • @dude20121982
    @dude20121982 6 ปีที่แล้ว +1

    very useful , Naveen can you please share some thoughts on sample automation framework design that can capture objects faster like recording in tools like RFT/QTP ..and counter verifying the objects recorded.

  • @ushas6904
    @ushas6904 6 ปีที่แล้ว +1

    hi, very good explanation given for POM, can you please show working example for the above ?

  • @afifahmed1183
    @afifahmed1183 3 ปีที่แล้ว +1

    u had 542 subs now you have 187k. you deserve more. love how you explain things. QA market here in new york is very lucrative, your sessions will help me . Thank You :)

  • @2009serfer
    @2009serfer 5 ปีที่แล้ว +3

    Thanks a lot for such a great way of explaining things. Really very clearly explained.

  • @sshldas
    @sshldas 5 ปีที่แล้ว +2

    Thanks a lot. It helps me to understand the POM model

  • @chinmayeepatro3013
    @chinmayeepatro3013 6 ปีที่แล้ว +1

    Awesome explanation for page object model.Thank you so much for this.You are doing very good job, appreciate your efforts.

  • @venumadhav4509
    @venumadhav4509 6 ปีที่แล้ว +1

    Thanks Naveen for this wonderful video. I got a job by explaining the approach mentioned by you in this video.

  • @prakharpatwa4480
    @prakharpatwa4480 6 ปีที่แล้ว +1

    Hi Naveen,
    Thank you for the framework tutorial.
    I am trying to impliment screenshot on failure test cases in the extent report but I am not able to do that (on the basis of framework). I saw your seperate tutorial for adding screenshot on failure test cases but it didn't workout.
    Do you have or any one have any solution/suggestion?

  • @lokeshreddy4072
    @lokeshreddy4072 6 ปีที่แล้ว +1

    If possible u can make a video .... Real time frame work not like hot coded

  • @vimalraj9476
    @vimalraj9476 6 ปีที่แล้ว +1

    It very useful ..I loved it...I have seen very gud human in you..thank u so much dear...

  • @MrAnurag2006agarwal
    @MrAnurag2006agarwal 6 ปีที่แล้ว +1

    Awesome explanation for page object model in such a simple language....

  • @praveenshahapurmath834
    @praveenshahapurmath834 5 ปีที่แล้ว +1

    Excellent Videos Naveen. Thank you soo much for valuable information, in which I was struggling hard to gather it. U made all the concepts crystal clear for me.

  • @jyotimukherjee4347
    @jyotimukherjee4347 3 ปีที่แล้ว +1

    Thank you thank you thank you Naveen Sir. You r a great mentor. I m very new to automation.. and from last 1 month m following ur videos . You are a gem sir

  • @mohanasurapaneni378
    @mohanasurapaneni378 6 ปีที่แล้ว +1

    Thanks Naveen. Nice explanation of POM design pattern

  • @ManjunathNP
    @ManjunathNP 6 ปีที่แล้ว +3

    Hey Naveen - this is the best explanation of POM that I have come across - appreciate your efforts. The flow and explanation with appropriate examples are excellent. Thankful for all your videos and please continue the great work and keep "Enlightening" us!! :)

  • @NimbuCB
    @NimbuCB 6 ปีที่แล้ว +1

    To the point explanation very good, very clear and very neat.Pls keep up the good work.

  • @srisakthi1879
    @srisakthi1879 6 ปีที่แล้ว +1

    hi i would like to know the diff between the testbase and testUtil class that u have mentioned. as per example both the classes have common functions that will be used in the child classes. can u explain the diff btw testbase and testUtil classes.

  • @be.flawsome
    @be.flawsome 5 ปีที่แล้ว +2

    Thanks Naveen.
    The way you have explained selenium concepts in your videos is just amazing. Just by referring to your videos, I have finally made a complete project from scratch. Thanks for sharing them with all of us.

  • @ravindersanjay
    @ravindersanjay 6 ปีที่แล้ว +1

    Very well explained . Best video on Selenium hybrid framework designing using page object model. good thing is Code is also provided by Naveen

  • @bhaktipatil2939
    @bhaktipatil2939 6 ปีที่แล้ว +1

    Can we implement POM in Keyword driven framework?

  • @navnathsujgure6363
    @navnathsujgure6363 6 ปีที่แล้ว +1

    u have explained really nicely . can u show how to integrate via Go Pipeline

  • @vedant1637
    @vedant1637 5 ปีที่แล้ว +2

    You are THE best.

  • @enrahul4832
    @enrahul4832 6 ปีที่แล้ว +1

    Thanks Naveen, for description. It's really helpful :)

  • @kshitijagaikwad882
    @kshitijagaikwad882 3 ปีที่แล้ว +2

    you are just awesome sir. The best teacher, mentor, trainer ever. Salute to your honest efforts...thanks a lot Naveen sir..

  • @muratd.2
    @muratd.2 6 ปีที่แล้ว +1

    Hi Naveen, in this video you say LoginPage which has PageFactory class and @FindBys as Object Repository but CucumberPOM video you say config.properties as OR, so which is more accurate approach. Thank you.

    • @dineshkariveda
      @dineshkariveda 6 ปีที่แล้ว

      Hello sir m beginner for this automation testing n while m reading the properties file m getting the error like could not find or load main class name caused by: java.lang.classNotFoundException

  • @bharathv2153
    @bharathv2153 4 ปีที่แล้ว +1

    Excellent sir, very much informative and ease of understanding.

  • @ruchitchanchawat2560
    @ruchitchanchawat2560 6 ปีที่แล้ว +1

    Hello Naveen I must say i have seen lots of vidos on automation ,,but this is the far most best description of Page Objects Models.

  • @swapnilbodade1336
    @swapnilbodade1336 5 ปีที่แล้ว +1

    You are the best.
    Speechless teaching..👌👌🙏🙏👍👍

  • @hetalsonani709
    @hetalsonani709 4 ปีที่แล้ว +2

    Hey Naveen , you are simply great. Loved your teaching style a lot. You have great expertise of selenium and automation. I have watched your videos so many times and continue watching and learned a lot from them. Thank you so much for your all the efforts...

  • @anitagadde2318
    @anitagadde2318 6 ปีที่แล้ว +1

    Could you also explain how to run only selected testcases in Jenkins.

  • @priyankagupta2424
    @priyankagupta2424 4 ปีที่แล้ว

    Hello Naveen, As per ur POM framework , how to do parallel testing using @Parameter ? In ur TestBase, we are declaring driver as a static due to which it is not supporting parallel testing for multiple browsers.Please find my TestBase Class :-
    package com.amazon.qa.base;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Properties;
    import java.util.concurrent.TimeUnit;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.chrome.ChromeDriver;
    import org.openqa.selenium.firefox.FirefoxDriver;
    import org.openqa.selenium.ie.InternetExplorerDriver;
    import org.testng.annotations.AfterClass;
    import org.testng.annotations.BeforeTest;
    import org.testng.annotations.Parameters;
    import com.amazon.qa.util.TestUtil;
    public class TestBase {

    public static WebDriver driver;
    public static Properties prop;

    public TestBase() throws FileNotFoundException {

    prop=new Properties();
    FileInputStream ip= new FileInputStream(System.getProperty("user.dir") +"\\src\\main\\java\\com\\amazon\\qa\\config\\config.properties");
    try {
    prop.load(ip);
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }
    }

    @BeforeTest
    @Parameters("myBrowser")
    public static void initialization(String myBrowser) {

    if(System.getProperty("os.name").contains("Windows")) {
    if(myBrowser.equalsIgnoreCase("chrome")) {
    System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir") + "\\driver\\chromedriver.exe");
    driver = new ChromeDriver();
    }
    else if(myBrowser.equalsIgnoreCase("Firefox")) {
    System.setProperty("webdriver.gecko.driver", System.getProperty("user.dir") + "\\driver\\geckodriver.exe");
    driver = new FirefoxDriver();
    }
    }
    driver.manage().window().maximize();
    driver.manage().deleteAllCookies();
    driver.manage().timeouts().pageLoadTimeout(TestUtil.PAGE_LOAD_TIMEOUT, TimeUnit.SECONDS);
    driver.manage().timeouts().implicitlyWait(TestUtil.IMPLICIT_WAIT, TimeUnit.SECONDS);
    driver.get(prop.getProperty("url"));
    }

    @AfterClass
    public void tearDown() {
    if(driver!=null) {
    driver.quit();
    }
    }

    }
    Please advice.

  • @sumabaijojode3038
    @sumabaijojode3038 6 ปีที่แล้ว +1

    Excellent Job!!Thank you very much!!

  • @siddeshwarmithbavkar4232
    @siddeshwarmithbavkar4232 6 ปีที่แล้ว +1

    Nice video...!! Should the methods of features be made static or non static? for eg. the loginMethod() , searchmethod(), etc. Whci type is preferred?

  • @PriyankaRP-lv4on
    @PriyankaRP-lv4on 5 หลายเดือนก่อน

    Hey Naveen, Your all the tutorials video are amazing. I started to learn Playwright from your playwrite playlist. Did you have tutorial video for playwright with cucumber framework?

  • @himanshubhushan2024
    @himanshubhushan2024 6 ปีที่แล้ว +1

    Hi naveen,please also start python with selenium.

  • @toyworld1745
    @toyworld1745 6 ปีที่แล้ว +1

    Sir your Explanation is awsm...thank you so much

  • @navdusaj
    @navdusaj 5 ปีที่แล้ว +1

    Thanks Naveen, you are a blessing for QA community. Please keep doing good work.

  • @prashantvernekar2395
    @prashantvernekar2395 5 ปีที่แล้ว +3

    Thanks Naveen! You're are just amazing. I have found no other person explaining the things as you do.

  • @ramyab6961
    @ramyab6961 6 ปีที่แล้ว +4

    Thanks a lot Naveen.

  • @makkasbekar2701
    @makkasbekar2701 8 หลายเดือนก่อน

    Hi Naveen, even after buying paid course from a famous educational site, I am still here following your course on youtube, one can guess how good your course is and how good your teaching technique is.
    Can you please help kwo if this 6 years old playlist for POM with Selenium is relevant in 2024 or it is obsolete now and I need to refer any newer videos of you ?
    I am requesting please help me to choose your right playlist/ videos for selenium in 2024. 🙏

  • @aishwaryar8194
    @aishwaryar8194 5 ปีที่แล้ว +1

    Ur method of teaching is very useful to me..... Even in the coaching institute I didn't get these kinda explanation... Thank you very much....