P6 - Hard Assertions vs Soft Assertions in TestNG | TestNG | Testing Framework |
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- 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.hyrtutoria...
✴ 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.hyrtutoria...
🔗 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
↔️ TestNG Playlist Link: bit.ly/3wXyuXB
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
200% clarity 👌👌 thanks a ton !!
Thankyou buddy
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👍
Thanks buddy 😊
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
Very well explained.Thankyou sir.
thanks a million, since i starting to watch your videos, i couldnt stop, brilliant work
Thanks buddy 😊
Your approach to explain complex concepts is outstanding and very clear that anyone can understand without issue.
Thankyou buddy 😊
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 .
Thankyou 😊
We do also have the negative tests in our suite right?
For those we use this assertnotequals
Thanks a lot for the beautiful explanation!!
Happy learning buddy 😊
great teaching skills......along with an energy.....
Thanks buddy 😊
awesome video very helpful for concept clarity
Thanks buddy 😊
Thank you so much sir for made this video.
Happy learning buddy 😊
Awesome explanation. Very helpful! Thank you..
Thanks buddy 😊
Thank you , very deep explanation.
Thanks buddy 😊
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
Nice.... Video on Soft And Hard Assertions, Thank you.
Thankyou 😊
thanks a lot sir , you are great teacher & awesome explanation 🙏
Thanks buddy 😊
Wow nice explanation sir very esy to understand
Thanks buddy 😊
so like we can have multiple assertion in a Test? or one assertion in multiple Test ?
Yes we can have any number of assertions
Awesome, you are really perfect, very nice playlist, your explanations are very easy👌, and you are very informative, keep it up 🤗👍
Thank you buddy
sir i got this exception after executing same code "Session ID is null. Using WebDriver after calling quit()?"
Yes buddy
Good Explanation Bro
Can you please also make a video on automation test framework?
Yeah sure, after this series
ur a awesome guy,thanks for nice explnation
Thankyou 😊
Nice explanation HYR gaaru.
nicely explained!!
Thanks buddy 😊
Nice Video Bro
Looking forward next session
Thankyou bro 😊
When all the test cases are correct then getting error that unable to locate element
May be due to some synchronisation issues the element might not have been loaded
Check the console buddy
thanks a lot sir. you are great teacher
Thanks buddy 😊
Full clarity ❤
Other Tests executes in case of Hard assertion ?
Yes it executes the other tests.
It won't execute the other steps in the same test
@@HYRTutorials Thank you
Hello sir, what is the difference between Assertions and Exceptions..?
Assertions are kind of wrappers around exception with additional capabilities like verifying something particularly.
Thank you
Welcome buddy
Thanks bro ,awesome explanation 🙏🙏
Thankyou buddy 😊
Brother any update on ag grid video ?
Please reply 🙏
Didn't check that brother
@@HYRTutorials please can you check and do a video.
No one did a video on this 🙏
Thanks boss
Welcome buddy 😊
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.
What's the error you are getting buddy?
Apply Thread.sleep(3000) before finding the Element...
The same issue was with me as well it was showing NOSUCHELEMENTEXCEPTION
@@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.
Sir can you please provide the notes
Notes should be prepared self after watching the videos buddy
your ti to explain sotNice tutorialng
Thanks buddy 🙂
good explanation
Thankyou buddy 😊
In real time we use soft or hard assert sir
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
Superb
Thanks buddy 😊
Maven is not connecting to eclipse why?
What's the error you are getting buddy
@@HYRTutorials got it…after adding dependency forgot to save.
haha it happens sometimes
Test failed due to "Unable to locate element: {"method":"xpath","selector":"(//div[@id='email_container']/div)[last()]"}"
How to fix this?
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
@@HYRTutorials changed xpath and it worked bro
@@officialSaideep Thats good.
👌👌👌
Thankyou buddy 😊
Hey Master , i am from Viet Nam and i am so admired by you .. Can i be your Fb friend ?
Thanks buddy 😊
Yeah sure, hyadagirireddy is my fb id.
👌👍
Thankyou 😊