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,
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.
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?
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,
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.
Enum can be used when you design the framework.
Right now focus is only on design pattern.
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?
Whats the benefit of this approach over keep all creation method in one class
Isolation of driver initialization from the client and extensibility for the new browser implementation.
@@naveenautomationlabs can you please create a video with explanation why these benefits are important ?