Page Object Model (POM) Design With Selenium - Part -3

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • How to design Page Object Model With Selenium WebDriver:
    +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 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:
    www.youtube.co...
    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/...
    Paid courses (Recorded) videos:
    Java & Selenium Course: www.naveenautom...
    API Course: www.naveenautom... ➡️Get Our Courses✔️
    📗 Get My Paid Courses at
    Paid courses (Recorded) videos:
    Java & Selenium Course: www.naveenautom...
    API Course: www.naveenautom...
    -------------------------------
    ✔️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
    شكرا للمشاهدة
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    i am wondering that even paid channels also wont teach like him .... his dedication is at peaks ... thank u naveen for posting such wonderful videos... god bless u .. bye bye

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

      Thanks for watching

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

      नवीन की शिक्षण पद्धति पेड चैनल्स वालों से कहीं बेहतर है। इनका धैर्य और परिश्रम सराहनीय है।बहुत बहुत शुभकामनाएं।

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

      Very useful videos for experience and fresher

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

    Naveen, your videos are like game of thrones episodes.. I keep on waiting for your next video to come... Haha sounds weird but true! Have learnt a lot fron your videos dude.

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

      Thanks +Manali Gupta! Really appreciate. Thanks for watching :) Keep learning.

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

      That would be interesting...which character will go for @Naveen..I would say tyrion::he test and know selenium

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

      @@ckumar89 He is a magician in automation.. how simple he explain everything ..

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

      @@naveenautomationlabs DOUBT ...HELP needed...HomePage Test object is not created ,then how come the HomePageTest constructor is invoked to call the super constructor method..cn some one enlighten me on this

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

    New user credentials for Free CRM application.
    new url: @t
    username: groupautomation
    password: Test@12345
    If you want to register your account on this site, please use this : @t

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

    Naveen AutomationLabs - Channel Full Playlists on TH-cam:
    Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
    th-cam.com/users/Naveen%20AutomationLabs?sub_confirmation=1
    Playlists URLs:
    =========
    1. Core Java:
    th-cam.com/play/PLFGoYjJG_fqqyIj2ht0aHMx_HnGX3ZFEx.html
    Desc:
    Learn Core Java Step By Step. These tutorials videos are specially designed for beginners.
    ==========
    2. Selenium WebDriver:
    th-cam.com/play/PLFGoYjJG_fqo4oVsa6l_V-_7-tzBnlulT.html
    Desc:
    Learn Selenium WebDriver (Selenium 3.x) from the beginning.
    If you are a Manual tester who is eager to upgrade to the Automation skills.
    1. Learning to automate Real-time project scenarios.
    2. Learn to convert Manual test case to Automation script.
    3. Framework design with respect to Real-time projects.
    4. Learn end to end automation using Continous Integration by Jenkins tool.
    ============
    3. TestNG:
    th-cam.com/play/PLFGoYjJG_fqp25buwscrsKA5q8qsLsuUy.html
    Desc:
    Learn TestNG Framework Step by Step. TestNg integration with Selenium WebDriver
    ============
    4. Learn Dynamic Xpath:
    th-cam.com/play/PLFGoYjJG_fqoY3PNcMLjp4pJZSXUCHeiB.html
    Desc:
    Do you want to have expertise in Selenium, Learn Dynamic XPath!
    Become a genius in XPath and crack interview like a Pro!!
    ===========
    5. Data Driven Framework:
    th-cam.com/play/PLFGoYjJG_fqqlW6swKwutBOVU2O8k_JHT.html
    Desc:
    Learn how to implement Data Driven Framework by using Apache POI API and TestNG
    ===========
    6. Page Object Model (POM):
    th-cam.com/play/PLFGoYjJG_fqq6cHeqfsDes3pdVh3kpl74.html
    Desc:
    Page Object Model (POM) Design With Selenium WebDriver:
    +Learn Page Object Model Step by Step
    +POM design - Architecture & Pattern
    +What is Page Chaining Model
    +Use of PageFactory API in Selenium
    ===========

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

    1:11:31. Sir ..if both the method having the same priority ..I think they will be executed in alphabetical order . But you have mentioned TesNG will be deciding that.
    Please let me know if I am wrong.
    🙏

  • @KailashSingh-hk6fw
    @KailashSingh-hk6fw 6 ปีที่แล้ว +6

    Hi Naveen, I am watching your videos from POM part-1, I like your teaching skill. Thanks

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

    Hi Naveen,
    I found your videos on framework helpful. Thanks for them.
    I have couple of improvements/suggestions it would be really helpful if you include them in your videos.
    1) Could you please add some more common methods in TestUtils class? i.e. Methods for Explicit Waits, Sync, Alerts etc
    2) In real time apps we need to check Create/Read/Update/Delete as most common tests. Could you please guide how to add automation tests for CRUD operations. i.e. I am creating something using certain set of test data then I want to verify if record gets created using same set of data or not, Verify if I update certain fields then those fields are updated or not, Same case for delete as well.

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

    Naveen, suppose If we are having 150 settings in one common settings page. And likewise, if there is 10 common settings page. So, there will be 1500 settings pages. If we are using this POM design pattern, we need to create 1500 settings pages? [this for settings alone, other than
    Am working on one fully developed product, so it contains n no of pages. Now only we have started automation from scratch.
    If we are creating n no of pages/java class, there will be any impacts in test cases execution time, .. or something else.
    Awaiting for your response! It will be really helpful if we got an idea about it.

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

    Naveen HILL CREST B 1902:
    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

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

    Hi Naveen,
    Could you please help me in using Find Elements in PageFactory Model.
    I am following your Page Object Model (POM) Design With Selenium, but in my application i have to use find elements to identify object as they are dynamic.
    I used dynamic xpath using parent sibling but for some its not working.
    Please help how to use find elements like @FindBy

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

    Awesome explanation naveen...even though I am following some other TH-cam channels, but ever seen this kind clear explanation ....
    Thanks Bro..

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

    Naveen, You are Excellent Trainer....Thank you so much for the videos you shared on Java & Selenium....God bless you...

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

    I laughed out loud when he said Rattafication @20:35 😂😂🙌
    Thanks for the awesome lectures Naveen.
    You are simply Awesome.👍👍

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

    Hi Naveen
    i have followed all the correct steps in the above videos,but when i add the test classes to the xml file and
    run the xml class some of the tests are skipped, is there a specific reason.
    but in the console it doesn't show as skipped.
    How do i correct this?
    i have three test classes and a total of 12 test cases , but only 4 test cases ran.

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

      Hello Naveen, I had the same problem.I have 3 test classes and 15 test cases , but it executed only three but it doesnt show any skipped or failed tests. what can be the reason?

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

    Excellent work, Naveen. I really like your all amazing videos, and I learned a lot . You always Slove my problems on my automation work, thanks a lot.

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

    I have no words to praise his talent.... just I am a B.Com guy, and I am in a position now competing software guys... all this credit goes, Naveen garu... wonderful teacher... All the best, Naveen garu for your future...👍

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

    Hi Naveen, You are just awesome! Never seen anyone explaining so clearly and efficiently. Kudos to your patience.. Keep going.. your videos are really very helpful!! A million thanks :)

  • @p-a5603
    @p-a5603 5 ปีที่แล้ว +1

    Hello, thanks for another great tutorial. Anyway I cannot agree with opening/closing browser after every test case. Maybe it is a little better for the cookies etc., but it is really wasting of time. For example you want to test this check boxes and stuff in Contacts. Once you open browser and navigate to Contacts page, you can start doing multiple tests on this page at once. Instead after your first test case you close browser and again, open, login, navigate back to the place where you already were. I think there would be really better to restrict all opening/logging/navigating/closing procedure on the level of one test class at least.

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

    your videos are very helpful to learn automation from scratch. Thanks a lot for sharing valuable information without any cost.
    your detailed explanation help beginners to under without much effort.

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

    Hi Naveen! I have a question - the framework we are designing here will work fine for parallel execution as well?? or we will need to do some changes for our driver instance?

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

    the best explanation on the entire internet .......hats off to you Naveen Sir

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

    You are doing a great job brother, The way you explain the concepts is amazing. your contribution to the testing community is huge. We need more people like you :) Thanks for all your knowledge sharing sessions it helped me a lot.

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

    u r awesome.Nobody can teach and explain like u.U r really so much intelligent.Thank u for sharing ur knowledge

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

    We can also create testng.xml file by right click on project - testng (2nd last option in the menu) - convert to testng

  • @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

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

    Hi Naveen, really benefited from your videos. But somehow i am getting "The import org.apache.poi.ss.usermodel.Sheet cannot be resolved " while importing this particular class. Can you please help me here

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

    Why clickonContactsLink, clickonDealsLink methods returning class objects. they are working fine on declaring void also.
    Similar question i have for login and home page also: why returning home page object. Please explain.

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

      As per POM, whenever you are landing in the new page, method should return the next landing page class object so that you can call the methods of the next page in your test.
      like login is giving home page class object so that you can call the methods of home page in your test.

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

      @@naveenautomationlabs Thanks for reverting. But, if this is because of POM theory, then it is fine. Otherwise, logicwise this is not understood because things are working fine even without returning class objects. For ex, in HomePage, you have given homePage=loginPage.login(......) in setUp(). What is the need of returning home object in LoginPage and use of homePage reference in stated line when we are not using this anywhere

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

    Why I did not find you earlier, I have been struggling all this while to learn selenium and your videos are worth watching, learning.

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

    Hi Naveen, just a quick clarification on how do you go about automating a a sample e2e scenario where
    1) A page that has 10 field inputs post that
    2) A review page where you validate all the input and
    3) Then an authentication page
    4) Finally an acknowledgement page..?

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

    When I test 2 classes in the .xml file, it ONLY runs the 1st testcase of each class although there are multiple testcases in each class. Can't figure out the problem, can you please explain.

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

    Why I did not find you earlier, I have been struggling all this while to learn selenium and your videos are worth watching, learning.

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

    Hi Naveen, This is the superb explanation of framework design among all that I have seen till now. Would you please give me example where we can use the concept of polymorphism while building the framework?

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

      +sunil chinnayyagari thanks Sunil for watching it. Plz follow pom part 2 and 3. There are other videos are coming soon, which will explain complete oop concept in Framework

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

      why do we have to initialize browser for every test class, we just need to open it once for the all the test right?
      Thanks

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

      @@sudarsanvr same doubt and also we can login once complete all our required testing instead of login for each test...

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

      Naveen please help me with this....

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

      @@sudarsanvr It is not good practice to launch browser only once and execute all test cases. Some cache or cookies issue may occur.

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

    Hello Naveen, Thank you for the videos. I want to capture screenshots in page object model framework. I have a code to take screenshots. Could you please tell me the steps to add the screenshots codes? Do I add the method in utility class and call that method from test class?
    Looking forward to get the answer. Thank you again.

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

    Thanks lot, much needed knowledge which is easy to follow and excel through the learning

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

    Hi naveen, Thanks for the video. I have a query- we can create a new object for homepage class right, why we need to have it returned from login page ?

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

    Thank so much it's amazing what u does

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

    Hi Naveen,
    You are doing a good job, i have got confidence after watching ur video, i was able to explain the POM in interview.
    could you please explain what to do after clicking on search button, cause for every different search,output will be different so
    i am wondering whether we have to create a new search page or just use "Assert.assertEquals(driver.getCurrentUrl().contains(keyword), true);" to verify. what happens in realtime how to write the code ?
    Thanks in advance

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

    Hi Naveen, could you also make videos on how the real world testing happens, i mean mainly which features can be automated and which not...it seems automating entire application not practical..

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

    Naveen, your videos are lifeline for strugglers.. Really greate work and they provide in depth understanding of every topic. This is my first comment on you tube to any Video. So u can understand how much i liked your videos and that I could not resist myself to say how wonderful work you have done!! keep uploading !!!

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

    Hi Naveen.....how to disable the chat pop-up in login screen.... It is always failing allll my test cases.... Please guide mee to disable it...

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

    getting below error when try to run
    org.testng.TestNGException: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at org.testng.TestNG.initializeSuitesAndJarFile(TestNG.java:324)
    can anybody help me with it

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

    superb explanation of framework design. Thank you very much for making video . I have one doubt - how to run these test cases on multiple browser parallel( ie,chrome,firefox,safari- same time parallel ) . in config file we are providing the browser value = firefox, so its running on firefox browser. if i want to run on multiple browser parallel , how i need to set up config file ?? from your frame work .

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

    getting Null pointer exception in @BeforeMethod with the given code.Sir,can you tell me what's the issue.

  • @muralikrishna-ms5xu
    @muralikrishna-ms5xu 6 ปีที่แล้ว

    Hi Naveen,
    I'm not able to luanch browser getting error. Please help me out to resolve this issue.
    FAILED CONFIGURATION: @AfterMethod tearDown
    java.lang.NullPointerException
    Default suite
    Total tests run: 1, Failures: 1, Skips: 0
    Configuration Failures: 1, Skips: 0

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

    Naveen, I really enjoyed your video. I'm glade that I found you. Your the best!

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

    God of automation 🔥....

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

    Hi Naveen, Your Videos are excellent and the way you explain is super'b!!!! but i have a doubt in while navigating the pages, you are returning the objects in the methods, and if we want to return values, how can we achieve this ?
    Ex: public contactsPage clickOnContactslink(){
    contactslink.click();
    return contactsPage();
    }
    public contactsPage clickOnContactslink(){
    String LinkText = contactslink.getText();
    contactslink.click();
    return new contactsPage();
    }
    if we want to return LinkText, how can it be return value ?

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

    Naveen you are awesome. No words to say. Superb explanation

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

    Thank you sooooooooomuch sir.really I am feeling very happy by watching your videos

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

    hi naveen while running same code "java.lang.Error: Unresolved compilation problem:
    Default constructor cannot handle exception type IOException thrown by implicit super constructor. Must define an explicit constructor"
    this error occured

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

    Hi Naveen, I am following this lecture and I am stuck with that part. Its "@keyframe" now can't move forward. If you cant help me out. Will be grateful.

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

    Hello,
    I am unabke to test home page.after providing username and password, on clicking submit button,unable to display home page at the time if run test.also not get title of home page.where is the problem,why I am not able to move on home page?
    Thankyou

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

    You are one my favourite teacher of my life. Best teacher and the way you teach easily anyone can understand the concepts. Thank you so much

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

    DOUBT ...HELP ...HomePage Test object is not created ,then how come the HomePageTest constructor is invoked to call the super constructor method..cn some one enlighten me on this

  • @suhasini4731
    @suhasini4731 3 ปีที่แล้ว

    I faced an issue for reading property file from initialization method was getting NullPointerException so fixed the issue by declaring public static properties prop = new properties(); and public static fileinputstream ip ; globally before declaring constructor.Hope this helps to someone.

  • @manish89arya
    @manish89arya 3 ปีที่แล้ว

    @Naveen, why we have used @BeforeMethod and @AfterMethod in all Test classes OR you have shown better approach in some other video?

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

    Amazing explanation Naveen. Learnt a lot from all your videos. Thank you for posting these videos.

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

    Hi Naveen, first of all Kudos for your work and thanks for making it public for learners. Keep doing :)
    One doubt: You have created a switchToFrame() under util class because it is common method. But i think, it will not act as a common method because we have mentioned "mainpanel" in that method and hard coded the same which would not be common for all the frames. Ideally we should be creating switchToFrame(String frameName). In that case whenever we call it we can pass our desired frame name and then system will switch accordingly.
    Is it correct? please share your understanding

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

      yes, of course you can create it with a string value. I just explained for the understanding point of view. you can make it generic function.

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

      Thanks! Naveen.... Just fan of yours....Keep going Bro :)

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

    Thanks Naveen for all the videos. Your videos are indeed an addiction. Have gained confidence in framework creation only coz of ur tutorials.

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

    Too good Naveen , best tutorial so far i have seen.

  • @shaner217
    @shaner217 3 ปีที่แล้ว

    Why did he create testng.xml in a new folder/package? The testng.xml file was already created in a different folder so what was the purpose of moving it?

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

    Hi Naveen, I got your selenium lectures on TH-cam which are very very excellent and interesting too and which gives really very clear understanding of every concepts in selenium+java. I am very Thankful to you for sharing your knowledge with us. i hope you will also share every updates related selenium or automation testing in future which is best in IT market.Thanks :)

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

    Sir Whenever my second testcase is running error is coming org.openqa.selenium.NoSuchElementException: Unable to locate element
    Sometimes my test cases are running but sometimes error is coming
    In my second test case I am trying to send user id and password to Udemy

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

    Hi Naveen, your videos are really helpful for the beginners thanks for uploading such videos. can you please upload some video or refer any video which helps in db testing(using hive/oracle) using selenium?

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

    hi Naveen, I am not able to run the test case post importing from github. It is giving error "The Selection cannot be launched, and there are no recent launches" do you know the reason please?

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

    Hi Naveen,
    You were explain so clearly we get confidence just by watching.
    Just a doubt here there was a here username you have hard coded it right just if there are multiple users how can they check this as different user will get different username.So how to use this for everyone?

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

    Hi sir, you are providing free content with so much things to learn in selenium. Even in some learning centers they teach only some basics.

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

    At 43:27 seconds you handle the frame issue inside which the user name label is available in the DOM. How did you understand that the label resided inside the frame="mainpanel"

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

    Why are we initializing every class inside setup method. Is there any benefit of doing that? Can anyone please explain me.

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

    Hi Naveen,
    I have seen many videos for POM Design Pattern. But this is the best.
    I have a doubt here. When we run xml file for every class a browser is opened and script is executed, if we run ass 3 class file in xml, 3 browsers are opened and script is executed. Can't we run all the classes in a one browser. Please reply.

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

      Ravi Chandrapal it is always better to run like the way shown above.. Some test case keep cookies data and all.

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

    Naveen bhai you are an excellent teacher and my heartfelt thanks for the videos. Bhagwan tumhara bhala kare.

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

    I wonder why we need to put a constructor in the test objects? Doesn't JAVA always create a default constructor if a class got none also it places the super() with no parameters as a first line in the constructor... pls correct me!

  • @vijilakshmi1863
    @vijilakshmi1863 3 ปีที่แล้ว

    Hi Naveen, I have a question.. is it mandatory to return the object of the landing page..?

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

    Hi Naveen
    In this framework ,how we will handle select drop down elements .Please explain that too.

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

    Boss, U are Selenium addiction. I have learned so much from your videos that I can create by own framework now... Hats off

  • @vaishali749
    @vaishali749 11 หลายเดือนก่อน

    Hi Naveen i followed the same approach to design frame work but for one web element i am getting stale element reference exception and I tried all the way to avoid this exception but some time my script work fine and some time i am getting stale element reference exception can you please suggest me some solution to avoid this exception

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

    apki videos dekhke pta lag jata h ki aap bht hard working h and very passionate too

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

    Excellent trainer and teacher , we don't get such explanation anywhere for developing framework with code example.

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

    I have getting null pointer exception in login page method. I have created same pom as per explanations. How to resolved this problems.

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

    1 MILION VIEW and only 636 like...not acceptable

  • @fareedmohd3619
    @fareedmohd3619 3 ปีที่แล้ว

    Do you have provision for session object so we can persist the web driver object on it .rather then freshly created for every request ?
    And also configure properties object we can load on session and finally close once the test cases pass .

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

    Hi Naveen, Its not clear to me how to handle common elements of each and every page like header and footer elements. It does not feel correct to be repeating the code test them on each page. How do we address this ?

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

    Hi Naveen,
    Just a doubt.Here in the username you have taken it as directly Naveen.But in case we are writing it for a website with many users and as users change the name changes as well so how will you write generalized one so that any user logged in can be checked with that one

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

    Awesome Explanation... Keep up the great work 👌👌💐💐😍😍

  • @ShubhamSharma-rv9ne
    @ShubhamSharma-rv9ne 4 ปีที่แล้ว

    Hi Naveen ,I am new in selenium,just want to ask a question that how to navigate to different pages after login method?

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

    Thankq so much sir.. Your videos are very helpful..

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

    i am getting timeout: Timed out receiving message from renderer: 20.00
    can anyone help me to fix this
    every time i get the same even if i changing the time units
    Thanks in advance

  • @samtech6252
    @samtech6252 3 ปีที่แล้ว

    how to create testng. xml 1.14.00
    thank you sir

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

    unknown error: Element is not clickable at point (1459, 117). Other element would receive the click: .... How would you solve the error?

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

      same error here

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

      This error gets produced because element is not getting chance to produce at that moment, so you have to put some wait for that particular element

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

    Really great teaching skills sir.. please keep it up don't stop at any cost and please don't become commercial like others....you are really great sir hats off.. thank you

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

    I Understood part 2, but can't understand anything in part 3. i dont know why :/

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

    Hi Naveen, This is the superb explanation of HYBRID framework design ( POM) among all that I have seen till now in you tube . Great job Naveen .

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

    Hi Naveen, I am trying For the same "freecrm" but getting the error for login Button .Its saying "Element .... is not clickable at point (1183.7417297363281,117) because another element obscures it"...How to solve this.

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

      I am getting same error. Can anyone help with this?

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

    I am into automation since 4+ years but most of the interview questions which I didn’t know are covered in all your videos.. thanks for the great content bro

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

    Thank you so much for your great work and effort. God Bless you!

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

    on your video Part Pom you Naveen got the same error on (min 36.40) that I am facing. "Element is not clickable. Please help! Excellent Job!

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

      Use JavaScript executor or use actions class to click on it. It will work.

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

    Naveen,
    You have been an very good trainer. Your approach is very systematic and easier to follow. Thanks a ton for all the tutorials on Automation. I recently started looking through your tutorials and it's very very good.
    I am currently working with Selenium C# with BDD approach. And wanted to try to build a FW with Java Selenium and started to use the demo app that you have mentioned here. I am encountering a problem where "switchTo().frame() is not working on Chrome (81.0.4044.138)" and I am getting "NullPointerException()" as the element in the frame is not identified.
    Tried searching through other blogs for the solution. However thcouldn't resolve the issue. Can you please check this?

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

    Hi Naveen,
    while executing LoginPageTest.java and HomePageTest.java i am getting element not clickable exception, could you please tell me how to overcome this

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

      same story here

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

    @naveen can you please share the credential ?
    I have tried creating new account but it is not working.

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

    @55:56 Passing a variables within xpath is so important thing to learn in frameworks.