How to handle Calendars using Selenium WebDriver | Selenium |

Поділитися
Вставка
  • Опубліковано 3 гру 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.

  • @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.

  • @srividyamuppala7972
    @srividyamuppala7972 3 роки тому +2

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

  • @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

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

  • @alaharimeenasri7168
    @alaharimeenasri7168 3 роки тому +2

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

  • @anilds2631
    @anilds2631 Рік тому +1

    It is good video for cracking interviews.

  • @pallavihiremath7621
    @pallavihiremath7621 Рік тому +1

    Beautiful explanation

  • @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.

  • @sulthanarazia2014
    @sulthanarazia2014 11 місяців тому

    Thank you for your videos sir, very useful

  • @srija_sk
    @srija_sk 3 роки тому +1

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

  • @abedaa9731
    @abedaa9731 Рік тому +1

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

  • @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 6 місяців тому

    Super...

  • @eddyn.860
    @eddyn.860 2 роки тому

    Thank you very much, Sir!!!!

  • @ummezannat3116
    @ummezannat3116 3 роки тому

    Thanks a lot YadaGiri .

  • @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

  • @Nitsan_El
    @Nitsan_El Рік тому +1

    Thanks you very much

  • @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

  • @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

  • @factsofallahal-shaheedserv7816
    @factsofallahal-shaheedserv7816 2 роки тому +1

    Thank you

  • @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

  • @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

  • @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

  • @poornimak7791
    @poornimak7791 7 місяців тому

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

  • @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.

  • @nareshnani9872
    @nareshnani9872 4 місяці тому

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

  • @gaddipatiprabhakar2889
    @gaddipatiprabhakar2889 3 роки тому

    Good Video..

  • @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.

  • @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

  • @sweetymane4221
    @sweetymane4221 2 роки тому +1

    Thank you so much sir!!

  • @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

  • @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

  • @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

  • @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..

  • @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?

  • @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...🙏🙏

  • @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

  • @soundarrajanraji469
    @soundarrajanraji469 7 місяців тому

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

  • @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.

  • @socialmediahappy8697
    @socialmediahappy8697 3 роки тому +1

    if take your membership how can you solve my problem

  • @testtestL-k2e
    @testtestL-k2e 4 місяці тому

    I am not getting why setTime is being used?

  • @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)

  • @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

  • @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

  • @priyadarshiniMG
    @priyadarshiniMG Рік тому +1

    👏👏👏🙏🙏🙏

  • @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

  • @prajwal2828
    @prajwal2828 Рік тому

    I wanted the fourth calendar code

  • @kishoripatil2302
    @kishoripatil2302 2 роки тому

    Unable to get target day ?

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      What is the problem you are facing buddy?

    • @kishoripatil2302
      @kishoripatil2302 2 роки тому +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 2 роки тому +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 ?🥲