Basic guide for Class Objects and Methods in Java for Selenium Webdriver

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

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

  • @afsalsb7876
    @afsalsb7876 4 ปีที่แล้ว +10

    Well explained.. Very first time hearing how internally it's works.. Out of 1 lakh videos.. Keep Going..

    • @Mukeshotwani
      @Mukeshotwani  4 ปีที่แล้ว

      Thank you Afsal 😊 🙏

  • @phinehasnwani1225
    @phinehasnwani1225 5 ปีที่แล้ว +5

    Mukesh, you are the best. You teach with the primary aim to impart knowledge not to show off

    • @Mukeshotwani
      @Mukeshotwani  5 ปีที่แล้ว

      Thank you so much Phinehas 😀

  • @shashankreddy2034
    @shashankreddy2034 6 ปีที่แล้ว +3

    Not everyone who has a decent subject knowledge can teach a lay man like me and you have made it so simple by the way you have taught this concept.excellent explanation sir.thank you!

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Thank you so much Shashank.. Keep learning and please do share with your friends. 😀

  • @EktaSingh-vj2lf
    @EktaSingh-vj2lf 6 ปีที่แล้ว +2

    awesome video....i am from electronics background n i tried many times but i din get even single word ever....i was very depressed but your video helped me alot....i understand all these things you have explained.......so Thanks alot Mukesh thank you so much

  • @preetipandey5853
    @preetipandey5853 7 ปีที่แล้ว +1

    I have seen many tutorials for basic Java learning but only your tutorial helped me to understand the basic clearly.your teaching style is very simple and comprehensive.Many many thanks to you.

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Thank you so much Preeti :) Keep learning.
      let me know if you need any help from my side.
      Happy Weekend.

  • @thahseenaamanullah3088
    @thahseenaamanullah3088 7 ปีที่แล้ว

    Mukesh ,.. Thanq so so much... I had gone through many videos, but nothing worth when I compare it with your tutorials. I am a novice when it comes to automation, coding and script . Now I feel confident. Thanq Bro...

  • @chiranjibisahu8092
    @chiranjibisahu8092 7 ปีที่แล้ว +2

    Thanks a ton mukesh for such a wonderful explanation...... it is precise and straight forward for new comers and people from non it/cs background can easily understand.

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว +1

      Thanks Chriranjibi.. Keep visiting and keep learning.

  • @SmartProgramming
    @SmartProgramming 6 ปีที่แล้ว

    great sir, really very helpful tutorial, thanks a lot for this tutorial 🙂🙂🙂🙂👍👍👍👍

  • @karthikkhandelwal3146
    @karthikkhandelwal3146 7 ปีที่แล้ว +1

    Thanks a lot mukush.. perfectly implemented the same.. and totally understood the basics..

  • @sampadajadhav1244
    @sampadajadhav1244 6 ปีที่แล้ว +1

    i was struggling for basic java concepts even after working on selenium for more than a year. but this video really helped me to get over all the confusions on basic java concepts. thanks a lot, your video made it supereasy :p. just a single suggestion, please arrange all your videos in a proper sequence or give them a number so that it would be easy for beginner who doesn't know from which topic to start.

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Hi Sampada, Your comment made my day. I am glad that my videos are helping to understand Java. I have planned few more videos on JAVA and after that I will arrange them in order.

  • @keyur145
    @keyur145 7 ปีที่แล้ว +1

    Hi Mukesh,
    I could have given 10 thumbs to this video if I could. Its very clear and cut to the point, the way you have explained. thanks you very much.

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว +1

      Hey Keyur thank you so much.. Your comment is equal to 10 thumbs.. Keep learning and let me know if any help from my side..

  • @tropangdrin
    @tropangdrin 8 ปีที่แล้ว

    Hi Mukesh! You're so helpful for everyone who wants to learn selenium! You're the best DUDE!

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Thanks a ton mate :) let me know if any help from my side.

  • @viswachaitanya4886
    @viswachaitanya4886 7 ปีที่แล้ว

    excellent mukesh thanks for providing this videos

  • @jesnathomas9307
    @jesnathomas9307 3 ปีที่แล้ว +2

    Great job....thank you so much for these tutorials...

    • @Mukeshotwani
      @Mukeshotwani  3 ปีที่แล้ว

      You are so welcome! Thanks Jesna

  • @TheHardik50
    @TheHardik50 6 ปีที่แล้ว +1

    This is very simple way to understand what is class , object and method.
    I watched this video more than 5times.
    Thanks for uploading

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว +2

      Hey hardik patel I am glad you liked my tutorial 😀. Keep learning and Sharing. Feel free to contact for any issues related to Automation.

  • @saiamulya4682
    @saiamulya4682 6 ปีที่แล้ว +2

    Thanks Mukesh for making these topics very easy. Very useful. Hopefully will be able to follow your videos and write selenium scripts as well :)

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว +1

      Hey Sai Amulya I am glad you liked my tutorial . Keep learning and Sharing. Feel free to contact for any issues related to Automation.

  • @Powerlift_Tiger
    @Powerlift_Tiger 7 ปีที่แล้ว

    Hi Mukesh,
    this video help me to clear all my concepts regarding classes,object,static and non-static function.
    thank you very much, you are doing great job..:)

  • @jbhuvan79
    @jbhuvan79 8 ปีที่แล้ว

    Thanks Mukesh for sharing your selenium videos and its more informative and helpful. Appreciate and well done.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Your most welcome Bhuvan. Long way to go

  • @divyaambika1459
    @divyaambika1459 7 ปีที่แล้ว +1

    Thank you Mukesh..Your videos are really helping me learn the basics.

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Most welcome Divya. Keep learning.

  • @krunaldesai2711
    @krunaldesai2711 8 ปีที่แล้ว +1

    Hey Mukesh.. I must say that person like me basically from non-technical background also learning lot from your videos.
    Just a request can u please post basic java videos covering Methods, constructors etc... for beginners...Thanks!!

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Hi Krunal all in pipeline will upload soon.

    • @krunaldesai2711
      @krunaldesai2711 7 ปีที่แล้ว

      Thanks a ton!

  • @anitapanda5115
    @anitapanda5115 6 ปีที่แล้ว +1

    Nice Vedio my doubt is completly cleared regarding how to call another methods by using object & Class

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Thanks Anita, I am glad it helped you :)

  • @purushankarg
    @purushankarg 8 ปีที่แล้ว +1

    fantastic video. thanks mukesh.

  • @deepufc11
    @deepufc11 8 ปีที่แล้ว +1

    Thank you Mukesh... explanation is really useful ..... good work

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      thanks Deepu I am glad you liked it. Keep visiting.

  • @Subinora
    @Subinora 7 ปีที่แล้ว +1

    These video had tremendous help on my learning, I truly thank you so much !

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      gemini beauty thank you gemini I am glad it helped you. Keep visiting.

  • @sujithmathew1633
    @sujithmathew1633 6 ปีที่แล้ว +1

    Simple and precise. Good content..thanks

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Thanks Sujith :) Keep learning and Sharing.

  • @baldygaming2226
    @baldygaming2226 7 ปีที่แล้ว

    again good job at explaining i understand you more than when i was in college thank you for reviewing me!

    • @baldygaming2226
      @baldygaming2226 7 ปีที่แล้ว

      quick question so which is more efficient to use? creating an obj to call the class? or calling directly the class?

  • @lakshmimukkera6202
    @lakshmimukkera6202 5 ปีที่แล้ว +3

    hi sir am beginner to java classes can u provide the link from first class of java for selenium and which one i have to install for programming

  • @prashantilata1483
    @prashantilata1483 8 ปีที่แล้ว

    great work mukesh... Thanks alot for these video... Explained so nicely

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Welcome Prashanti, I am glad you liked the video.

  • @Jackschronicles
    @Jackschronicles 8 ปีที่แล้ว

    Thanks Mukesh it is great learning attending this video.....

  • @samplegmail2321
    @samplegmail2321 7 ปีที่แล้ว

    its really good and explained in simple way

  • @greenpeace041
    @greenpeace041 7 ปีที่แล้ว +1

    Thanks Mukesh ..Helps lots !!!

  • @SS-kf9hp
    @SS-kf9hp 7 ปีที่แล้ว +1

    Hi Mukesh, I dont know abc of java coding but after your videos I gained the confidence even I can do coding. ABC anybody can code. thank you so much. I have a clarification . In the firstclassDemo you have given called the variable as obj2 . But in the second class demo you have mentioned the object name as obj1. Whereas we already used the obj1.sum correct?Please clarify

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Hi Suji, Thanks for nice comment.
      Both are separate class and we are using obj1 and obj2 in a different class so it won't be a problem.
      To understand this concept in detail you can watch inheritance in detail th-cam.com/video/iDd-OfxOz0U/w-d-xo.html

  • @sunitabiradar6624
    @sunitabiradar6624 ปีที่แล้ว

    Very well explained... Greateful for your teaching Mukesh! Can I get access specifiers video link?

  • @nehamahalank3549
    @nehamahalank3549 6 ปีที่แล้ว

    Nice explanation sir,your video's are very easy to understand,Thank you so much

  • @komalgautam07
    @komalgautam07 8 ปีที่แล้ว

    Really very helpful.
    the way you explain is too good.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Thanks Komal. Kindly share with your friends as well and let me know if any help from my side.

  • @venkatrao3335
    @venkatrao3335 10 หลายเดือนก่อน +1

    Very well explained

    • @Mukeshotwani
      @Mukeshotwani  9 หลายเดือนก่อน

      Glad it was helpful!

  • @brownylittle
    @brownylittle 6 ปีที่แล้ว

    Hi Mukesh, your tutorials on selenium are very helpful.
    Can you please explain if we can have a java program without a main method (public static void main)at all? Can we not create objects in the same class and access the methods?

  • @nishitakhurana3405
    @nishitakhurana3405 7 ปีที่แล้ว +1

    Thanks Mukesh. They are really helpfull..:)

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Thanks Nishita :) I am glad it helped you.

  • @rakeshsudi
    @rakeshsudi 6 ปีที่แล้ว

    Thanks for the video.. explained really well. really appreciated.

  • @brahmam-vadla
    @brahmam-vadla 7 ปีที่แล้ว

    good stuff, thanks a lot and plz provide all examples files which you have covered in videos to download for run into individual machines.
    Thanks

  • @preethapr2781
    @preethapr2781 3 ปีที่แล้ว

    Hi Mukesh, I can understand how exactly static and non-static should be used. But I have a very basic doubt why these two options are available. we can declare all as static and right away call them easily without an object right? Kindly excuse me if the question is senseless and I am in learning stage

  • @prudhvikumar3920
    @prudhvikumar3920 8 ปีที่แล้ว

    Hi,
    your videos are wonderful but pls increase the volume from ur side............and also pls share how to do debugging concept using selenium webdriver can u share the video link........pls.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hey Prudhvi, its software issue so this is max volume from my side. But give try my best again

  • @keerthipradeep8832
    @keerthipradeep8832 2 ปีที่แล้ว

    super expiation sir. would like to join ur daily live training when ur starting new batch pls let me know??

  • @keerthipradeep8832
    @keerthipradeep8832 2 ปีที่แล้ว +1

    Hi Sir. these 25 java videos enough for selenium ???

  • @priyankatuteja2917
    @priyankatuteja2917 2 ปีที่แล้ว

    Hi Mukesh,i have a query, in the video you said that when an object is called then only the memory is allocated which is fine. but when we declare a method as Static, we are directly calling the methods by using classname then how is the memory allocated in that case? Awaiting your reply. Thanks in advance.

  • @akshayachavan8787
    @akshayachavan8787 2 ปีที่แล้ว +1

    Thank you Mukesh, I am beginner ,HOW DID YOU USE NON STATIC STRING IN STATIC METHOD ????, because i tried but it is showing error that String is non static and cant use in static method. please reply, thanks in advance. your videos are outstanding, It is soo easy to understand.

    • @dishankramawat1088
      @dishankramawat1088 2 ปีที่แล้ว

      same doubt

    • @srinivaspatel2567
      @srinivaspatel2567 2 ปีที่แล้ว

      public class Demo
      {
      String s="Rgt";

      public static void main(String[] args)
      {
      Demo d=new Demo();
      System.out.println(d.s);
      }


      }

  • @riteshkumar6403
    @riteshkumar6403 6 ปีที่แล้ว

    Very informative video.

  • @rammohanallam5553
    @rammohanallam5553 2 ปีที่แล้ว

    Mukesh, why did u take X and Y as variables when u used a,b,c variables in method ?

  • @sushmayelattiwar2476
    @sushmayelattiwar2476 6 ปีที่แล้ว

    Nice explanation.

  • @kumutheeswariparthiban6883
    @kumutheeswariparthiban6883 4 ปีที่แล้ว

    In last mins of the video u have mentioned like if it static we can call directly by class name right? But there you written Advancecalculator. Sum()
    What is Advancecalculator refers here?

    • @rajeshtholikonda7496
      @rajeshtholikonda7496 4 ปีที่แล้ว

      Advancecalculator is classname where Sum and Sub methods are declared as Advancecalculator is static class we are not creating any object in Thirdclassdemo to call those methods

  • @sravaniprusty9218
    @sravaniprusty9218 6 ปีที่แล้ว +2

    Hi
    If we create one member method and we won't call that method through any object then .... Is that member method takes any memory???

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Hi Sravani,
      The method will never take memory the variable takes the memory..

  • @durgaraoponnuru17
    @durgaraoponnuru17 4 ปีที่แล้ว +1

    Hi Mukesh, Thanks for your videos. I have a doubt in this concept.
    Can we create static method and non-static method in a single class??
    If Yes, how do we call that methods?

    • @Mukeshotwani
      @Mukeshotwani  4 ปีที่แล้ว +1

      Yes, you can for static method u can class name and for non static you can create object of Class then call the non static methods.

    • @durgaraoponnuru17
      @durgaraoponnuru17 4 ปีที่แล้ว

      @@Mukeshotwani Thank you

  • @shankarlingam4702
    @shankarlingam4702 6 ปีที่แล้ว

    Info overloaded

  • @Marwan4Sultan
    @Marwan4Sultan 6 ปีที่แล้ว

    Mukesh, how do you call a method into another one?

  • @vaazhkaivaazhvadharke8235
    @vaazhkaivaazhvadharke8235 6 ปีที่แล้ว

    Awesome class

  • @ilknurgkcgl
    @ilknurgkcgl 8 ปีที่แล้ว

    Hi @Mukeshotwani
    Thanks for this great video! I have one question? I am also wondering that while writing Selenium test cases, in the Java code we mentioned @Before @After and @Test . How these tags really work and is it really important to use ? Thanks a lot!

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hey llknur , @Before @After @Test these annotation comes from TestNG or Junit. These tag will convert code into Test cases and provides as result log and many more. I will post soon videos on this.

    • @ilknurgkcgl
      @ilknurgkcgl 8 ปีที่แล้ว +1

      Yay!! Looking forward for them!
      Also, Thanks for your quick feedback!
      Appreciated.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      :)

    • @ramnarayanpatro1772
      @ramnarayanpatro1772 8 ปีที่แล้ว +2

      These are the annotations which you can use according to the unit testing framework you are using say, TestNG or JUnit. If you want to write your own Annotation that is also possible. Read the JAVA Annotation and Reflection concepts.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hi Ram yes totally agree but why to take so much pain to create if it already exist in Framework.

  • @sonalkhurana6846
    @sonalkhurana6846 6 ปีที่แล้ว

    Hi Mukesh
    Thank you for your videos, these are really helpful :)
    However, while practicing on Eclipse, most of times I come across an "Error" pop-up without any message on that whenever I click on Run program.
    Can you please help me to know why does it happen ?
    Regards
    Sonal

  • @pavanivihaan9862
    @pavanivihaan9862 7 ปีที่แล้ว +1

    Hi mukesh , very nice videos and helps lots.... Please can you upload a video how to write test cases using framework.

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      HI Pavani,
      I have paid course for this learn-automation.usefedora.com/p/selenium-frameworks-and-selenium-question-answers/

  • @koushikthelukala9102
    @koushikthelukala9102 3 ปีที่แล้ว +1

    Hi Mukesh,
    I have one doubt. Consider there is 2 Package in a Project, 1 Package is having 2 Classes and the other Package is having 3 classes, so can we create an Object of 1st Class(1st package) in 1st Class of 2nd Package?

  • @ArunSharma-wm6od
    @ArunSharma-wm6od 7 ปีที่แล้ว +1

    Hi Mukesh - I want to run my test script code which is on my local machine on a remote machine. Could you please advice how to do that ?

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Hi Arun,
      You have to use Selenium Grid for this learn-automation.com/selenium-grid-for-remote-execution/

    • @ArunSharma-wm6od
      @ArunSharma-wm6od 7 ปีที่แล้ว

      Mukesh otwani Thanks Mukesh for a quick response... I'll get u further if I have further questions.

  • @prathameshpatil2626
    @prathameshpatil2626 6 ปีที่แล้ว

    That was really really an excellent video. Mukesh deep heartedly thanks for making my concept clear. Is this concept helpful when the code is reused..?

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Hey Prathamesh Patil I am glad you liked my tutorial . Keep learning and Sharing. Feel free to contact for any issues related to Automation and yes while creating framework you have to use Class, Method and object.

    • @prathameshpatil2626
      @prathameshpatil2626 6 ปีที่แล้ว

      Mukesh Otwani thanks. Will try it on my own and let you know if I have any concerns...😊👍

  • @manikolla993
    @manikolla993 7 ปีที่แล้ว

    Hi Mukesh,
    I liked your videos but all are not in sequence, could you please help me on this ?

  • @dilli1605
    @dilli1605 6 ปีที่แล้ว

    Hi ,
    In this we are creating Object of class and calling there methods in another class using the object of that class ?

  • @sravaniprusty9218
    @sravaniprusty9218 6 ปีที่แล้ว +1

    Hi Mukesh
    If we don't mention any access specifier than will it take 'default' access specifier??

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Yes Correct default specifier it will take

  • @soumyalenka8468
    @soumyalenka8468 6 ปีที่แล้ว

    thank u sir
    explane verymuch

  • @nooraamin8348
    @nooraamin8348 3 ปีที่แล้ว +1

    Thank you sir Mukesh Guruji for teaching us Java in an unique way. Boss I need you help . How can I contact to you plz let me know.

    • @Mukeshotwani
      @Mukeshotwani  3 ปีที่แล้ว +1

      Sure Noora, please connect with me via email mukeshotwani@learn-automation.com

    • @nooraamin8348
      @nooraamin8348 3 ปีที่แล้ว

      Thank you gurujii love and respect for you and I really appreciated for your quick reply .

  • @syedhussain4847
    @syedhussain4847 6 ปีที่แล้ว +1

    Hello Mukesh Sir, I want to learn automation testing and my background is non IT, I had learn manual testing completely but i start automation but i dont understand which vedios should i follow . please help me to know vedios.

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Hi Syed,
      You can follow all videos in below order learn-automation.com/selenium-webdriver-tutorial-for-beginners/

  • @shreyasingh359
    @shreyasingh359 7 ปีที่แล้ว +1

    Sir.. I am 12th IP student.. this is my first lesson.. r these concepts of classes and objects are applicable to netbeans ide too?

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      +Shreya Singh yes Shreya all these are java concepts. It is independent of Any IDE.
      You can use ECLIPSE , NetBeans and so on.
      I really appreciate your dedication for learning.
      I started all this after my college only.
      Keep learning 👍🏻

    • @shreyasingh359
      @shreyasingh359 7 ปีที่แล้ว +2

      thnxxx.. sir do u have also stated about database connectivity to mysql? I m unable to find it

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      yes here you go th-cam.com/video/CjNqKlTluxc/w-d-xo.html

  • @nayeemti
    @nayeemti 6 ปีที่แล้ว +1

    Thanks for ur all videos and tutorial those are so helpful. i face one problem can u plz help me to solve that please. "write 2 methods and methods for launch URL(), and other method is registration() method. use phptravels.com and create 1 account."
    and use them in different script.
    thank you again

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Hey Nayeem Can you please send me your code I will import and will fix it.

  • @abhisingh4939
    @abhisingh4939 7 ปีที่แล้ว

    Dont mind but you said we can also access x by name only ..which is wrong.. it can only be called by object reference..... as it is also non static..... i follow your lectures on selenium.... thanks fr ur videos

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว +1

      +Abhishek Singh thanks Abhi

  • @tuananh1405
    @tuananh1405 8 ปีที่แล้ว

    many thanks

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hey Le thanks and welcome too

  • @Marwan4Sultan
    @Marwan4Sultan 6 ปีที่แล้ว

    Mukesh, your videos are excellent! I am having some trouble with making a properties file global in TestNG. I have the following block of code below, do you know how I can make it global? Thank you.
    Properties prop = new Properties();
    FileInputStream fis = new FileInputStream("***Path to Properties file");
    prop.load(fis);

    • @snehalupare4665
      @snehalupare4665 6 ปีที่แล้ว

      you can add this code in a constructor block of your testbase class where you are initializing your browsers which is extended by every other class present in your framework:
      public class Testbase {
      public static WebDriver driver;
      public static Properties prop;
      public Testbase(){
      try{
      prop = new Properties();
      String ProjectPath = System.getProperty("user.dir");
      System.out.println(ProjectPath);
      FileInputStream file = new FileInputStream(ProjectPath + "\\config.properties");
      prop.load(file);}
      catch(FileNotFoundException e){
      e.printStackTrace();}
      catch(IOException e){
      e.printStackTrace();
      }}
      public static void intiallization(){
      String browsername = prop.getProperty("browser");
      if(browsername.equals("chrome"))
      {
      System.setProperty("webdriver.chrome.driver", "C:\\Users\\harshal\\Desktop\\Selenium Jar Files\\Gecko Driver\\chromedriver.exe");
      driver = new ChromeDriver();
      }else if(browsername.equals("FF"))
      {
      System.setProperty("webdriver.gecko.driver", "C:\\Users\\harshal\\Desktop\\Selenium Jar Files\\Gecko Driver\\geckodriver.exe");
      driver = new FirefoxDriver();
      }
      driver.manage().window().maximize();
      driver.manage().deleteAllCookies();
      driver.manage().timeouts().pageLoadTimeout(30, TimeUnit.SECONDS);
      driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
      driver.get(prop.getProperty("url"));

      }

    • @Marwan4Sultan
      @Marwan4Sultan 6 ปีที่แล้ว

      Mukesh, another instructor said to use this piece of code to call properties into a TestNG test case. I am trying to figure out why this method will not work. Can you please assist?
      public WebDriver driver;
      @Test
      public void Login() throws IOException {
      Properties prop=new Properties();
      FileInputStream fis=new FileInputStream("C:\\Users\\marwa\\eclipse-workspace\\POF\\src\\OBJECT_REPOSITORY\\var.properties");
      prop.load(fis);
      driver.get(prop.getProperty("url"));
      }
      Properties prop=new Properties();
      }

  • @jayakumarnachimuthu6224
    @jayakumarnachimuthu6224 6 ปีที่แล้ว

    Thank you So much :)

  • @Mayank12345678925
    @Mayank12345678925 6 ปีที่แล้ว +1

    What is the significance of using static...can u pls explain why we use static

    • @battu.deepikareddy4994
      @battu.deepikareddy4994 6 ปีที่แล้ว +1

      mayank batra when we use keyword static before a variable like static a=1 then the value of a is shared , for example in a program we have to access value of a more than once and when we are accessing for the second time like in next statement if a is incremented the incremented value is carried along the program that is why we use static

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Very nice explanation Deepika :)

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Hi Mayank hope it is clear..

    • @Mayank12345678925
      @Mayank12345678925 6 ปีที่แล้ว

      Mukesh otwani thank u sir...but can u pls share some another example

    • @saikrishnapulivarthi7647
      @saikrishnapulivarthi7647 6 ปีที่แล้ว

      no sir, it is not :(

  • @dikshadeshmukh7023
    @dikshadeshmukh7023 4 ปีที่แล้ว

    Which is the 1st video of java for selenium,Sir please tell me

    • @Mukeshotwani
      @Mukeshotwani  4 ปีที่แล้ว

      Hi Diksha, feel free to connect with me for any issue in Selenium or In Java.

  • @prasanthip1647
    @prasanthip1647 7 ปีที่แล้ว

    How to call static variable in another class?

  • @eragarajuramana5821
    @eragarajuramana5821 5 ปีที่แล้ว

    Thank you sooooooo much

  • @acp01
    @acp01 4 ปีที่แล้ว +1

    These videos are not in sequence.. get confusing which video next to play .. can allocate video number

    • @Mukeshotwani
      @Mukeshotwani  4 ปีที่แล้ว

      Sure Akash I will arrange them with number but most of the concepts are independent.You can learn them concept by concept.

  • @nishanksinha7537
    @nishanksinha7537 3 ปีที่แล้ว

    Fan of you

  • @palaksoni8341
    @palaksoni8341 5 ปีที่แล้ว

    Why we create object ?
    What happens internally when we create object ?

    • @sagararyal9150
      @sagararyal9150 5 ปีที่แล้ว +4

      Object are created to manipulate data with methods.

  • @bestofallworld1889
    @bestofallworld1889 4 ปีที่แล้ว +1

    DO U TEACH AS WELL?? @Mukesh Otwani

    • @Mukeshotwani
      @Mukeshotwani  4 ปีที่แล้ว

      Yes Mate, next batch details you can check here learn-automation.com/selenium-webdriver-online-training/

  • @gazalashaikh7672
    @gazalashaikh7672 3 ปีที่แล้ว +1

    👌👌👌👌👍👍👍🙏

  • @dikshadeshmukh7023
    @dikshadeshmukh7023 4 ปีที่แล้ว

    I want java for selenium from 1st lecture

    • @Mukeshotwani
      @Mukeshotwani  4 ปีที่แล้ว

      Hey Diksha, please follow this playlist th-cam.com/play/PL6flErFppaj2ArNxLyR4nQ4JV8qFc56-M.html

  • @reshmanbanu3711
    @reshmanbanu3711 3 ปีที่แล้ว +2

    🙂