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

КОМЕНТАРІ • 79

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

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

  • @darshiya8895
    @darshiya8895 3 роки тому +4

    Thank you so much Bro for the clear and excellent teaching.....Helped me to clear top MNC'S🙏

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

      Wow super 👏🎉
      I'm so happy for you 😊

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

      Hii could you please tell me from where you applied for companies. I am also looking for job .
      Please kindly let me know.

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

    After a long gap...... Very good video bon Test NG Dependencies ....

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

      Thankyou bro 😊
      Yeah having heavy work and could not create any videos.

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

    I paid thousands of rupees but don't got this much content so thank you brother.

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

    Thank you sir for explaining everything in a very easy way!!

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

    Thank you for providing these kind of good videos . i learnt lot for things from
    you .....😍

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

    I learned a lot from this video. From the concept to the practical scenario.

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

    Nice explanation
    I watched one time only all video I got

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

    great work bro

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

    Thank you so much sir... you explained it very good way !!

  • @yaswanthyash2588
    @yaswanthyash2588 2 роки тому +2

    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

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

    Thanks a lot for such a wonderful explanation

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

    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

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

      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

  • @VINAYHS-m3l
    @VINAYHS-m3l Рік тому

    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

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

    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

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

    Excellent bro

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

    Super sir👌🏻👌🏻👌🏻🥰🥰

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

    Can you tell me, What is signifance of dependonmethod, if we are specifying ignore dependency, we can directly remove depends on attribute

  • @Ashwinidream190
    @Ashwinidream190 6 місяців тому

    thanks very helpfull

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

    Hi Sir I am watchng ur videos telugu english through ur channel only am learing automation testing pls help overview of automation esting

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

      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

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

    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.

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

      Thankyou 😊
      Very soon will resume those videos

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

    Thank u so much sir🙏🙏🙏🙏

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

    I have a query, Could you please help me? In createshipment and trackshipment which is dependent and main test case?

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

      Teackshipment is dependent on createshipment.
      That means teackshipment will be executed only after createshipment is completed

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

      @@HYRTutorials thank you!!

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

    sir please do video's on page object model

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

    Wow super explanation bro :)... Bro can you make videos on GIT also please

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

      Thankyou 😊
      About Git will make the videos but the only issue is time.

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

      ​@@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❤

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

    Hello sir, please upload a video on DataProvider in TestNG. Thank you

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

      Next video is that one only, due to some personal reasons I couldn't create it.
      Very soon will create that video.

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

    Hello brother.
    Plz explain what we call the createshipment method , is it dependency or dependent?

  • @rockoak9616
    @rockoak9616 2 роки тому +2

    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⚠️

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

      Are they dependent on one another?

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

    Thank you Sir!

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

    Can u guide me how can i start learning Selenium

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

      To start with selenium you should have the basic knowledge on testing then learn the core java.
      After that you can start with selenium.

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

      @@HYRTutorials Thanks i will do that then will update you.

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

      @@rubeenabegum3625 sure

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

    Thnku sir

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

    Your Coaching Center in Hyderabad sir

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

      I don't have any coaching centre buddy.
      I m just teaching in youtube for the community.

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

      @@HYRTutorials ok

  • @Raju-bv6lg
    @Raju-bv6lg 2 роки тому +1

    Bro live project okati chay bro

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

      Chuddam buddy

    • @Raju-bv6lg
      @Raju-bv6lg 2 роки тому +1

      @@HYRTutorials TQ mi videos anni Baguntay bro, cucumber and api testing mida videos cheyandhi bro

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

      @@Raju-bv6lg Sure buddy

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

    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 😕

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

      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

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

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

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

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

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

    Hi

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

    Its quite blurr

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

      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