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

  Рет қаралды 51,015

H Y R Tutorials

H Y R Tutorials

2 жыл бұрын

In this video, I have explained about "Hard Assertions vs Soft Assertions in TestNG".
What is a hard assertion?
What is a soft assertion?
What is the difference between hard assertion & soft assertion ?
How to use the soft assertions?
=======================================
▶️ Next Video Link: • P7 - TestNG annotation...
◀️ Previous Video Link: • P5 - Assertions in Tes...
↔️ TestNG Playlist Link: bit.ly/3wXyuXB
🔗 Code used in this video: www.hyrtutorials.com/2022/03/...
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
👑 Join my youtube channel to get access to perks:👇
/ @hyrtutorials
========================================
========================================
Connect me @
🔗 Website - www.hyrtutorials.com
🔗 Telegram - t.me/hyrtutorials
🔗 Facebook - / hyrtutorials
🔗 LinkedIn - / hyrtutorials
🔗 Twitter - / hyrtutorials
🔗 Instagram - / hyrtutorials
========================================
========================================
🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
#hyrtutorials #selenium #testng
TestNG by Yadagiri Reddy

Пікірлер: 94
@HYRTutorials
@HYRTutorials 2 жыл бұрын
↔️ TestNG Playlist Link: bit.ly/3wXyuXB ✴ Checkout my other playlists: bit.ly/3gLIAVL ☕ Buy me a coffee: bit.ly/33ljBWc
@sivapratap9902
@sivapratap9902 7 ай бұрын
Nice explanation HYR gaaru.
@yashu2808pr
@yashu2808pr 2 жыл бұрын
200% clarity 👌👌 thanks a ton !!
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy
@user-fi4tg5dc9i
@user-fi4tg5dc9i 9 ай бұрын
thanks a million, since i starting to watch your videos, i couldnt stop, brilliant work
@HYRTutorials
@HYRTutorials 9 ай бұрын
Thanks buddy 😊
@klshyam2628
@klshyam2628 2 ай бұрын
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
@sravanthisravs3480
@sravanthisravs3480 Жыл бұрын
Thanks a lot for the beautiful explanation!!
@HYRTutorials
@HYRTutorials Жыл бұрын
Happy learning buddy 😊
@prathibhakukatlapalli5270
@prathibhakukatlapalli5270 Жыл бұрын
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👍
@HYRTutorials
@HYRTutorials 10 ай бұрын
Thanks buddy 😊
@nishamahendran1532
@nishamahendran1532 Жыл бұрын
Awesome explanation. Very helpful! Thank you..
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@kgangadhar6495
@kgangadhar6495 4 ай бұрын
Full clarity ❤
@rameshrongala922
@rameshrongala922 Жыл бұрын
Thank you , very deep explanation.
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@ravindrabhoite5628
@ravindrabhoite5628 Жыл бұрын
awesome video very helpful for concept clarity
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@NagababuYadlapalli
@NagababuYadlapalli Жыл бұрын
great teaching skills......along with an energy.....
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@gaddipatiprabhakar2889
@gaddipatiprabhakar2889 2 жыл бұрын
Nice.... Video on Soft And Hard Assertions, Thank you.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou 😊
@Bell4Fun
@Bell4Fun 2 жыл бұрын
Your approach to explain complex concepts is outstanding and very clear that anyone can understand without issue.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy 😊
@kiransingh8239
@kiransingh8239 Жыл бұрын
Thanks bro ,awesome explanation 🙏🙏
@HYRTutorials
@HYRTutorials Жыл бұрын
Thankyou buddy 😊
@ummezannat3116
@ummezannat3116 2 жыл бұрын
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 2 жыл бұрын
Thankyou 😊 We do also have the negative tests in our suite right? For those we use this assertnotequals
@C.Sakthivignesh
@C.Sakthivignesh Жыл бұрын
Thank you so much sir for made this video.
@HYRTutorials
@HYRTutorials Жыл бұрын
Happy learning buddy 😊
@ashwinkantale
@ashwinkantale Жыл бұрын
thanks a lot sir , you are great teacher & awesome explanation 🙏
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@kranthikumar7443
@kranthikumar7443 2 жыл бұрын
Nice Video Bro Looking forward next session
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou bro 😊
@ahmedmetwally3400
@ahmedmetwally3400 2 жыл бұрын
Awesome, you are really perfect, very nice playlist, your explanations are very easy👌, and you are very informative, keep it up 🤗👍
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thank you buddy
@prathyushag5962
@prathyushag5962 2 жыл бұрын
ur a awesome guy,thanks for nice explnation
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou 😊
@aravindharul6757
@aravindharul6757 Жыл бұрын
thanks a lot sir. you are great teacher
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@sagnikasaha54
@sagnikasaha54 Жыл бұрын
nicely explained!!
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@saibhavana9300
@saibhavana9300 Жыл бұрын
Wow nice explanation sir very esy to understand
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@tejalali5115
@tejalali5115 2 жыл бұрын
Thank you
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Welcome buddy
@rajatbarthwal9858
@rajatbarthwal9858 2 жыл бұрын
Thanks boss
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Welcome buddy 😊
@shashikumar-pt4gm
@shashikumar-pt4gm 2 жыл бұрын
good explanation
@HYRTutorials
@HYRTutorials Жыл бұрын
Thankyou buddy 😊
@Archanaparupally
@Archanaparupally 2 жыл бұрын
👌👌👌
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy 😊
@Skkas
@Skkas Жыл бұрын
Superb
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@KhushbooSharma-cn3vr
@KhushbooSharma-cn3vr 2 ай бұрын
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
@mayayadhu
@mayayadhu 2 жыл бұрын
👌👍
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou 😊
@579594
@579594 2 жыл бұрын
Can you please also make a video on automation test framework?
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Yeah sure, after this series
@piyushramteke6208
@piyushramteke6208 Жыл бұрын
sir i got this exception after executing same code "Session ID is null. Using WebDriver after calling quit()?"
@HYRTutorials
@HYRTutorials Жыл бұрын
Yes buddy
@yaswanthyash2588
@yaswanthyash2588 Жыл бұрын
your ti to explain sotNice tutorialng
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 🙂
@nainagupta4949
@nainagupta4949 Жыл бұрын
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
@aravindkumar5663
@aravindkumar5663 Жыл бұрын
Hello sir, what is the difference between Assertions and Exceptions..?
@HYRTutorials
@HYRTutorials Жыл бұрын
Assertions are kind of wrappers around exception with additional capabilities like verifying something particularly.
@udemytesters
@udemytesters 2 жыл бұрын
Other Tests executes in case of Hard assertion ?
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Yes it executes the other tests. It won't execute the other steps in the same test
@udemytesters
@udemytesters 2 жыл бұрын
@@HYRTutorials Thank you
@kishoripatil2302
@kishoripatil2302 Жыл бұрын
When all the test cases are correct then getting error that unable to locate element
@HYRTutorials
@HYRTutorials Жыл бұрын
May be due to some synchronisation issues the element might not have been loaded Check the console buddy
@bsk8643
@bsk8643 2 жыл бұрын
Brother any update on ag grid video ? Please reply 🙏
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Didn't check that brother
@bsk8643
@bsk8643 2 жыл бұрын
@@HYRTutorials please can you check and do a video. No one did a video on this 🙏
@ashishsahu8065
@ashishsahu8065 Жыл бұрын
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 Жыл бұрын
What's the error you are getting buddy?
@intellectuallearning8118
@intellectuallearning8118 Жыл бұрын
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.
@tranthinhqnam
@tranthinhqnam Жыл бұрын
Hey Master , i am from Viet Nam and i am so admired by you .. Can i be your Fb friend ?
@HYRTutorials
@HYRTutorials Жыл бұрын
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
@goddumarrichandana2245
@goddumarrichandana2245 Жыл бұрын
Sir can you please provide the notes
@HYRTutorials
@HYRTutorials Жыл бұрын
Notes should be prepared self after watching the videos buddy
@officialSaideep
@officialSaideep Жыл бұрын
Test failed due to "Unable to locate element: {"method":"xpath","selector":"(//div[@id='email_container']/div)[last()]"}" How to fix this?
@HYRTutorials
@HYRTutorials Жыл бұрын
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
@officialSaideep
@officialSaideep Жыл бұрын
@@HYRTutorials changed xpath and it worked bro
@HYRTutorials
@HYRTutorials Жыл бұрын
@@officialSaideep Thats good.
@Homemadefoodsbyveena
@Homemadefoodsbyveena Жыл бұрын
Maven is not connecting to eclipse why?
@HYRTutorials
@HYRTutorials Жыл бұрын
What's the error you are getting buddy
@Homemadefoodsbyveena
@Homemadefoodsbyveena Жыл бұрын
@@HYRTutorials got it…after adding dependency forgot to save.
@HYRTutorials
@HYRTutorials Жыл бұрын
haha it happens sometimes
P8 - Parameters in TestNG | TestNG | Testing Framework |
26:30
H Y R Tutorials
Рет қаралды 47 М.
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 42 МЛН
P5 - Assertions in TestNG | TestNG | Testing Framework |
11:41
H Y R Tutorials
Рет қаралды 64 М.
How to Handle Frames in Selenium WebDriver
21:20
H Y R Tutorials
Рет қаралды 56 М.
TestNG Tutorial #4 - How to Use Assertion in Selenium TestNG
13:24
Software Testing Mentor
Рет қаралды 54 М.
P26 - Capture screenshots for only failed tests in TestNG | TestNG |
47:47
How to Handle Multiple Windows in Selenium WebDriver
22:46
H Y R Tutorials
Рет қаралды 82 М.