How to handle Calendars using Selenium WebDriver | Selenium |

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

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

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

    ==============================================
    ************** Checkout my other playlists **************
    ==============================================
    Java Programming videos playlist:👇
    🔗 bit.ly/3keRJGa
    Selenium WebDriver with Java videos playlist:👇
    🔗 bit.ly/2FyKvxj
    Selenium interview questions videos playlist:👇
    🔗 bit.ly/3matUB3
    Windows automation with FlaUI videos playlist:👇
    🔗 bit.ly/33CG4dB
    CSS Selectors videos playlist:👇
    🔗 bit.ly/2Rn0IbD
    XPath videos playlist:👇
    🔗 bit.ly/2RlLdkw
    Javascript Executor videos playlist:👇
    🔗 bit.ly/2FhNXwS
    Apache POI videos playlist:👇
    🔗 bit.ly/2RrngrH
    Selenium Java in Telugu: 👇
    🔗 bit.ly/3ab697k
    Maven videos playlist:👇
    🔗 bit.ly/2DYfYZE
    How to fix Eclipse errors:👇
    🔗 bit.ly/3ipvNYf
    ==============================================

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

      brother jira videos cheyachu gaa telugu lo u r doing great job

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

      manual testing and tools meeda videos cheyyali but ippatlo ithe undakapovachu bro.

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

    I have seen so many videos for date picker but none of the video helped me urs is simply superb

  • @anilds2631
    @anilds2631 Год назад +1

    I have 6 years of experience and i need to improve in creating xpath. Thank you for creating playlist of xpath 🙏🙏🙏🙏🙏🙏

  • @peacelilly2200
    @peacelilly2200 Год назад +1

    Thank you for creating the video on this topic. Looking from so long and was not able to do it myself. Very much helpful and very clear explanation.

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

    Very very helpful in real time......such a detailed explanation

  • @snigalyasreesree
    @snigalyasreesree 11 месяцев назад

    Excellent explanation. Appreciate your efforts , thank you for making a detailed video.

  • @anilds2631
    @anilds2631 Год назад +1

    It is good video for cracking interviews.

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

    nice explanasion bro... keep going to do videos like this. very useful for beginners... thanks alot...

  • @sulthanarazia2014
    @sulthanarazia2014 11 месяцев назад

    Thank you for your videos sir, very useful

  • @pallavihiremath7621
    @pallavihiremath7621 Год назад +1

    Beautiful explanation

  • @abedaa9731
    @abedaa9731 Год назад +1

    Very clear explanation sir..please do vedios on frameworks in selenium

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

    very informative and real world scenario, the way you are explaining, also with great detail. Appreciate it . Please make more such videos on different topics such as- Paginations, tooltips, DB connections etc.

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

    Hi Sir, Thank you so much for the amazing concept!!!

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

    Tq sir for your valuable information

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

    Can you do more videos like this more often, problem solving types. So much to learn from you.

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

      Sure buddy

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

      @@HYRTutorials can you tell me how you got idea to use Calender class ,the best possible way to handle calender, ,do we need to know each every class of java for selenium??

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

      Nothing like that buddy it comes with the experience. the more you use java the more you learn and some of biggest tasks also can be done easily when you you know about the existing libraries and all.

  • @akashakash-tf1jh
    @akashakash-tf1jh 2 года назад

    wow one of the best video

  • @VaishaliMore-bd1kb
    @VaishaliMore-bd1kb 5 месяцев назад

    Super...

  • @eddyn.860
    @eddyn.860 2 года назад

    Thank you very much, Sir!!!!

  • @Nitsan_El
    @Nitsan_El Год назад +1

    Thanks you very much

  • @LaxmanChendake
    @LaxmanChendake Год назад +1

    Hi Sir....Please make video on 4th type of calendar...

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

      That's the same style as all the other calenders buddy

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

    Thanks a lot YadaGiri .

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

    Good bro.... Make Video on keyboard and mouse actions in Selenium

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

      Yesh sure bro.
      Meanwhile, If you know telugu language you can watch those videos in my telugu playlist

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

    Could you please guide me how to automate and enter text in enriched text editor.. it has tags , #document ,html,body,p

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

      To handle that first you need to switch to those frames and then only you can perform the operations

  • @factsofallahal-shaheedserv7816
    @factsofallahal-shaheedserv7816 2 года назад +1

    Thank you

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

    Thank you so much sir!!

  • @poornimak7791
    @poornimak7791 7 месяцев назад

    I want same thing in javascript language how to do it sir which library i have to use

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

    Good Video..

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

    Sir i request you please make video on Make my trip in which i m unable to handle calendar...it bit hard to handle for me..i think developer designed it very advance...Please try it yourself and teach us in your style...please sir it's request...🙏🙏

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

      Can you send an email on hyadagirireddytutorials@gmail.com
      With the steps you tried to automate that calender and what error you are facing?if you can send these details clearly then I can help you.
      Creating a video on every website is kind of difficult buddy

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

      @@HYRTutorials sure sir...🙏🙏

  • @PrashanthS-ji1gy
    @PrashanthS-ji1gy Год назад +1

    Thanks for the video. I m facing problem "java.lang.Exception: Invalid date format" when i try for past and future dates . clicking is happening for prev and next months but failing in selecting targetDay

    • @PrashanthS-ji1gy
      @PrashanthS-ji1gy Год назад +1

      Got error as "java.text.ParseException: Unparseable date: "SEPT 2022". It works for all other months

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

      What is the format you have provided buddy

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

    Hii, For calendar.get(Calendar.MONTH), it is returning month -1 as a result. when I googled and found month are index from 0.
    As I couldn't see +1 anywhere in you code, could you kindly let me know how you handled please.
    Thnks in advance.

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

      I handled it based on zero index only. we dont need the index to be starting from 1
      Here you are converting the target date into the Date instance ryt so it automatically takes care of this index and all

  • @nareshnani9872
    @nareshnani9872 4 месяца назад

    Hii anna,
    AUTOMATION TESTING ki eminaa new learning batch start chesthunnaraa?

  • @rinalthakur7263
    @rinalthakur7263 Год назад +1

    How to select any future time not static dynamic like current time+15mins like that

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

      Here I'm taking the target date value but in this case you have to generate it in the program. You can get the current time and add the time. Then it gives you the target date buddy

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

    Sir , I want to convert a date from dd/mm/yyyy format to yyyy/mm/dd format and then want to use translate function to omit the "/" , what will be the xpath?

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

      That can't be done using xpath buddy.
      It has to be done in java only

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

    Hello there, I was looking for some support on automation testing is there by any chance you could provide

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

      I'm not providing any job support buddy

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

      Okay thanks
      Small question do selenium have capability of choosing random Date from the given year

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

      no buddy.
      you have to implement that logic

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

    Really a Good Explanation ..Bro - I need to select tmrw date every time, how can i handle that? can you pls help me.

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

      Thankyou 😊
      Take the today's date and add 1 day to the date.
      After that the same process will be followed

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

      @@HYRTutorials adding 1 to the current date will work fine to get tommorow date but this will give an arrayIndexOutOfBound exception during the month end if the date picker doesn't display previous or future days the current month.Let's take an example :Start date=31/1/2022 and end date 1/2/2022..

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

    How to select current date to Future 45th day in calander...??

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

      If you watch the video fully then you will be able to do that buddy

  • @N.raju8247
    @N.raju8247 2 года назад +1

    Hi bro when i was writing code I couldn't get setTIme method then how to resolve this problem

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

      Did you import the correct references only buddy?
      May be because of java version also it might happen

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

    Hi YadaGiri,Thanks for your vedio,i was trying to implement same but when i use the parse() ,its giving this error- Default constructor cannot handle exception type ParseException thrown by implicit super constructor. Must define an explicit constructor.... please help me to solve this

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

      Can you send me your code on hyadagirireddytutorials@gmail.com or paste it here.

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

    Hey can you help me with modifying a bit of code . You're selecting a previous date using xpath of previous button. In my case the previous month button is disabled and i've to show an error if previous month or even a date is selected. How can I do it please help

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

      Get the selected date and convert that into the date instance. then compare it with today's date.
      if the date is past then you can throw the custom exception and if not you can pass the test

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

      @@HYRTutorials The previous dates are disabled too in particular month.

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

      @@HYRTutorials Can you paste it over here the code part what you’re trying to say …

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

      1. Compare the target date with today's date and identify whether it is a previous or today's date
      2. if it is previous date then identify whether that date is in current month only
      3. if it is not in current month and yet it is a previous date then try to identify the previous button and verify whether it is enabled or not. Based on that take the action.
      4. If the date is in current month only then get that date element and verify wether iut is enabled or not. Based on that take the action.

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

    Hey you didn't shown calendar picker. From Icon how can we open calendar?. 6th calendar

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

      Extra step that is involved here is just clicking on that.
      I have given that as a assignment buddy

  • @testtestL-k2e
    @testtestL-k2e 3 месяца назад

    I am not getting why setTime is being used?

  • @priyadarshiniMG
    @priyadarshiniMG Год назад +1

    👏👏👏🙏🙏🙏

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

    Can you help me with selection of multiple dates for multiple items ??? It's urgent

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

      If you have watched the video you might know how the calendars work. and also you knew how you can make a utility function for handling this.

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

      @@HYRTutorials Yes did it on my own using utility function. 👍🏻

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

      Super. Thats good to hear

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

      @@HYRTutorials I need a change where I couldn't accept past date . It should give me an error bcoz past dates are disable in calendar. It should say past dates are not allowed. Can you help me please it urgent.

  • @soundarrajanraji469
    @soundarrajanraji469 7 месяцев назад

    You haven't taught current date selection or i missed it. Please help

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

    sir concatenation not working what do

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

      Can you paste your code here (only the place where concatenation is not working)

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

    Sir I have one doubt in make my trip if we select round trip in flights and if we open calendar then site shows two dates already selected (while we are catching one date using calendar.getinstance() how to handle this?

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

      Unfortunately I can't access the MakeMyTrip website from my location buddy.
      I'm not in India so I'm helpless in this case

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

      @@HYRTutorials ok sir

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

      @@HYRTutorials sir can you manually check using VPN that what is a scenario is?

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

    if take your membership how can you solve my problem

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

    I wanted the fourth calendar code

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

    how to select a date in this situation when there is no difference between past current and next months td cells

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

      There will be some difference and we need to identify that. The difference could be either in classname or style or parent element props

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

    Hi sir can you please make a video on mostly asked interview questions Tell me about your self and explain your roles and responsibilities

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

      They are specific to every individual means it completely differs from one person to another person.
      But i will try to make one generic video

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

      @@HYRTutorials ok sir

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

    Hi,I want to enter Date of Birth here .how can I?plz explain soon

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

      To learn that you must watch this video fully brother

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

    Unable to get target day ?

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

      What is the problem you are facing buddy?

    • @kishoripatil2302
      @kishoripatil2302 Год назад +1

      When day is added in the xpath that can not be handled so i have tried another way that resolve my issue

    • @kishoripatil2302
      @kishoripatil2302 Год назад +1

      I have taken x path till tr and then converted day in String.value of(targetDay) then appended in the xpath then it's working properly

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

      @@kishoripatil2302 Good job buddy

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

      @@HYRTutorials I like the way you teach evey small thing you explained very well and it's worth to watch all the videos. ..Your series of videos helping a lot

  • @arifwaheed8070
    @arifwaheed8070 11 месяцев назад

    Very confusing and fazool lecture, time wasting

  • @sharayurenghe8944
    @sharayurenghe8944 2 месяца назад

    Dud why did you stop creating videos? and why there are so many videos in telegu ?🥲