Real Time Use Case of HashMap in Selenium || Important Selenium Interview Question

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • In this video, we will learn how to use hash map in selenium with real time example.
    Real Time Use Case of HashMap in Selenium || Important Selenium Interview Question
    Use Case:
    Different Users/Roles : Permission Based User Management System.
    ~category manager user --go to the app--add all the products
    ~customer user -go to the app- buy a product --place an order
    ~admin user -go to the app- can see all the orders
    ~Seller user --go to the app--see only those orders which are relevant
    ~Distributor User - go to the app--can see the respective order
    ~Delivery Boy User --go to the app--can see the order and deliver the product
    ~customer care user -go to the app- log a ticket
    ~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
    www.youtube.co...
    Follow me on my Facebook Page:
    / naveenqtpexpert
    Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
    t.me/joinchat/...
    WebServices API Automation Tutorials:
    vimeo.com/onde... Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
    www.youtube.co...
    Follow me on my Facebook Page:
    / naveenqtpexpert
    Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
    t.me/joinchat/...
    Paid courses (Recorded) videos:
    Java & Selenium Course: www.naveenautom...
    API Course: www.naveenautom... ➡️Get Our Courses✔️
    📗 Get My Paid Courses at
    Paid courses (Recorded) videos:
    Java & Selenium Course: www.naveenautom...
    API Course: www.naveenautom...
    -------------------------------
    ✔️SOCIAL NETWORKS
    Facebook: / naveenqtpexpert
    Twitter: / naveenkhunteta
    Blog: www.naveenautom...
    --------------------------------
    Support My Channel✔️Or Buy Me A Coffee
    Paypal: paypal.me/nave...
    Google Pay: naveenanimation20@gmail.com
    --------------------------------
    ✔️Thanks for watching!
    देखने के लिए धन्यवाद
    Благодаря за гледането
    感谢您观看
    Merci d'avoir regardé
    Grazie per la visione
    Gracias por ver
    شكرا للمشاهدة

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

  • @rajeshkumar-no8sp
    @rajeshkumar-no8sp 4 года назад +4

    Simply awsm sir! You are one of the best. I've learned so many things with your magic videos! Thank you so much!!!!!

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

    I am a C# person and hence never attempted to see your videos, but this is awesome...you are a blessed mentor. Explained crisp and clear. Never realized Hashmap is so simple. God bless you always to throw lights to all techies. Thanks you so much for such informational videos...

  • @1053vijay
    @1053vijay 3 года назад +2

    u r the best Naveen, I tried to learn java from youtube a couple of times but never succeed. but this time I did. proudly I can say you are my guru for Java. God bless you Naveen.

  • @DineshKumar-du2dm
    @DineshKumar-du2dm 5 лет назад +3

    Nice example to explain about HashMap naveen. Thanks a lot 👍😃

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

    Just amazing tutorial.. Bestest way one can explain is 'YOU'. Thank you so much!

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

    Its magical Naveen.Learnt so many new things .Thanks alot.

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

    Thank u so much. This video is very helpful for
    my project.

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

    Amazing explanation naveen. Thanks

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

    Really amazing and easy explanation. Thank you Naveen

  • @joshnashetty214
    @joshnashetty214 2 года назад

    A very cool tutor i have ever seen ☺️

  • @shankarprasad2454
    @shankarprasad2454 3 года назад

    Excellent explanation Naveen thank you so much.

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

    Naveen, thanks for the vid. By the way , when you declare HashMap you don't have to mention twice Key and Value, you can use just a diamond.
    HashMap map = new HashMap ();

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

      Yup, you are correct :)

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

      @@naveenautomationlabs We have to provide Key Value in both side. If I don'r provide it gives me Compile time error.

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

    Thanks for the video and the anology relationship with e-commerce domain its being very easy to understand.

  • @pratibhasingh3432
    @pratibhasingh3432 3 года назад

    Thnku Naveen simply understand 👍

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

    Very Good Explanation, Could you please post more videos like this related to real time. (Thanks for this Videos)

  • @satishkvs156
    @satishkvs156 3 года назад

    Thank you so much Sir, very good explanation

  • @rohitmisra9008
    @rohitmisra9008 Год назад

    This is a nice sessions naveen

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

    Hey brother great job always watch your videos and recommend it friends when they ask how to learn selenium webdriver . My question is can you make a video on how to read and navigate in someone else framework code and design so these are tge challenges newbies and mid even sienor devs come across

  • @priteshkhambekar
    @priteshkhambekar 2 года назад

    Great

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

    Awesome video. Can you please make more videos on real time scenarios. Your videos are best

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

    Love this Logic 👍

  • @AnshuYadav-nr8is
    @AnshuYadav-nr8is 5 лет назад +2

    Thanks

  • @mudaseer21
    @mudaseer21 Год назад

    nice

  • @yaminisrinivas4215
    @yaminisrinivas4215 6 месяцев назад

    Do we use Hashmap for this particular scenario in our framework or it is just interview purpose?

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

    Awesome!!! can you also please upload hashmap with page object model.

  • @JitendraKumar-lr3vq
    @JitendraKumar-lr3vq 5 лет назад +1

    if possible can you please demonstrate how to use excel rows and columns using hash map

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

    can we add third attribute in the value? like username:password:code(or anything)?

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

    Sir which is better or what is preferred over ......using hashmaps in this video or using properties file

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

      Username/Passwords are sensitive data, and hence it is better not to use properties file for that.

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

    Its a awesome video it helped me alot but somehow iam getting nullpointer exception.How can i resolve that problem.Thanks in advance

  • @kshipra4504
    @kshipra4504 3 года назад

    Can you please tell where exactly Hashmap is used and where dataprovider... because credentials stuff can also be dealt with usual dataprovider, excel way....??

  • @srinivasaraoy9499
    @srinivasaraoy9499 3 года назад

    @naveen i have one doubt, if we have more numbers of customer's, how can we check using hash map.

  • @yahankc1008
    @yahankc1008 2 года назад

    Sir when to use data providers/excel/property file/hashmap in the same framework?

  • @shobhad6303
    @shobhad6303 2 года назад

    Excel testdata can be fetched using hashmap too

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

    What if i want to automate webapplication for multiple languages in framework ...?
    How to use hashmap in that case....?

  • @onlybuildings
    @onlybuildings 2 года назад

    pls inform this with excel sheet, passing values hashmap from excel, any link pls

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

    Nice naveen bhai. Can u please create one whatsapp group bhai?

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

      First Join His Channel and Please contribute.What ever you can.

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

      @@sharadranajava joined already buddy

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

    Map is also an Interface in Collections right?

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

      No

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

      It is an interface but it is not in collection

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

      @@srihari4827 then? only List and set are collections?

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

      @@shanthikandasamy list ,set,queue belongs to collection

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

      @@srihari4827 can you please tell me Map will come under which concept?