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

Поділитися
Вставка
  • Опубліковано 27 січ 2022
  • 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.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

КОМЕНТАРІ • 86

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

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

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

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

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

  • @manikantag8565
    @manikantag8565 2 роки тому +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  2 роки тому

      Ohh that's great
      Thankyou buddy 😊

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

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

  • @user-oe5ki4uc5z
    @user-oe5ki4uc5z 11 місяців тому +3

    Awesome anna. u r outstanding.

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

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

  • @aartishekhawat5810
    @aartishekhawat5810 2 роки тому +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  2 роки тому

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

  • @ektakamble8880
    @ektakamble8880 8 місяців тому

    Best teacher for non it background

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

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

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

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

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

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

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

    Amazing teaching...

  • @shobanadevi5517
    @shobanadevi5517 8 місяців тому

    Very great explanation

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

    Best tutorial s ever❤

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

    Fantastic Video, Thank you so much Sir

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

    The way of teaching is super :)

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

    excellent demo for parallel testing

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

    Whatta teacher yaar... Hats off💥💯

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

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

  • @bharathpybodi2842
    @bharathpybodi2842 26 днів тому

    Nice Guruji

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

    Great bro.

  • @soumyakrishnavullampally6232

    excellent and simple explanation thank u sir

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

    Awesome😇

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

    Thank you so much sir

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

    Super anna Thagedele...😎

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

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

    🔥🔥🔥

  • @cutebabysid8077
    @cutebabysid8077 10 місяців тому +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  10 місяців тому

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

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

    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

  • @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  11 місяців тому

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

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

    Wat is the maximum number of thread count we can create

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

    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

  • @divyabj3501
    @divyabj3501 Рік тому +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  Рік тому

      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

  • @user-bn3jm6gq9s
    @user-bn3jm6gq9s Рік тому +1

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

  • @RamaKrishna-ng4of
    @RamaKrishna-ng4of Рік тому

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

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

      Send me the screenshot on hyadagirireddytutorials@gmail.com

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

    Thank you sir
    Your way of explanation super

  • @vinayakdongare9373
    @vinayakdongare9373 Рік тому +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  Рік тому

      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

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

    SNice tutorialt, it's the nice tuto

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

    I got this question today in interview

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

      Ohh nice
      Hope you have answered correctly

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

    Jenkins continuous integration videos cheyandi bro

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

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

    • @HYRTutorials
      @HYRTutorials  11 місяців тому

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

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

    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

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

    I confused and saw the video and then got.

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

    Manual testing teaching chestara sir

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

    Excellent explanation