P6 - Hard Assertions vs Soft Assertions in TestNG | TestNG | Testing Framework |

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

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

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

    ↔️ TestNG Playlist Link: bit.ly/3wXyuXB
    ✴ Checkout my other playlists: bit.ly/3gLIAVL
    ☕ Buy me a coffee: bit.ly/33ljBWc

  • @yashu2808pr
    @yashu2808pr 2 года назад +6

    200% clarity 👌👌 thanks a ton !!

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

    No words of gratitude will be sufficient to thank you Sir. for the kind of hard work that you are putting and to make the concept understandable even to the beginner is out of this world.Many many thanks Sir👍

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

    really i am a aspirant for software testing job, really enjoying and learning a lot from your testNG framwork videos, plz create a testNG framework Project like in comapny does

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

    thanks a million, since i starting to watch your videos, i couldnt stop, brilliant work

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

    Your approach to explain complex concepts is outstanding and very clear that anyone can understand without issue.

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

    Nice explanation HYR gaaru.

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

    great teaching skills......along with an energy.....

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

    Very nice explanation. And also very informative . I will appreciate if you please clarify usually when and why we need to use assertNotEquals...
    Thanks a lot .

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

      Thankyou 😊
      We do also have the negative tests in our suite right?
      For those we use this assertnotequals

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

    awesome video very helpful for concept clarity

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

    Thanks a lot for the beautiful explanation!!

  • @basamma.patilpriya609
    @basamma.patilpriya609 4 месяца назад

    Very well explained.Thankyou sir.

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

    Awesome explanation. Very helpful! Thank you..

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

    Nice.... Video on Soft And Hard Assertions, Thank you.

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

    Thank you , very deep explanation.

  • @C.Sakthivignesh
    @C.Sakthivignesh Год назад +2

    Thank you so much sir for made this video.

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

    Wow nice explanation sir very esy to understand

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

    thanks a lot sir , you are great teacher & awesome explanation 🙏

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

    Nice Video Bro
    Looking forward next session

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

    Awesome, you are really perfect, very nice playlist, your explanations are very easy👌, and you are very informative, keep it up 🤗👍

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

    Good Explanation Bro

  • @kgangadhar6495
    @kgangadhar6495 9 месяцев назад

    Full clarity ❤

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

    nicely explained!!

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

    ur a awesome guy,thanks for nice explnation

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

    sir i got this exception after executing same code "Session ID is null. Using WebDriver after calling quit()?"

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

    thanks a lot sir. you are great teacher

  • @KhushbooSharma-cn3vr
    @KhushbooSharma-cn3vr 7 месяцев назад

    For me only URL and Titile assertion is working and when I used soft assert still browser is not getting closed when soft assert fails

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

    so like we can have multiple assertion in a Test? or one assertion in multiple Test ?

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

      Yes we can have any number of assertions

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

    Can you please also make a video on automation test framework?

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

    Thanks bro ,awesome explanation 🙏🙏

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

    Other Tests executes in case of Hard assertion ?

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

      Yes it executes the other tests.
      It won't execute the other steps in the same test

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

      @@HYRTutorials Thank you

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

    Thanks!! :)

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

    Brother any update on ag grid video ?
    Please reply 🙏

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

      Didn't check that brother

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

      @@HYRTutorials please can you check and do a video.
      No one did a video on this 🙏

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

    When all the test cases are correct then getting error that unable to locate element

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

      May be due to some synchronisation issues the element might not have been loaded
      Check the console buddy

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

    Hello sir, what is the difference between Assertions and Exceptions..?

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

      Assertions are kind of wrappers around exception with additional capabilities like verifying something particularly.

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

    Thanks boss

  • @shashikumar-pt4gm
    @shashikumar-pt4gm 2 года назад

    good explanation

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

    Thank you

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

    Hi sir i am also using the same application OrangeHrm demo but it is launched for me but not able to put credetials through selenium.

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

      What's the error you are getting buddy?

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

      Apply Thread.sleep(3000) before finding the Element...
      The same issue was with me as well it was showing NOSUCHELEMENTEXCEPTION

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

      @@intellectuallearning8118 Due to synchronization issues sometimes the element will not be loaded within the default time. In those scenarios we need to provide some wait. it can be implicit or explicit based on your choice.

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

    your ti to explain sotNice tutorialng

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

    Superb

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

    Hey Master , i am from Viet Nam and i am so admired by you .. Can i be your Fb friend ?

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

      Thanks buddy 😊
      Yeah sure, hyadagirireddy is my fb id.

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

    In real time we use soft or hard assert sir

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

      We use both the asserts buddy.
      Depending on scenario we have to choose the assertions.
      If u don't want to proceed further on some failure then go for hard assert and if u want to proceed further then go for soft assertions

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

    👌👌👌

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

    👌👍

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

    Test failed due to "Unable to locate element: {"method":"xpath","selector":"(//div[@id='email_container']/div)[last()]"}"
    How to fix this?

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

      It's unable to find that element with this xpath buddy.
      Can u cross verify whether that element is present in webpage or not in the chromedevtools

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

      @@HYRTutorials changed xpath and it worked bro

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

      @@SaideepofficiaI Thats good.

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

    Sir can you please provide the notes

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

      Notes should be prepared self after watching the videos buddy

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

    Maven is not connecting to eclipse why?

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

      What's the error you are getting buddy

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

      @@HYRTutorials got it…after adding dependency forgot to save.

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

      haha it happens sometimes