Page Object Model pattern with TestNG Framework | End to End Test Automation Project Selenium

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 129

  • @aarifraja4898
    @aarifraja4898 11 місяців тому +3

    This video is really helpful. I followed many videos to learn POM. But this session cleared all my doubts and it was very easy to understand the concept. Thank you sir🤝

  • @harshhwardhanrai3716
    @harshhwardhanrai3716 2 роки тому +8

    This was the fourth video I searched on POM topic and now finally got the concept. Thanks for explaining in this much detail.

  • @aditijha6254
    @aditijha6254 9 місяців тому +1

    This video is really helpful. this session cleared all my doubts and it was very easy to understand the concept. Thanks for explaining in detail.

  • @PratikDhake-i4w
    @PratikDhake-i4w Рік тому +1

    This session is very helpful, I searched so many videos on POM but I found this one to be very informative and easily understandable. Thank You for such a nice session✌

  • @efuraa
    @efuraa 2 роки тому +3

    Takes for this tutorial Suresh, I needed a refresher before an interview n.n

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

      Thanks for writing..
      I have listed interview questions series please check out my playlist.

  • @tapaskhandai
    @tapaskhandai Рік тому +2

    Hi , Could you please make a video on the constructor role in POM. How it works? Why we need to create a constructor in every page? What will happen if we dont create constructor ?

  • @bhairub3358
    @bhairub3358 2 роки тому +2

    Explanation is nice and plz make some more videos on theme of real project.

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

    Thank you sir for making this video. It really helped me.

  • @Shubham-fk4is
    @Shubham-fk4is 8 місяців тому +3

    is it required to use POM???????

  • @sinaiministries-pranathika1333
    @sinaiministries-pranathika1333 6 місяців тому +1

    Hi Suresh, can you let me know if page factory has to be used in each webpage class for web elements initiation?

    • @SureshSDETAutomation
      @SureshSDETAutomation  6 місяців тому

      Yes you need to create pagefactory per page or you can reuse by using inheritance concepts

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

    java.lang.NullPointerException: Cannot invoke "org.openqa.selenium.WebDriver.manage()" because "this.driver" is null

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

    high priority is given to the search operation. And while running serach operation takes place first but in the console serach operation result is printed as second, Can you explain why?

  • @Shubham-fk4is
    @Shubham-fk4is 8 місяців тому +1

    Have you made any video on Selenium data driven framework with POM?

  • @TrigzYangco
    @TrigzYangco 5 місяців тому +1

    Thanks Bhai. It's really helped me a lot.

  • @sarikagharage1118
    @sarikagharage1118 5 місяців тому +1

    Can we add another testcases or package for locators and call that package.

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

    Why did you use deprecated method Implicitlywait without Duration?

    • @SureshSDETAutomation
      @SureshSDETAutomation  Рік тому

      I was using the old version of selenium during the time of session i guess

  • @sunejashah3176
    @sunejashah3176 5 місяців тому +1

    Why we have used build and plugins?

  • @gayatritankar7856
    @gayatritankar7856 9 місяців тому +1

    Hello sir, I tried xpath, css selector: still getting the same errror here: Exceptions Caughtno such element: Unable to locate element: {"method":"xpath","selector":"//a//h3[text()='Facebook - Log In or Sign Up']"}. Could you please help me to resolve this issue?

    • @SureshSDETAutomation
      @SureshSDETAutomation  9 місяців тому +1

      Try to use the relative path or try selectorshub tool

    • @naveen_raja2891
      @naveen_raja2891 8 місяців тому +1

      Hi gayatri - even i got the same error becz i have move forward in the video.
      Please use priority for each test method and run u will be able to pass 😊

  • @shradha1210
    @shradha1210 7 місяців тому +1

    Hi Suresh,
    could you please share the plugins that u mentioned in last 5 mins in your clip.

  • @MyPersonalSpace-uh3wd
    @MyPersonalSpace-uh3wd 6 місяців тому +1

    Please share plugins. i didn't find in the description

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

    Hi sir ,have small confusion please clarify , in your video u never user PageFactory.Initelements , is this possible to set up POM frame work without pagefactory keyword.

    • @SureshSDETAutomation
      @SureshSDETAutomation  Рік тому

      Please check out my playlist on POM
      ua-cam.com/play/PLAkEcrdilZ4nhGjwZTSHYV3Xo6xuIckzk.html

    • @maheshbabu637
      @maheshbabu637 Рік тому

      @@SureshSDETAutomation thank a lot

  • @AbhishekKumar-go8of
    @AbhishekKumar-go8of 2 роки тому

    Very Helpful to understand the logic clearly...Thank you Sir

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

    Really very good i understand very well .....
    Thank you so much Suresh

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

    Hi thanks for the video, is it possible to share git link for the framework if its public?

    • @SureshSDETAutomation
      @SureshSDETAutomation  Рік тому

      Thanks for writing, in future all scripts will be added into the repo. Please stay tuned for updates

  • @monam1671
    @monam1671 9 місяців тому +1

    Test cases skiped not passes what to do...i did everything as you shown in this vedio

    • @SureshSDETAutomation
      @SureshSDETAutomation  9 місяців тому

      Set the priority and see

    • @monam1671
      @monam1671 9 місяців тому +1

      @@SureshSDETAutomation yes tried its working now

    • @monam1671
      @monam1671 9 місяців тому +1

      And for my case i changed testng version to 7.8 then all test cases executed

    • @monam1671
      @monam1671 9 місяців тому +1

      Please do more vedios like this realtime projects its really helpfull

    • @SureshSDETAutomation
      @SureshSDETAutomation  9 місяців тому

      Thanks for writing

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

    Hi brother I'm also automating one webpage using POM+testNG I'm getting exception while executing please try to help me

    • @SureshSDETAutomation
      @SureshSDETAutomation  Рік тому

      What is the error ?

    • @aditya_kittu22
      @aditya_kittu22 Рік тому

      @@SureshSDETAutomation i'm getting nullpointer exception with Cannot invoke "org.openqa.selenium.WebElement.getTagName()" because "element" is null

    • @SureshSDETAutomation
      @SureshSDETAutomation  Рік тому

      Please check out my locators sessions on the selenium beginners playlist.

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

    Hi help me how create object globally for the page classes

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

    I Am facing an error "org.openqa.selenium.hasauthentication maven" while running. Please can you help me with this? Thank you

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

      Can you checkout my testng or page object model playlist for better maven project creation

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

    Hi ,
    I m currently working as a manual tester , planning to switch into Automation Testing,
    I heard that 10 yrs experienced tester can be easily replaced with 5 yrs experienced tester for cost cutting, So that 10 yrs experienced tester will loose the job !
    And also people say that ,
    In dev 10 yrs experienced dev cannot be replaced by 5 yrs experienced dev in any company unlike Testers , is that true ?
    Please reply
    Does testers don't have life after 10/15 yrs work experience?
    Anyone who has experience, please clarify this.

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

      Great question
      If we do manual testing for 10+ years, a 2 years experience guy can easily replace.
      If you should be never be replaced. You should come out of your comfort zone and learn all automation frameworks and in a position to take any challenge.
      Replacing a full stack qa is not that easy sometimes 2 resources required to replace one full stack.
      So learn and implement automation, performance, and security testing.

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

      @@SureshSDETAutomation thanks

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

    getting this issue while running - required your suggestion sir 2023-09-01 09:06:20 DEBUG ResolutionCache:186 - Resolution chrome116=116.0.5845.96 in cache (valid until 08:42:49 02/09/2023 IST)
    2023-09-01 09:06:20 INFO WebDriverManager:1212 - Using chromedriver 116.0.5845.96 (resolved driver for Chrome 116)
    2023-09-01 09:06:20 DEBUG WebDriverManager:1167 - Driver chromedriver 116.0.5845.96 found in cache
    2023-09-01 09:06:20 INFO WebDriverManager:1265 - Exporting webdriver.chrome.driver as C:\Users\abc\.cache\selenium\chromedriver\win64\116.0.5845.96\chromedriver.exe

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

    Very well explained

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

    Can you please share the xml configuration to setup the environment

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

      Sure
      Can you please checkout my community posts there i have shared XML file.

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

    Very helpful. Thanks
    Please can you share the link to the next session. Thanks

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

    Nicely explained content. 🎩

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

    Very nice explanation

  • @Bosha_
    @Bosha_ Рік тому

    When did you create objectrepo2 in lines 48 - 51? And why do you use them? 56:56

    • @SureshSDETAutomation
      @SureshSDETAutomation  Рік тому

      Please follow my playlist for detailed session on page object model

    • @Bosha_
      @Bosha_ Рік тому

      @@SureshSDETAutomation Thanks Suresh, but I have watched all lectures (five) before this one, very detailed and I also have the same code in my IntelliJ. It was very clear when you used objectrepo. You just implement objectrepo2 at 53:52 but I cannot understand why. Is it obligatory?

    • @SureshSDETAutomation
      @SureshSDETAutomation  Рік тому

      To answer your question
      Objectrepo2 is created for the Facebook page. And i am using that reference to access all the methods, locators from that page.

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

      @@SureshSDETAutomation Thanks, I figured out how and why you created it

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

    To be honest great keep it up

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

    Hi Sir, Do you have a Github Repo for this?

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

    Do you have a Github Repo for this?

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

    Hello, I like the video very much, it is very useful for me.I have question regarding the Framework please suggest how do we select the type of Framework. Either it be Data Driven or Keyword driven or any other.

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

      Thanks for writing
      It depends on who uses the framework.
      If the product management teams are involved then use data driven + bdd
      If it's used by internal like dev and qa any framework will be ok.

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

      @@SureshSDETAutomation Thank You very much for the quick response, Please let me know if you created Video Tutorials for Jenkins and Github.

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

      Please check out my channel for any software testing, automation related sessions.

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

    Can u explain about Test NG and Cucumber

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

    Very good tutorial....

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

    Awesome, thank you!

  • @debjyotiroy6651
    @debjyotiroy6651 3 місяці тому +1

    Thanks a lot

  • @KishorIraj24
    @KishorIraj24 Рік тому

    Can't find plugins in description 😢

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

    Your video is really very helpfull

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

    Thanks a lot.... really helpful video

  • @ghousemohammed7254
    @ghousemohammed7254 10 місяців тому +1

    I think this video is combination of video 1 to video 5

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

    Best 👍🏻👌🏻

  • @AbhishekKumar-go8of
    @AbhishekKumar-go8of 2 роки тому

    Can you provide programming file of this video please...

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

      Sure will provide as part of Jenkins series. Stay tuned for updates

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

    Please provide the program files!!!! 😭😭🙏🙏🙏🙏🙏🙏🙏

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

      Can you follow my session and do by your self Das. If i give you files you will never what and why you need to use any condition or code.

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

    Amazing, can I get it's code as I'm facing some errors

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

      Sure
      shtechpro@gmail.com

    • @aswathip833
      @aswathip833 Рік тому

      @@SureshSDETAutomation sir how to take screenshot of login and registration page in maven, what are the depencies to be added

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

    Hi Suresh I need notes or Pdf of this session

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

    Perfect solution :)