I simply love the way it is being detailed out. Even the beginners can understand what's happening and it's a big help. Unlike other discussion forums where people discuss stuff that appears so abstract to new comers that quitting appear lucrative. Brilliant....
super anna just few days back i was started selenium learning evryone posting by using tuff words a fresher can not understand but ur code its clearly understanding thanks
Hi Mukesh, First of all, I would like to appreciate your efforts in posting these informative videos. Your videos are fantastic and easy to understandable for any startup automation testing aspirants !! Please can you upload the Part 2 of this video?? I would like to know about how to use parameterization for same login concept. Thanks a lot !! Srinivas
Hi Mukesh, 1st of all nice video of teaching us how the selenium work. 2nd i have a question you use this video reporter.log command, could you please tell me if i want to use same command in JUnit what is the command name and how to perform.
Hello Mukesh, Thanks for the great explanation. I always had the doubt that why and where we need to inherit the classes in our automation suite when we can still access the member variables and functions of class just be creating the object of that class. This is one of the classic example to answer the same. Can you quote any other scenario where we can get better results by extending the class rather that creating the object of class and call the member function of that class.
Hi Pankaj, main reason of using Inheritance is to reuse, so there can b n number of scenarios depends on your requirement. For example check this hierarchy www.javadoc.io/doc/org.seleniumhq.selenium/selenium-api/2.50.1/org/openqa/selenium/NoSuchElementException.html
Hey. Might be that I missed part, but have a question. TestBase class methods and annotations are executed all the time while it is extended by other test class?
Hi Pavel yes u r correct so we extend BaseClass in Actual test only and for other actions we create separate library and call them based on requirement.
Hi Mukesh , Why you did not use the System.SetProperty ("webdriver.chrome.driver", "C:\\Chrome Driver\\chromedriver_win32 (1)\\chromedriver.exe") in this video when using ChromeDriver() ?
Hi Mukesh, Thanks for this clearly understandable video on base class. Please let us know by when we will get 2nd part of base class video covering the base factory concept. Thanks.
Hey Sandeep Mahajan I am glad you liked my tutorial . Keep learning and Sharing. Feel free to contact for any issues related to Automation. I will be uploading framework videos soon
Hi Mukesh, Is there any difference between a Base class and property file, as far as i can understand both provides setup file details like path of drivers and urls. please let me know if there is some difference between both.
Hi Mukesh, Thanks for the video. And just wanted to check, will there be any further videos from ur end extending to the framework design. Can you please add more videos on designing framework from scratch ?
Yes but not sure when will be full videos will be uploaded. I have paid course for framework learn-automation.usefedora.com/p/selenium-frameworks-and-selenium-question-answers
Hii sir, Having one query how to use base class in cucumber OR how to reuse same code in cucumber plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz make video on thiis.
Hi Mukesh, Thank you for this excellent video on base class. If possible, I would like to see 2nd part of base class video . I cannot find the 2nd part. thanks
Hi Mukesh, I am getting NullPointerException when i am having a base class with setup and teardown methods in it and my test class is in another class, also i have tried to use page object model in this code. what can be the reason for exception? driver instance can be i know but i am not getting it how to correct it.
Hi mukesh, we want complete hybrid framework design....... i am still waiting these video by your side.i want to design this framework but not having proper guideline regarding this. Thanks
Hi Mukesh, Thanks for sharing this tutorial. I am having a doubt what if we want to execute script in parallel test environment. I really doubt @AfterClass and @BeforeClass would be suitable. Pls comment on it. Regards, Gaurav
Thank you sir for your reply. I'm using object repository to store XPath. And you where covered POM is it OK to use only object repository instead of POM. Or is it another concept I'm not getting it what exactly the both of. Clould you please elaborate this for me.
Where is part 2 of this..I generalised everything in base class by passing parameters in my test class. I wanted to learn about some new libraries. Help us with 2nd part. Thanks
He just showed in same class using two method one for Valid login and another for invalid login to show that extended base class will work for both method without any error, though he missed to give invalid cred in second one but the real message was shown , that is main important.... Hope you understood !!!
Hi Mate I have added @ Test in Base class thats why it is running without main method. Check out below post for more details. learn-automation.com/base-class-in-selenium-webdriver/
Hi Zeya, what is the confusion? Using base class you can reuse the code.. extend the base class in each test class and you can start using the base class code.
I simply love the way it is being detailed out. Even the beginners can understand what's happening and it's a big help. Unlike other discussion forums where people discuss stuff that appears so abstract to new comers that quitting appear lucrative.
Brilliant....
Hi Pankaj this comment made my day today, Thank you so much.
super anna just few days back i was started selenium learning evryone posting by using tuff words a fresher can not understand but ur code its clearly understanding thanks
Thanks Nishanth you made my day. Keep learning.
Mukesh,
Your every lecture is so cool, and all lectures are big time help for me
I don't know to THANKS you
Thanks Nagag
Thanks for making this complex topic so understandable...
Thanks Meg
Hi Mukesh ,
Really very useful this video, much enough to clear more information about Base class and script writing.
Hi Mukesh,
First of all, I would like to appreciate your efforts in posting these informative videos. Your videos are fantastic and easy to understandable for any startup automation testing aspirants !!
Please can you upload the Part 2 of this video?? I would like to know about how to use parameterization for same login concept.
Thanks a lot !!
Srinivas
Hi,
can you please make a video on framework development like hybrid using pom design patterns..
sir
I watched your data driven frame work and some other videos also its so nice
hence i am requesting you to publish complete hybrid framework
Hi You can get full course learn-automation.usefedora.com/p/selenium-frameworks-and-selenium-question-answers
Hi Mukesh, 1st of all nice video of teaching us how the selenium work. 2nd i have a question you use this video reporter.log command, could you please tell me if i want to use same command in JUnit what is the command name and how to perform.
Hi Umesh I have not used JUnit so not sure on this.
Hello Mukesh,
Thanks for the great explanation. I always had the doubt that why and where we need to inherit the classes in our automation suite when we can still access the member variables and functions of class just be creating the object of that class.
This is one of the classic example to answer the same. Can you quote any other scenario where we can get better results by extending the class rather that creating the object of class and call the member function of that class.
Hi Pankaj, main reason of using Inheritance is to reuse, so there can b n number of scenarios depends on your requirement.
For example check this hierarchy www.javadoc.io/doc/org.seleniumhq.selenium/selenium-api/2.50.1/org/openqa/selenium/NoSuchElementException.html
Hey. Might be that I missed part, but have a question. TestBase class methods and annotations are executed all the time while it is extended by other test class?
Hi Pavel yes u r correct so we extend BaseClass in Actual test only and for other actions we create separate library and call them based on requirement.
HI Mukesh
Do u have posted any videos on Keyword driven framework?
Hi Mukesh do you have videos on keyword driven framework on selenium wedriver
Hi Mukesh very informative and easily understandable video tutorials. Could you please share next part?
Yes Ram will upload soon.
Hi Mukesh ,
Why you did not use the System.SetProperty ("webdriver.chrome.driver", "C:\\Chrome Driver\\chromedriver_win32 (1)\\chromedriver.exe") in this video when using ChromeDriver() ?
it is good to know about how use testNg and Base Class thank you
Glad to hear from you Rathnam
Hi Mukesh, Thanks for this clearly understandable video on base class. Please let us know by when we will get 2nd part of base class video covering the base factory concept. Thanks.
Hey Sandeep Mahajan I am glad you liked my tutorial . Keep learning and Sharing. Feel free to contact for any issues related to Automation.
I will be uploading framework videos soon
Hi if both base class and test class have a method with @beforeMethod annotation, which one should take precedence ?
Base class will have first preference.
thank you so much sir for detailed explanation......
Welcome Hanimi 😇
Excellent video... maybe play at 50% speed ;)
Thanks Steve ;)
Nice...................................waiting for next video........Thanks
Hi Mukesh, Is there any difference between a Base class and property file, as far as i can understand both provides setup file details like path of drivers and urls. please let me know if there is some difference between both.
nice and a very helpful...thanks
Welcome Alok bhai
Hi Mukesh, Thanks for the video.
And just wanted to check, will there be any further videos from ur end extending to the framework design.
Can you please add more videos on designing framework from scratch ?
Yes but not sure when will be full videos will be uploaded. I have paid course for framework learn-automation.usefedora.com/p/selenium-frameworks-and-selenium-question-answers
Hi Mukesh,
waiting for the second part on BaseClass...
very useful and informative...Thanks alot...cheers :) !!
You are amazing. Thanks a tonne..These videos are very helpful..Keep up the great work!!..:)
Thanks Priyanka :) Keep visiting and let me know if any help required from my side.
That's really a great video. Can you please make a video on code re-usability. It would be an immense amount of help.
Hii sir, Having one query how to use base class in cucumber OR how to reuse same code in cucumber plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz make video on thiis.
Hi Mukesh, Thank you for this excellent video on base class. If possible, I would like to see 2nd part of base class video . I cannot find the 2nd part. thanks
Hi Mukesh,
I am getting NullPointerException when i am having a base class with setup and teardown methods in it and my test class is in another class, also i have tried to use page object model in this code. what can be the reason for exception? driver instance can be i know but i am not getting it how to correct it.
Thanks a ton, Mukesh......Great work!
Great work..
Thanks Sharath
Hello sir,
Ur explaination is good,am getting error at driver.manage().window().maximize()...as it is showing error at selenium extension.
Anusha code please?
Hi mukesh,
we want complete hybrid framework design....... i am still waiting these video by your side.i want to design this framework but not having proper guideline regarding this.
Thanks
Hi Mukesh,
Thanks for sharing this tutorial. I am having a doubt what if we want to execute script in parallel test environment. I really doubt @AfterClass and @BeforeClass would be suitable. Pls comment on it.
Regards,
Gaurav
Hey Gaurav, you can use @BeforeTest and @AfterTest as well
Mukesh otwani Thank you. So i can use any one and parallel execution would be smooth. Every new test case would get new instance of driver right?
Class will have seperate instance.
Thank you Mukesh :) Your videos are really nice and to the point.
Excellent video sir ji.
if any help i will put you mail
Thanks for the Videos'
yes sure Vasant
Thank you sir for your reply.
I'm using object repository to store XPath. And you where covered POM is it OK to use only object repository instead of POM.
Or is it another concept I'm not getting it what exactly the both of.
Clould you please elaborate this for me.
Sir, I have a doubt,in flipkart how do we Mouse Over Womens and take the screenshot in selenium?
What is the doubt here ? You can use move to element from actions class for mouse hover and TakesScreenShot interface for taking screenshot.
Hi sir,
i have tried to use page object model in this code.and getting nullpointer exception?
please help
Your tutorialas are in Java or Javascript?
Hi Mukesh, can you please share second part of this ?
Where is part 2 of this..I generalised everything in base class by passing parameters in my test class. I wanted to learn about some new libraries. Help us with 2nd part. Thanks
Here is complete implementation th-cam.com/play/PL6flErFppaj0WwNOMFeXPVlNCDuJyPYFi.html
Hi Mukesh where you kept your chromedriver path please tell me
You can use WebDriverManager for automatic driver manage or you can keep drivers in project directory or in environment variable.
@@Mukeshotwani thank you i kept it in Environment Variable
If possible please upload part of this video.
Yes sure will do soon.
how come chrome browser worked without system.setproperty command ?
Hi Tapas,
In MAC we have this feature check out the link learn-automation.com/chrome-browser-on-mac-using-selenium/
Even I was wondering that!!
Sir what is the difference between valid login and invalid login here,both test cases are passed na sir
He just showed in same class using two method one for Valid login and another for invalid login to show that extended base class will work for both method without any error, though he missed to give invalid cred in second one but the real message was shown , that is main important.... Hope you understood !!!
Thanks Jha ji
I am really confused at how are you running this without a main method? Can you explain that.
Hi Mate I have added @ Test in Base class thats why it is running without main method. Check out below post for more details.
learn-automation.com/base-class-in-selenium-webdriver/
Thank u so much sir..
Hello sir, how to use base class in cucumber , please help me
Hi saurabh, you can use BaseClass concept in runner class of cucumber.
Sir cucumber base class is not running, please make video on base class in cucumber
can you clarify how to add gecko driver in base class....
for firefor web
TestNG installation link pls!!
You can easily write PageObjects in IntelliJ IDEA with plugin:
blog.jetbrains.com/idea/2020/03/intellij-idea-2020-1-selenium-support/
Thanks Yuriy
no exe file?
2nd part please
where is the chrome.exe file?
your tutorial is almost perfect but not explaining where hell is the exe file
Sir aap thora clear Karke samjao pls bahut confusion h
Base class using map
Really confused what your saying it’s not helpful
Hi Zeya, what is the confusion?
Using base class you can reuse the code.. extend the base class in each test class and you can start using the base class code.