P23 - Execute your tests in parallel using TestNG | TestNG | Testing Framework |

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • In this video, I have explained about "Execute your tests in parallel using TestNG".
    Points covered:
    1. What is parallel execution?
    2. Why do we need parallel execution?
    3. How to perform the parallel execution?
    =======================================
    ▶️ Next Video Link: • P24 - How to use invoc...
    ◀️ Previous Video Link: • P22 - How to use timeo...
    ↔️ 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

КОМЕНТАРІ • 92

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

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

  • @MrChintu7861
    @MrChintu7861 2 роки тому +17

    the best part in your explanation is that I can comfortably listen to your explanation continuously for 4 hrs without a single break.... really KUDOS to your efforts!!!!

  • @anand_kanekal
    @anand_kanekal 2 місяці тому

    You are the only one whom I saw explaining every combination and its expected output. Loved it!

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

    I was just going through video of parallel execution in testNG and Accidentally found your video,
    You have explained in very detailed manner,
    Thankyou so much for the video

  • @ReddyAnand-n1i
    @ReddyAnand-n1i Рік тому +3

    Awesome anna. u r outstanding.

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

    Accidentally watched one of your videos and its awesome. I will refer to my friends too. Test NG concepts are very clear and one of thr best tutorials ever.

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

      Ohh that's great
      Thankyou buddy 😊

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

    thank you so much anna...the way you are teaching from point to point...its superb....thank you soo much

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

    Best teacher for non it background

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

    U r so underrated brother u deserve more subscribers great work ....

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

    Today I accidentally watch your video, it's really amazing, so I decide to watch your all videos to clear my all concepts.
    But I say to one thing if possible to make a videos in less time . At the end I want to say thank you for making these videos and keep making. 🙏

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

      Thank you buddy.
      I didn't get the point "if possible to make a videos in less time", could you elaborate that?

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

    thank you for making these videos I clear my all doubts by watching these videos

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

    The way of teaching is super :)

  • @Manu-gi1xr
    @Manu-gi1xr Рік тому +1

    Fantastic Video, Thank you so much Sir

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

    excellent demo for parallel testing

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

    Whatta teacher yaar... Hats off💥💯

  • @mohitchawla3746
    @mohitchawla3746 5 місяців тому

    Awesome ❤

  • @GINO-TCH-QA
    @GINO-TCH-QA 2 роки тому +2

    Muy completa la explicación y entendible. Muchas gracias :D

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

    Very helpful and great Teaching.

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

      Thanks buddy 😊

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

      @@HYRTutorials We are waiting for more videos from you related to Rest-assured,appium etc please start again.

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

      @@chetanphani8544 Was spending some time in my another channel buddy. soon will start the videos again in this channel

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

    Nice Guruji

  • @KiranKumar-pm2ui
    @KiranKumar-pm2ui Рік тому +1

    Excellent explanation

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

    Thank you so much for your videos and your explanation Is too good and the presentation too

  • @VaishaliMore-bd1kb
    @VaishaliMore-bd1kb 10 місяців тому

    Amazing teaching...

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

    Best tutorial s ever❤

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

    excellent and simple explanation thank u sir

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

    Great bro.

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

    Super anna Thagedele...😎

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

    Awesome😇

  • @ItCoursesForAll
    @ItCoursesForAll 4 місяці тому

    Data driven testing with parallel possible Anna?

  • @AmrendraKumar-iq3gt
    @AmrendraKumar-iq3gt 2 роки тому

    Thank you so much sir

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

    Thank you sir
    Your way of explanation super

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

    Wat is the maximum number of thread count we can create

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

    🔥🔥🔥

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

    Hi sir, this is very helpful for us, i'm facing a issue while running in parallel that data is passing in only one browser and that to mutliple time for same field same as thread count but others not recieving anything, can you please help me on this

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

      The problem here is the threads only.
      By default it doesn't know which statement should be executed in which thread.
      There is a concept called threadlocal in java.
      Try to implement that buddy and this problem will be resolved

  • @OppoTab-vf3pq
    @OppoTab-vf3pq 5 місяців тому

    How can we pass different names for 3 parallel runs??

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

    While running one test case multiple times with different test data...I am using parallel run using TestNG...but the issue is while writing the output in corresponding records in excel sheet it's getting corrupted because at same time it's trying to write in excel sheet.... Could you please suggest some solution for the same

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

      Yes buddy. Try to avoid doing that buddy. Instead try to write after the execution like after suite annotation

  • @dhanyacm2871
    @dhanyacm2871 10 місяців тому

    what happens if one test in a class depend on another test is another class.In this case how we can run test parallely.can u please tell me a solution fo this

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

    How to maintain the order of execution if we are running test in parallel and have multiple classes in .
    For example
    class 1
    class 2
    class 3
    And I want to execute in same order . firat class 1 then class 2 and class 3 but all in parallel

    • @Naru-pg1wi
      @Naru-pg1wi 10 місяців тому

      Method priority

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

    Jenkins continuous integration videos cheyandi bro

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

    due to parallele execution i'm getting timeout exception and elements not able to interact. is there any solution to fix this issue

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

      Multi threaded is excellent option only when the system performance is good and network speed should be good

  • @ArulRajS-s6q
    @ArulRajS-s6q Рік тому +1

    Can we integrate both Parallel Testing and Listeners(ITestListeners) in a single testng.xml?

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

    Can you please make videos on cucumber framework bro??

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

    SNice tutorialt, it's the nice tuto

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

    How do I order test cases in feature files?
    I have multiple scenarios in one feature file and I want to run those in order. Can you please help me out with this?

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

      To achieve that you need to write your own test runner file buddy and it's not a direct way.
      But not sure why do u want to run the scenarios in the order. Because every test should be independent of other test

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

    I got this question today in interview

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

      Ohh nice
      Hope you have answered correctly

  • @RamaKrishna-ng4of
    @RamaKrishna-ng4of 2 роки тому

    Sir when using with selenium and giving thread count as 2 ,parallel=tests ,it's running sequentially not side by side

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

      Send me the screenshot on hyadagirireddytutorials@gmail.com

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

    Hi HYR Tutorials, I am facing the below issue:
    When running parallel="classes" threadcount= '"3" from TestNG suit, then it is entering the values in username/password field twice for the first one, two test cases (like username as adminadmin and password as adminadmin), however rest of the test cases executing properly. what is the resolution for this?

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

      It happens when the driver object is shared among all the threads.
      By default the driver object will be shared by all the active threads but to avoid this we need to use Threadlocal which can provide the different driver object for different thread

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

    bro it is showing blank page not passing correct test cases all failing

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

      What's the error you are getting in the console buddy?

  • @AbhiAmbastha
    @AbhiAmbastha 3 місяці тому

    @48:25

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

    Manual testing teaching chestara sir

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

    I confused and saw the video and then got.

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

    Thank u so much , this lecture helped me to clear my concepts...!!!

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

    Very great explanation