Selenium Java Training - Session 28 - Page Object Model, Page Factory and AutoIt

Поделиться
HTML-код
  • Опубликовано: 21 янв 2025

Комментарии • 32

  • @sampal6890
    @sampal6890 2 года назад

    sir at line no. 21,27,33 1:10:21 . we need to use getter() to access private variable but we had access it without using getter() . so hows thta possible?

  • @ilavarasansriraman4140
    @ilavarasansriraman4140 3 года назад +6

    AutoIT starts @1:28:38

  • @CherukuVenkatesh-u7i
    @CherukuVenkatesh-u7i Год назад

    Please tell me the best tool to automate the choosing file on mac os since AutoIt is only for windows. Thanks!

  • @Rakesh-le6mi
    @Rakesh-le6mi 11 месяцев назад +1

    Thank you sir Nice Explanation

    • @QAFox
      @QAFox  10 месяцев назад

      You're most welcome

  • @Murali_Zen
    @Murali_Zen 9 месяцев назад

    sir, why we are declaring fields and methods as non-static, why not declare them as static?

  • @Murali_Zen
    @Murali_Zen 9 месяцев назад +1

    Dear sir, A web page may contain 100 web elements. Do we need to locate all 100 elements in the page class?

    • @QAFox
      @QAFox  9 месяцев назад

      Not required. Only elements by our automating scripts we have to create page objects for.
      For any doubts, live training updates and free Courses, please join our Telegram channel t.me/qafoxoriginal

  • @sampal6890
    @sampal6890 Год назад +1

    HI Sir , why we are making variable private? whats the need? can we do it without making it private ?

    • @QAFox
      @QAFox  Год назад

      Yes, its optional to make them private. But making them private, we are restricting them to be accessed directly, as there is no need to access them directly.

  • @manitejal7413
    @manitejal7413 3 года назад

    Hi
    I followed the steps which you mentioned in the video for File uploading with AutoIT but the AutoIT code seems not working :( Any suggestions will be helpful . Thank you

  • @anildasmohandas2325
    @anildasmohandas2325 3 года назад +2

    Great session

    • @QAFox
      @QAFox  3 года назад

      Thank you :)

    • @John12685
      @John12685 3 года назад

      @@QAFox Hi Sir,
      I wanna ask that how will we assert this? I mean how will we verify if our file has been uploaded through script ? What r the lines of code that will verify it automatically? We can see by ourselves but we have to verify through script u know. So pls explain a bit.
      Thanks❤

  • @nayeemshaik8508
    @nayeemshaik8508 2 года назад +1

    Hi Sir,
    1. Is TestNG Framework and Data Driven Testing Framework are two different frameworks.
    2. The Page Object Model and Page Factory design patterns are used to develop which type of framework ?
    Can Pls tell me briefly, I'm new to selenium & this channel. I'm bit confused here!!!

    • @QAFox
      @QAFox  2 года назад +2

      TestNG, POM and PF are used to build frameworks
      Data Driven, Keyword Driven and Hybrid are the frameworks.

    • @tt-ud6ok
      @tt-ud6ok 2 года назад

      @@QAFox
      What about bdd? Is it like TestNG or Data driven? Thank you

  • @wedihabte6893
    @wedihabte6893 10 месяцев назад +1

    very good lecture

    • @QAFox
      @QAFox  10 месяцев назад

      Thanks for liking

  • @onkargore2367
    @onkargore2367 2 года назад +1

    why we create maven project first what is the use?

    • @QAFox
      @QAFox  2 года назад

      Maven projects automates the dependencies. And there are other uses explained in the sessions.

  • @anilkashyap5953
    @anilkashyap5953 4 года назад +2

    @Arun thanks for your videos i learnt alot from you but for now i have got stuck on Click() method and actions class is not able to click on upload file whats the other way to do it?

    • @QAFox
      @QAFox  4 года назад

      Did you use build().perform() at the end of the statement. If you forget to add these commands, action commands won't work.

    • @anilkashyap5953
      @anilkashyap5953 4 года назад

      @@QAFox
      Yes Arun i have used it but it is not clicking on upload
      WebDriverManager.firefoxdriver().setup();
      WebDriver driver = new FirefoxDriver();
      driver.manage().window().maximize();
      driver.manage().deleteAllCookies();
      driver.manage().timeouts().pageLoadTimeout(60, TimeUnit.SECONDS);
      driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

      driver.get("omayo.blogspot.com/");

      WebElement uploadFile = driver.findElement(By.xpath("//input[@id='uploadfile']"));
      Actions actions = new Actions(driver);
      actions.moveToElement(uploadFile).click().build().perform();

  • @prashantagent4731
    @prashantagent4731 4 года назад +1

    @Arun, Thank you for the video.. But I guess this is incomplete implementation of page object model:
    1. Please implement method chaining concept as well. This basic part of page object creation and test class creation is known to everyone. But how to actually do page chaining ?
    Please consider to automate at-least 3-4 page in the video.
    2. For all my test cases classes, I don't want to write @BeforeMethod to launch the browser and AfterMethod to close the browser. How to put this part in the base class? and then run the entire code without writing this part for all my other Test classes..
    Hope you will explain this part as well.
    I am expecting more in depth atleast 3-4 pages method chaining and complete project setup.

    • @QAFox
      @QAFox  4 года назад

      I understood your requirement, but I am not going to cover this here. I am going to soon work on live projects, where I create more serious videos. This playlist is only for beginners. Will work on this as part of another playlist.

    • @prashantagent4731
      @prashantagent4731 4 года назад +1

      @@QAFox , Okay, will wait... Thank you for helping us !!

    • @QAFox
      @QAFox  4 года назад

      @@prashantagent4731 Welcome :)

  • @anweshabhattacharjee2220
    @anweshabhattacharjee2220 9 месяцев назад +1

    Page Factory--> 1:08:00

    • @QAFox
      @QAFox  9 месяцев назад

      Thank you :)
      For any doubts, live training updates and free Courses, please join our Telegram channel t.me/qafoxoriginal

  • @bkumarj6450
    @bkumarj6450 4 года назад +1

    Please make videos on cucumber

    • @QAFox
      @QAFox  4 года назад

      There are on the way.