What is ArrayList in Java and What are the usage in Selenium Webdriver

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024
  • ArrayList in Java is a Class which is part of Collection framework in Java. We can use ArrayList in Selenium in a different concept and it handles all basic object operation.
    We use List, Set, ArrayList and HashMap in Selenium Webdriver.
    Java Playlist
    • Java tutorials for Sel...
    All Playlist
    / mukeshotwani
    Supported By TestRigor
    Sign up today - testrigor.com/...
    If you want to support this channel
    rzp.io/l/qNCAp...
    All Playlist
    / mukeshotwani
    Connect with us:
    Email - mukeshotwani@learn-automation.com
    Linkedin- / mukesh-otwani-93631b99
    Instagram- / mukeshotwaniofficial
    Facebook Group- / 256655817858291
    Facebook Page- / seleniumwebdrivermukesh
    Blog- learn-automatio...

Комментарии • 112

  • @fero___3005
    @fero___3005 2 года назад +2

    one of the best video for Collection because I have been struggling to understand the concept for 2 weeks But this video helps me a lot thanks :)
    32:00

  • @Mukeshotwani
    @Mukeshotwani  7 лет назад +1

    Hey Guys, Hope this will help.Let me know if any question. Happy learning.

    • @PardeepKumarbindass
      @PardeepKumarbindass 7 лет назад +1

      Hi Mukesh, can we add multiple values in one Go rather than writing again & again obj1.add("V") ?
      Thanks

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Yes Avi you can do
      Use Integer instead of String

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад +1

      Well Pradeep you can also write add method in for loop and call add method inside of forloop

    • @sunainagupta8622
      @sunainagupta8622 5 лет назад +1

      Hi Mukesh, thanks for these helpful videos. I'm very new to the coding world. I understand, CTRL Space helps in viewing Content assist but in your video I can see explanations also for each how do you enable that?
      I'm unable to do so. it's quite helpful while coding so want to know. Awaiting your prompt response.
      Thanks.

    • @Mukeshotwani
      @Mukeshotwani  5 лет назад +1

      Hi Sunaina I press everytime for each and every method it comes automatically for intellij but in eclipse we need to press for auto suggestion.

  • @mvartolu8417
    @mvartolu8417 5 лет назад +2

    hi Mukesh, thank you for the helpful videos ... i just want to know ,which video did you recommend us to see before this video? can you please comment the link ?
    thank you very much.

  • @tanishasharma7542
    @tanishasharma7542 6 лет назад +3

    I like this video. explained in a simple, easy and logical way. thanks for this video.

  • @chetanbhardwaj8620
    @chetanbhardwaj8620 6 лет назад +1

    your teaching is really simple and awesome .... I got new jobs by following your teaching ...thanks a lot....u r my role model

  • @akankshapriydarshi2067
    @akankshapriydarshi2067 7 лет назад +2

    your videos are simple,crisp , to the point ..loved the way have presented each and every topic.Thanks a lot .thank you

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      +Akanksha Priydarshi most welcome Akansha 😊 Keep learning and let me know if any help from my side.

    • @akankshapriydarshi2067
      @akankshapriydarshi2067 7 лет назад +1

      Thank s a lot for this kind gesture :) ,sure ,will let you know for any issues. Again , Thanks :) Your work is really awesome .

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      +Akanksha Priydarshi 🙏 sure

  • @sanketnegi1
    @sanketnegi1 3 года назад +2

    you are getting lot less support than you deserve. But great job of supporting the community.

  • @Bell4Fun
    @Bell4Fun 6 лет назад +3

    Sound quality is very disturbing .......But contents are easily explained ......Good Job

  • @vekotham
    @vekotham 7 лет назад +1

    Hi Mukesh,In which scenarios we use the iterator ? I feel it was similar to enhanced for loop. Can you please clarify

  • @kumarshailendrasoni
    @kumarshailendrasoni 7 лет назад +1

    Excellent Explanation about Array List!! Thanks Mukesh. I'm waiting for next video.

  • @kumarrdy5420
    @kumarrdy5420 7 лет назад +1

    I found the best way to get good knowledge on java / selenium . its your videos. very clear and depth approach.. hatsoff Mukesh. Thanks a lot .

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Thanks a ton Kumar

    • @kumarrdy5420
      @kumarrdy5420 7 лет назад

      I should say .. BIG THANKS to you Mukesh... You made me much comfortable in Java and selenium concepts. I can fell the easiness on any concept After watching your videos.. I reffereed ur videos to my colleagues and friends. I explained them many of ur videos.. Happy to get reply from You, its made my day.

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад +1

      After reading your comment I am really glad that you also referred to your friends too. Keep in touch and let me know if any help from my side.

    • @kumarrdy5420
      @kumarrdy5420 7 лет назад

      Sure Mukesh .. Thank You.

  • @jaishankar532
    @jaishankar532 7 лет назад +1

    Thanks mukesh!! All your videos are awesome with clear info reg implementation and easily understandable.
    Keep up the great work and Looking forward for rest of the videos on collections.

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Hi Shankar Thank you yes will upload more videos on collection.

  • @priya8505
    @priya8505 7 лет назад +1

    Hi Mukesh ji,
    Thanks a lot for the deep explanation about List and Array List.
    I am very impressed for the video and even I had faced lot many interview questions from this concept.Now I understood what and how does it works......
    Waiting for the Set and Map videos #Your videos are really helpful for beginners like me.
    Keep Rocking!!!!

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Thanks Priya :) Set video will be out today and MAP video will be on Sunday.

  • @sreelathatharigonda8306
    @sreelathatharigonda8306 7 лет назад +1

    Hi Mukesh, its very helpful and detailed explanation about all alternatives to get ArrayList elements which I had confusion before watching this video. Now I got clarity.Could you please share the link where we will get documentation or theory part tutorials for all your video?

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Thanks Sree I will post links soon

  • @nowreenbegum8817
    @nowreenbegum8817 4 года назад +1

    Thank u so much for bringing this topic so clearly and extreamly understandable way.
    In between sound is very horrible but expect this whole class so so good.

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      Sorry for bad sound experience but I have fixed that issue now. I am glad my videos are helping you.

  • @andyrockstar78
    @andyrockstar78 6 месяцев назад +1

    Super Mukesh sir

  • @keshojukavya2830
    @keshojukavya2830 4 года назад

    Hi Mukesh,
    How are you using those breakpoints and debug points? Is there separate video on those? I cant find the icons you are using for breakpoints(executing the code line by line)

  • @avazara408
    @avazara408 6 лет назад +1

    wow nice nice teacher i saw in my life
    i love the way u r teaching dear Mukesh

    • @Mukeshotwani
      @Mukeshotwani  6 лет назад

      +Ava Zara thanks you zara your comment made my day 😃

  • @keshojukavya2830
    @keshojukavya2830 4 года назад +1

    Hi Mukesh,
    I just want to know if API testing includes selenium testing. Because they are recruiting with the name API testing, not sure if I can apply for those?

    • @Mukeshotwani
      @Mukeshotwani  4 года назад +1

      Hi Kavya, Selenium is for WEBUI Automation and API including testing web services.
      I have dedicated playlist which explains about API testing
      ruclips.net/video/aqrxDxumKZQ/видео.html
      Note- API testing is ever green so I would suggest you to learn API as well.

  • @susheelgatla5170
    @susheelgatla5170 6 лет назад +1

    Hi Mukesh i learned so many things from your videos thanks for that.I have one doubt...In this video you used Collection and Collections both words but Collection and Collections have diffrence can you please explain.

    • @mohammedmoinuddina2815
      @mohammedmoinuddina2815 6 лет назад

      Collection is an interface which is implemented extended by List and implemented by ArrayList . Where as Collections is a class

  • @PardeepKumarbindass
    @PardeepKumarbindass 7 лет назад +1

    Excellent Mukesh.A grt explanation

  • @kanchankulkarni4915
    @kanchankulkarni4915 6 лет назад +2

    Simple and clear way of explaining..Liked it.

  • @ManzoorAhmad-ny8rp
    @ManzoorAhmad-ny8rp 7 лет назад +1

    Fantastic video!!!Thanks for sharing!!!Allah bless you

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Thank you so much for Blessing Ahmad bhai.

  • @AmandeepSingh-bg5fb
    @AmandeepSingh-bg5fb 7 лет назад +1

    Hi Mukesh,
    Great explanation as always.
    Keep up the great work!

  • @kumarrdy5420
    @kumarrdy5420 7 лет назад +1

    Thank you Mukesh. very helpful info..

  • @atulwatharkar8213
    @atulwatharkar8213 5 лет назад

    Hi Mukesh, I tried the exact same code explained in ArrayListDemo class however writing obj1.add(78787) eclipse shows error at add method saying "The method add(int, Object) in the type ArrayList is not applicable for the arguments (int)" and same goes for char and double. It is somehow not considering arguments as Object, Kindly help

  • @janun9088
    @janun9088 7 лет назад

    Thank you for your tutorial it's really doing a great help for us. but I am confusing about the sequence of your video . It's barren for learning . please consider my issue.

  • @bharath1680
    @bharath1680 6 лет назад +1

    You are making my life easy mukesh bhai :) ... shukriya

  • @narayanank1988
    @narayanank1988 6 лет назад

    Awesome bro.. My confusion on Inheritance and List is resolved at last

  • @stephenrajvlogs4275
    @stephenrajvlogs4275 7 лет назад +1

    Hi Mukesh, Thanks for videos, Is there a video on CBF framework like how things work in CBF because i know little bit how POM framework would work but not other frameworks.

  • @saniketsoni
    @saniketsoni 7 лет назад +1

    Excellent video Mukesh!! This is really helpful

  • @siddeshwarmithbavkar4232
    @siddeshwarmithbavkar4232 6 лет назад +1

    Too good Sirji ,specifically the last section.

  • @SaikiranPalugula
    @SaikiranPalugula 7 лет назад +1

    Excellent Mukesh:-)
    Plz keep posting some basic topics on java like interfaces, constructors etc..

  • @thotavenkatesh6646
    @thotavenkatesh6646 2 года назад +1

    My god is mukesh as per java perspective

  • @vikasswami5364
    @vikasswami5364 7 лет назад +1

    as always...simple and bang on..hats off..pls upload HashMap

  • @PainofRiOt
    @PainofRiOt 3 года назад +2

    can you tell us where we use arraylist in selenium? title is very misleading. please

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Hi Sharif, whenever we use findElements() method it will return List of WebElements then we can iterate and use the same.

  • @tanishasharma7542
    @tanishasharma7542 6 лет назад +1

    Amazing video....great work...simple yet useful

  • @RahulSingh-fo4gx
    @RahulSingh-fo4gx 6 лет назад

    Hi Mukesh,
    Well explained
    Have you uploaded HashMap please provide the link.

  • @atulhake3787
    @atulhake3787 7 лет назад

    you are awesome man!!! great & core explanation.

  • @devipothana4421
    @devipothana4421 5 лет назад +1

    Hi, Please can u send me the arrays video link

  • @achubala4759
    @achubala4759 2 года назад +1

    ❤❤thank you bro ❤❤ nice presentation ..on point🥳

  • @karthikmanoharan6794
    @karthikmanoharan6794 7 лет назад +1

    Nice video. please post video for API automation and BDD Serenity

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Thanks Karthik, not sure about Serenity but will sure will upload for API

  • @fatih-fx1gi
    @fatih-fx1gi 2 года назад

    Hi Mukesh, can you tell me how to get ArrayList size without using size ()?

    • @TejasKothawade110793
      @TejasKothawade110793 2 года назад +1

      use iterator and using while loop(it.hasnext()) --> increase counter

    • @fatih-fx1gi
      @fatih-fx1gi 2 года назад +1

      @@TejasKothawade110793 thanks 😊

  • @vivekdivekar48
    @vivekdivekar48 4 года назад +1

    Nice teaching..

  • @adeebatariq6200
    @adeebatariq6200 2 года назад +2

    superb

  • @riteshkumar6403
    @riteshkumar6403 6 лет назад

    Very informative video.

  • @deamnah8973
    @deamnah8973 7 лет назад

    It's awesome!

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      +Deam Nah thank you 😊 Deam.
      Keep visiting.

  • @supriyamishra5968
    @supriyamishra5968 4 года назад +1

    Nicely explained

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      Thank you so much 🙂 Supriya

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      Supriya, Are you learning Java and Python together?

    • @supriyamishra5968
      @supriyamishra5968 4 года назад

      I know Java just keep revising for practice. However I am learning python.
      😊

  • @bhavanathakur2301
    @bhavanathakur2301 6 лет назад +1

    Helpful Video :)

    • @Mukeshotwani
      @Mukeshotwani  6 лет назад

      Thanks Bhavana :) I am glad you liked it. Happy Weekend.

  • @nikhiljadhavkennovation4668
    @nikhiljadhavkennovation4668 5 лет назад +4

    Mukesh, please work on your headphones. Too much noise.

    • @Mukeshotwani
      @Mukeshotwani  5 лет назад +1

      Hi Nikhil in my latest videos I use new headphone. Old headphone had some issues.

  • @pragyamishra4640
    @pragyamishra4640 4 года назад +1

    thank you so much

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      Thanks Pragya, I am glad you liked ArrayList video. You can also check Set, Map videos which will give clear idea about collection framework.

  • @Ismail-hq8cq
    @Ismail-hq8cq 5 лет назад

    Thank you sir.

  • @satyamalkapurapu4259
    @satyamalkapurapu4259 6 лет назад +1

    Can you please uploadvideo for Hash map

  • @chandhuchandhu7672
    @chandhuchandhu7672 4 года назад +4

    Sounds are horrible, apart from that everything is extremely good.

    • @Mukeshotwani
      @Mukeshotwani  4 года назад +1

      Sorry Chandhu for bad experience, I will work on the sound quality.

  • @yashsharma8493
    @yashsharma8493 7 лет назад +1

    voice quality is very poor :( something like 1947

  • @ganeshsandeep6294
    @ganeshsandeep6294 2 года назад +1

    Tq