Glad that I found your channel in Telegram group. OMG!! Content of each video is very interesting. Learning alot from each and every video. Till now didn't found any videos with this much useful content. Doing an amazing work. Thanks a ton Amuthan.
Hi Lavanya, Welcome aboard. Thanks a lot for taking your valuable time to provide your feedback. I am happy that you are enjoying your learning. Keep learning 🙏👍
Thank you so much sir , I am fresher in automaton testing and i just got a job as an automation tester , and found your channnel , its very very helpful . your way of teaching and contetnt is far away better than other cahnnels that i have seen so far. thank you sir ! THank ypu so much, you are doing amazing work !! __/\__ :D
Thank you so much Amuthan for teaching the right way of using inheritance.. I have never found this information anywhere else..thanks a ton for these amazing series and for teaching the right way of doing things. We can learn from anywhere, but the right way of learning is very important.. I m so lucky to find your videos.
Hi Bro, here instead of creating the reusable methods in the BasePage, we can create all the reusbale functions in the Utilities package right? why are we creating it in BasePage
Hi Amuthan , can you share me demo application link for testing framework . I created the framework but I dont have proper application. I have seen one application which u used in your videos but I dont have link. can you share it
Can you please explain why it is not feasible to extend my Driver class? Approach : Can i have a reusable class and initialise its object with the help of Page class constructor(public). Parallelly i can extend the driver class from my page classes to get the driver. Is there something wrong with this approach?
Yes this approach is completely incorrect and not obeying the design principles. Most of the tutorials you see would have done what you said. But unfortunately they are all wrong. The ultimate rule of inheritance is not the reusability but the inheritance itself. Let us take a example of Animal class and Dog class. Here animal can be super class and dog can be child class because there is a "IS A" relationship. Dog IS A Animal . But here in our class Loginpage IS NOT A Driver. Hence there is no inheritance. I am trying to teach the right things to the people. It will initially hard to unlearn and learn new things. But please try to follow it now rather realizing later.
Great lecture Amuthan , 2 years back i was just focusing on getting my test case passed but I was breaking many rules . Just one suggestion that you passed WebDriver Wait in Framework Constants , isn't it too much ? we could have just kept it 10 , it was looking more readable and good .
Hi Kumar, Whole approach remains the same. Just read all the json key and values then store it in the Hashmap. It is just a one line if you use jackson library for json parsing. Please try it out and let me know. import com.fasterxml.jackson.databind.ObjectMapper; Map response = new ObjectMapper().readValue(str, HashMap.class);
@@bkumarj6450 My advice is to create either a property file or json file. Dont try to use lot of external files unless you need them. Yes if you want to use both, have two classes like PropertyUtils and another like JsonUtils.
Glad that I found your channel in Telegram group. OMG!! Content of each video is very interesting. Learning alot from each and every video. Till now didn't found any videos with this much useful content. Doing an amazing work. Thanks a ton Amuthan.
Hi Lavanya,
Welcome aboard. Thanks a lot for taking your valuable time to provide your feedback. I am happy that you are enjoying your learning.
Keep learning 🙏👍
Thank you so much sir , I am fresher in automaton testing and i just got a job as an automation tester , and found your channnel , its very very helpful . your way of teaching and contetnt is far away better than other cahnnels that i have seen so far. thank you sir ! THank ypu so much, you are doing amazing work !! __/\__ :D
Glad to hear your feedback. All the very best 👍
Finally the best selenium material on whole TH-cam.... i wish i had found this earlier...Thank you soo much...
As usual learned another dimension of Inheritance. Kudos
I must tell no has explained framework in this way ... glad I found your channel
Great bro 👍
nice video with useful content, Good Job brother. Can't wait for next one.
Thank you so much Amuthan for teaching the right way of using inheritance.. I have never found this information anywhere else..thanks a ton for these amazing series and for teaching the right way of doing things.
We can learn from anywhere, but the right way of learning is very important.. I m so lucky to find your videos.
There are lot more to come. Please enjoy the rest of the videos :)
Thanks a ton!! each video is on point. Able to clearly understand what is happening in any particular line of code.
Reusable - Concepts Really Helpful Thank you
great explanation for inheritance and its practical usage.
Unseen Approach and its very useful Anna
Thanks Thambi. Keep learning :)
Hi Bro, here instead of creating the reusable methods in the BasePage, we can create all the reusbale functions in the Utilities package right? why are we creating it in BasePage
how do i create reusable methods if i am using Page Factory.
Little bit confuse in inheritance part what you explained for DirverManager
Hi Amuthan , can you share me demo application link for testing framework . I created the framework but I dont have proper application. I have seen one application which u used in your videos but I dont have link. can you share it
Thanks again, you have a Telegram group too?
Yes. You can ask your doubts there.
t.me/joinchat/cJX1FmzfntJhMTg9
Can you please explain why it is not feasible to extend my Driver class?
Approach : Can i have a reusable class and initialise its object with the help of Page class constructor(public). Parallelly i can extend the driver class from my page classes to get the driver.
Is there something wrong with this approach?
Yes this approach is completely incorrect and not obeying the design principles. Most of the tutorials you see would have done what you said.
But unfortunately they are all wrong. The ultimate rule of inheritance is not the reusability but the inheritance itself.
Let us take a example of Animal class and Dog class. Here animal can be super class and dog can be child class because there is a "IS A" relationship.
Dog IS A Animal .
But here in our class Loginpage IS NOT A Driver.
Hence there is no inheritance. I am trying to teach the right things to the people. It will initially hard to unlearn and learn new things. But please try to follow it now rather realizing later.
@@TestingMiniBytes .. Thanks for the explanation. That's really amazing
Hope to get more fruitful videos from you in future.
Great lecture Amuthan , 2 years back i was just focusing on getting my test case passed but I was breaking many rules . Just one suggestion that you passed WebDriver Wait in Framework Constants , isn't it too much ? we could have just kept it 10 , it was looking more readable and good .
It is your wish.. Tomorrow you want to change that value because your web application is little slow. Will you search for this code manually.,?
Could you please use Json file for file for driving data instead of properties file, it will be helpful
Hi Kumar,
Whole approach remains the same. Just read all the json key and values then store it in the Hashmap.
It is just a one line if you use jackson library for json parsing. Please try it out and let me know.
import com.fasterxml.jackson.databind.ObjectMapper;
Map response = new ObjectMapper().readValue(str, HashMap.class);
@@TestingMiniBytes I m planning to create a separate class to read properties and Json files, shall I include there ??
@@bkumarj6450 My advice is to create either a property file or json file. Dont try to use lot of external files unless you need them.
Yes if you want to use both, have two classes like PropertyUtils and another like JsonUtils.