P14 - How to create the test dependencies in TestNG | TestNG | Testing Framework |
Вставка
- Опубліковано 7 лют 2025
- In this video, I have explained about "How to create the test dependencies in TestNG".
Video Timeline:
01:15 What is a test dependency?
06:25 Why we need test dependencies?
16:55 How to create a test dependency on other test(s)?
26:39 What happens when priority is set to the test methods?
29:42 What happens when dependent test is failed?
32:56 What happens when dependent test is ignored/skipped/deleted?
37:18 Summary
=======================================
▶️ Next Video Link: • P15 - How to create th...
◀️ Previous Video Link: • P13 - How to group you...
↔️ 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
Thank you so much Bro for the clear and excellent teaching.....Helped me to clear top MNC'S🙏
Wow super 👏🎉
I'm so happy for you 😊
Hii could you please tell me from where you applied for companies. I am also looking for job .
Please kindly let me know.
After a long gap...... Very good video bon Test NG Dependencies ....
Thankyou bro 😊
Yeah having heavy work and could not create any videos.
I paid thousands of rupees but don't got this much content so thank you brother.
Thanks buddy 😊
Thank you sir for explaining everything in a very easy way!!
Thank you for providing these kind of good videos . i learnt lot for things from
you .....😍
Happy learning buddy 😊
I learned a lot from this video. From the concept to the practical scenario.
Thats good to hear buddy
Nice explanation
I watched one time only all video I got
Thanks buddy 😊
great work bro
Thanks buddy 😊
Thank you so much sir... you explained it very good way !!
Thanks buddy
Thank you so much, please make more tutorials like tNice tutorials. You explain better than any other guide I've seen on youtube, very clear and
Thanks buddy 🙂
Thanks a lot for such a wonderful explanation
Thanks buddy 😊
Hi Brother,
This is a crystal clear explanation, thanks for your video and I have one more doubt if the depended test case failed following test case deliberately need to fail we should not skip how we can achieve it? please explain
There might be an option in the listeners buddy. But that behavior is not correct because your test should not be marked as failed when it is not executed. Because of dependent test case failure the main test is not even executed
Hi sir, what is the difference between alwaysRun and ignoreMissingdependencies.? both the attribute will serve the same purpose? (or)
alwaysRun will run the test cases only when the dependent test methods are failed?. Please clarify.
Your lessons provide more insight to us.
Thanks..!!!
VINAY
Hi Sir, At 23:39 as priorities are removed from methods, as per ascii code, 1st system tried executing cancelsipment and as it is dependent on createdshipment ,Createshipment is executed 1st and then Trackshipment is executed.
But if I want Trackshipment to be executed earlier to CancelShipment will priority marking helps.If Trackshipment is marked as pri 2 and cancelshipment as pri 3 ,
will Trackshipment gets executed 1st instead of Cancel.
Anyways createshipmnt will be executed 1st as other 2 are depending on it, just to maintain Trackshipment and cancelshipment hierarchy ,what is the best method. Please explain
Excellent bro
Super sir👌🏻👌🏻👌🏻🥰🥰
Keep watching
Can you tell me, What is signifance of dependonmethod, if we are specifying ignore dependency, we can directly remove depends on attribute
Yes correct.
thanks very helpfull
Hi Sir I am watchng ur videos telugu english through ur channel only am learing automation testing pls help overview of automation esting
For automation testing if you type in Google you will obviously get lot of definitions buddy.
I don't know what kind of overview you are seeking here
Hello Bro, Your videos are so awesome. I watch your java tutorial. But you have stopped making java video. Please continue. I love your tutorials.
Thankyou 😊
Very soon will resume those videos
Thank u so much sir🙏🙏🙏🙏
Most welcome
I have a query, Could you please help me? In createshipment and trackshipment which is dependent and main test case?
Teackshipment is dependent on createshipment.
That means teackshipment will be executed only after createshipment is completed
@@HYRTutorials thank you!!
sir please do video's on page object model
Sure buddy
Wow super explanation bro :)... Bro can you make videos on GIT also please
Thankyou 😊
About Git will make the videos but the only issue is time.
@@HYRTutorials Thank you so much for sharing your knowledge. It would be really helpful if you start a series on GIT when you get time. Thanks in advance❤
Hello sir, please upload a video on DataProvider in TestNG. Thank you
Next video is that one only, due to some personal reasons I couldn't create it.
Very soon will create that video.
Hello brother.
Plz explain what we call the createshipment method , is it dependency or dependent?
dependent
Hi Sir,
I have return the 5 test methods in 1 test class. When I execute the every test method that time result will display as per expectation means (Pass & Fail). But when I try to execute whole class that time, If 3rd test method was failed then failed result is get forwarded to next 4th and 5th method.
Sir, please respond on this msg⚠️
Are they dependent on one another?
Thank you Sir!
Glad you liked it 😊
Can u guide me how can i start learning Selenium
To start with selenium you should have the basic knowledge on testing then learn the core java.
After that you can start with selenium.
@@HYRTutorials Thanks i will do that then will update you.
@@rubeenabegum3625 sure
Thnku sir
Glad you liked it
Your Coaching Center in Hyderabad sir
I don't have any coaching centre buddy.
I m just teaching in youtube for the community.
@@HYRTutorials ok
Bro live project okati chay bro
Chuddam buddy
@@HYRTutorials TQ mi videos anni Baguntay bro, cucumber and api testing mida videos cheyandhi bro
@@Raju-bv6lg Sure buddy
Brother so you never get time to look in to ag grid automation?
I think no one in UA-cam know how to do automation .
I asked so many but no answer
So even people who are experienced can't do anything 😕
I didn't check that bro
It takes more time than expected because I never dealt with that kind of thing.
If no one is able to answer that means may be there is no option to automate it
@@HYRTutorials No nothing is impossible bro 😊
If no one can automate then ag grid will never be used in development
I request you please 🙏 look at it once
I can only trust you brother
Pls
@@HYRTutorialsI said , I asked many but no answer ... it means they do not even know how to automate
There should be some way brother ..
I am learning and little poor in automation .. I have ideas but less coding knowledge, so I stuck with this ag grid
Hi
Hi
Its quite blurr
Change the video quality to 720p.
By default it might be set to some other quality but by changing it u will get the better viewing experience