Selenium Frameworks | POM | PART - 2 | Page Factory | Page Object Model | Sample Implementation

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

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

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

    Sir... No words to say my happiness.. Evlo interview attend panirkan ithuvara... Ana edumae kedaikala... But after watching your videos I got selected in good company with more than 100 % package.. Enak baby iruku 3 months la so I'm not able to do hands on.. I got time only on mid nights I sacrificed my sleep for last 3 month and watched your videos on night.. Your videos gave me confidence... I learned selenium 3 times ana amount dan wasted. . Ungala mari oru guru kedaikahtha nu many times pray panirkan... Life long I will never forget you... You are my guru... Thank you so much sir... 😊🙏🙏🙏manual tester ah vae 8 yes odi poiruchi.. Ipo dan automation ku chance kedachirku.. Enalayum pana mudiyum nu confidence kedachirku... Ithellam ungala la mattum dan arul.. Kadavul arul ah la in the arul enak guru va kedacharu🙏🙏🙏thank you so much..

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

      That’s so awesome to hear. Could you please drop me a message on instagram im_arulprasath . I would like to interview you, your journey may help someone in similar situation. Thanks in advance

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

    i referred so many sites, This is the one easily understandable step by step

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

    I am preparing for interviews your videos really helping me.Super explanation thank you sir.. keep going 😊

  • @sakthisakthi-wu4dt
    @sakthisakthi-wu4dt 4 ปีที่แล้ว

    Without understanding long time used for pagefactory in my project long time ,Now only understand why we used pagefactory and webdriver and your 300 years cooking story also really good ....

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

    Thanks a lot, learnt POM very easily

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

    Hi bro, after a long time, I can under this POM concept. Your explanation is crystal clear. Thank you🙏

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

    Thank u sir.. Ur videos are helping me.

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

    Vera Mari Vera mari arul bro... really I'm happy and excited while seeing the output on my project by following u r videos..,thnks a lot😍😍😍u r great a teacher...keep rocking bro..I'm sharing these videos to my friends too...

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

      :) When they are stuck, help them rectify the issues, clarify their doubts and ask them to do the same when they become proficient! All the best!

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

      @@LearnAutomationOnline sure sure bro👍

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

    Really u r awsm ... Cristal clear explanation....

  • @sakthisakthi-wu4dt
    @sakthisakthi-wu4dt 4 ปีที่แล้ว

    Excellent video and explanation

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

    Excellent Sir.... I learned very easily..

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

    Superb Arul.Very Useful.Confidence is getting increased while watching your each and every part of Selenium Videos.God belss you

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

    Verra level bro it's very useful it's all worth for paid content!!!!

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

    Very well explained Arul..Each video I'm commenting since avalo good ur teaching is ...Stay blessed

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

    Thank you bro... thank you so much ....🥰🤗

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

    Theivame super

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

    Super bro

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

    Bro
    Your voice is nice to hear

  • @lavanyad9266
    @lavanyad9266 27 วันที่ผ่านมา

    Hi Arul, I want to use explicit wait for some elements in my project and how should I do with POM concept? Kindly request you to answer my question. Thanks in advance!

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

    Thanks a lot sir

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

    Sir, I am seeing you as Durga Sir(for JAVA). Thanks. BTW sorry for comparison.

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

      Durga sir 😱!!!! He is such a legend and my greatest inspiration on how a teacher should be. Thanks for the compliment.

  • @sakthivel-de9gz
    @sakthivel-de9gz 8 หลายเดือนก่อน

    Hi Arul Sir, One question - when using POM , we are calling method using static from page object class to testcase class and performing action on the webelement .my question is where and how to use TestNG in real time? Please reply

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

    Hi sir, I have one question which asked in my interview
    I have 4 year’s experience in manual but I mentioned in the resume like I worked in both manual and automation. So as in one of the interview question I was asked like how will you provide estimation for both manual and automation in your current sprint to achieve your automation regression suite is ready?

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

    How do perform for drop-down using pom sir ?
    Normally In select class we pass the webelement
    In pom how sir ?

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

    Sir (this,search context is null) nullpoint exception adikuthu yanna pannurathu cucumber la

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

    hi sir the explanation is very clear how to excute different classes in TestNG in different packages

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

    sir,static ilama epsi pananum any concepts iruka like constructor la use pandra maadhiri

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

    I'm not sure how to work with drop-down using findby.. using select and normal using driver and findelement I know to select drop-down values...my doubt is how to given in @Findby.Pls assist me

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

      @FindBy(id="ddCompany") private WebElement select; Select dropdown = new Select(select); dropdown.getOptions().get(1).click();

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

      Something like this should work

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

      @@LearnAutomationOnline tanks a lot will try

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

    Hi sir , can u tell me please how to write a method for dropdown in pom concept

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

    Hi sir... I tried this out but getting stale element exception error while checking brand chckboxes in amazon. Here I'm trying to click at least two check boxesby getting the web elements in a list, iterating over for loop and then clicking on the
    webelement. How to rectify this sir?

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

    If we use findby annotation then how could we use explicit wait for a webelement as it needs webdriver

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

    Hi Sir. Can you explain how to relate/apply Data Driven framework in POM?

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

    Hi, We used to maintain the locators(for a page) in separate class and webelements in a separate class... Then we would return the values using webelements like,
    return driver.find element(Locators.uname);
    /* locators: class name to store locators, uname: just a sample variable */
    In this case how to use @findBy
    Please advise!!!

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

    bro,Page object model part 1 i used javascript executor for update profile, in this video i can't use that.. now element is not clickable error shows help me bro

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

    In earlier video, we used return (Changed void to webelement & it threw an error then we added return) in LoginPageObjects & UpdatePageObjects in order to use sendkeys in LoginTestCase & UpdateProfile. Here without usin return we are able to use sendkeys. How is it possible here?

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

      Using find by annotations, we have found the webelement and it has been stored into the variable called username. Watch the video again. Previously we used a method called userName, to find and return the element. Now we removed that and findby annotations will do th job. The value will be stored in the variable. And we are simply using the variable to sendkeys. Incase of method only we need to return

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

      @@LearnAutomationOnlineIn earlier video we used a method so we have to send that webelement usin return. If we use findby annotation we don't require to send it as we store it in a variable. The webelement will be send by findby annotation. Is my understandin correct?

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

      Findby annotations is just doing the work of driber.findelement method. We will store that in a webelement. Similarly the findby annotation will store the webelement in the variable available beneath the annotation. In the actual test case, we are using the variable where we have stored the webelement

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

    Hi Anna,
    I have a doubt, is it possible to integrate data driven Framework with page object model. I mean getting the data from Excel sheet and using it in page factory.

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

    Hi Arul can you let us know where we are using 'Method Overriding' concept in Selenium webdriver in realtime?

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

      WebDriver is an interface, which means it's having only specifications. Chrome driver, gecko driver, and other drivers have overridden it right? This is overriding example we can say in selenium. Overloading, for example, implicit wait method can wait for seconds, minutes and so on. This is overloading.

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

      @@LearnAutomationOnline I told the same answer exactly but interviewers are expecting some other example.

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

      😂. Vera enna expect panranga. Hmm??? Actually all the WebDriver implementations are examples of overriding. Ithukum Mela enna iruku. Will research and tell Ganesh.

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

      Have seen your comment, related to covariant return type. Couldn't find that one. Hence replying here. one of the less popular feature implemented in 1.5 version. As per method overriding definition, return types has to be same. But after 1.5, it can be a covariant type. But still it's not popular. a child class can use sub return types of parent class. If the return type is primitive like of int, float, char. We can't use this. This was mainly introduced to reduce type casting problems.

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

    @FindBy(name="password")
    public static WebElement password;
    Is this method or variable?

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

    Hi Arul, when I came thru a post to learn about Page Factory, I jus' got to know about this @CacheLookup annotation. Is this really important in the interview point of view? And, do ppl use this in industry to avoid the stale element exception(in connection to your hyper links video)?

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

      We can't decide if that's important or not from interview perspective, as it depends on the interviewers. But knowing that as a handling mechanism for stale element exception is worth. I haven't used it much, to be honest. When i come across stale element, in the catch block i will find that element alone and repeat the process

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

      Oh Okay. Thanks Arul :)

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

    Tq sir

  • @vijayvijay-oq8ew
    @vijayvijay-oq8ew 4 ปีที่แล้ว

    @findby will do the job wat return does in the previous video.
    Right bro?

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

      This annotation wil find the web element and store it in the variable that we have given below

    • @vijayvijay-oq8ew
      @vijayvijay-oq8ew 4 ปีที่แล้ว +1

      @@LearnAutomationOnline only when the WebElement is returned to the test cases the actions can be performed right..
      My question is how the stored WebElement is returned to the test cases..pls explain bro

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

    Hi Bro one doubt, can we tell in interview that I did data driven framework with test NG concepts to the interview person? Or will he expect more like hybrid framework?

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

      Data driven alone he won't accept. Data driven is just a portion of an application. I mean where you test a single functionality of an application with different set of data. Say something like page object model.

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

      @@LearnAutomationOnline sure Bro, thank you for the reply :) ☺

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

    Real time project page factory method 80% companny use pnnviga sonniga , base class use pannuvoma ( base class eppdi bro use pandrathu) both pom + base class real time project use pannuvoma kojam eppdinu solluga bro pls

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

      Base class nu etha mean panringa, inside base class what will be there according to ur understanding

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

      (Multiple time functions use pandrapo)
      Base class (parent cls)
      public void input values (webelment element, string value) {
      element. Sendkeys(value)
      }
      ........................................................................
      Child class name ( login) using extend keyword (parent class)
      Webelement email = driver. Findelement(By.id("email"));
      Input values(email, "username);
      }
      •Sendkeys use pandra place la inputvalues use pannuvom
      •Driver method and obj methods totaly 31 methods irruku la bro eppdi yellam methods base class creat pannuvom sonnaga
      •So kojam doubt irruku videos irruka

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

      TestNg , data driven doubts kettu irrutha clear panniga fully unnderstand bro but base cls create doubts bro pls kojam solluga

  • @sakthisakthi-wu4dt
    @sakthisakthi-wu4dt 4 ปีที่แล้ว

    Please share GitRepository link to refer your video code

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

    What is the code to scroll down or scroll up the webpage sir???

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

    sir, it works only in TestNG ah???

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

      Selenium has no dependency with TestNG. Page factory is a selenium concept.

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

      @@LearnAutomationOnline sir, as a fresher in interview they ask pom qns????

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

    Off line class eapdi sir attend panndrathu

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

    org.openqa.selenium.ElementClickInterceptedException am getting this exception bro!!

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

      On which line, can you please mention the duration of that in the video. Like this. 4:30. This will take me to the exact time of this video.

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

      @@LearnAutomationOnline Bro before clicking login button ..a small cookie pop up has popped at the bottom of the window under that only the login button is available ...so I just maximised the window and hence the button got visible and clicked it bro

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

    The code is workin fine. But I have a strange issue. When i execute the code for the 1st time, city name is gettin populated once. If i run for the 2nd time city is gettin populated twice. Like wise it gets increased. What is causing this?

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

      Bro I too have this doubt... So as per this code public static webelement username is variable right???

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

    Hi bro I have a doubt how can I contact u on my framework