Factory Pattern With Selenium WebDriver + Java + TestNG

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

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

  • @muneerahmad1395
    @muneerahmad1395 3 หลายเดือนก่อน

    i understood it completely , but if possible please make another video on it , what could be the other scenarios where we can use this concept in testing , and what are the problems we will face if we dont use this concept there,

  • @karolor9333
    @karolor9333 3 หลายเดือนก่อน +1

    Instead of using a string parameter in the getDriver method, it would be more convenient to use an enum for the browser type, such as Chrome, Firefox, etc.

    • @naveenautomationlabs
      @naveenautomationlabs  3 หลายเดือนก่อน +2

      Enum can be used when you design the framework.
      Right now focus is only on design pattern.

  • @vaibhavrane9979
    @vaibhavrane9979 3 หลายเดือนก่อน

    Hello Sir,
    I have two doubts:
    1. Is Docker and Kubernetes always used in real-time projects nowadays? Is it mandatory for every automation tester to learn them?
    2. Are TestNG and Cucumber frameworks dependent on each other, meaning both frameworks are used in every real-time project? Or can some projects follow only one of these frameworks?

  • @krookbond7971
    @krookbond7971 3 หลายเดือนก่อน

    Whats the benefit of this approach over keep all creation method in one class

    • @naveenautomationlabs
      @naveenautomationlabs  3 หลายเดือนก่อน +1

      Isolation of driver initialization from the client and extensibility for the new browser implementation.

    • @eduardvad
      @eduardvad 3 หลายเดือนก่อน +1

      @@naveenautomationlabs can you please create a video with explanation why these benefits are important ?