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
↔️ TestNG Playlist Link: bit.ly/3wXyuXB
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
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!!!!
Thankyou so much buddy.
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
Glad it was helpful!
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.
Ohh that's great
Thankyou buddy 😊
Muy completa la explicación y entendible. Muchas gracias :D
Gracias amiga
Awesome anna. u r outstanding.
Thanks buddy 😊
thank you so much anna...the way you are teaching from point to point...its superb....thank you soo much
Thankyou buddy 😊
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. 🙏
Thank you buddy.
I didn't get the point "if possible to make a videos in less time", could you elaborate that?
Best teacher for non it background
thank you for making these videos I clear my all doubts by watching these videos
Thank you buddy
Thank u so much , this lecture helped me to clear my concepts...!!!
Thats good to hear buddy
U r so underrated brother u deserve more subscribers great work ....
Thanks buddy 😊
Amazing teaching...
Very great explanation
Best tutorial s ever❤
Fantastic Video, Thank you so much Sir
Thanks buddy 😊
The way of teaching is super :)
Thank you buddy 😃
excellent demo for parallel testing
Thanks buddy 😊
Whatta teacher yaar... Hats off💥💯
Thanks buddy 😊
Thank you so much for your videos and your explanation Is too good and the presentation too
Thanks buddy 😊
Nice Guruji
Great bro.
Thanks buddy 😊
excellent and simple explanation thank u sir
Thanks buddy 😊
Awesome😇
Thankyou buddy 😊
Thank you so much sir
Welcome buddy 😊
Super anna Thagedele...😎
Thankyou buddy, Taggede le
Very helpful and great Teaching.
Thanks buddy 😊
@@HYRTutorials We are waiting for more videos from you related to Rest-assured,appium etc please start again.
@@chetanphani8544 Was spending some time in my another channel buddy. soon will start the videos again in this channel
🔥🔥🔥
Thankyou buddy 😊
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
Yes buddy. Try to avoid doing that buddy. Instead try to write after the execution like after suite annotation
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?
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
due to parallele execution i'm getting timeout exception and elements not able to interact. is there any solution to fix this issue
Multi threaded is excellent option only when the system performance is good and network speed should be good
Wat is the maximum number of thread count we can create
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
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
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
Can we integrate both Parallel Testing and Listeners(ITestListeners) in a single testng.xml?
Yes buddy
Sir when using with selenium and giving thread count as 2 ,parallel=tests ,it's running sequentially not side by side
Send me the screenshot on hyadagirireddytutorials@gmail.com
Thank you sir
Your way of explanation super
Thankyou buddy 😊
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?
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
SNice tutorialt, it's the nice tuto
Thanks buddy 🙂
I got this question today in interview
Ohh nice
Hope you have answered correctly
Jenkins continuous integration videos cheyandi bro
Sure buddy
bro it is showing blank page not passing correct test cases all failing
What's the error you are getting in the console buddy?
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
Method priority
I confused and saw the video and then got.
Super buddy
Manual testing teaching chestara sir
not now but soon will do
Excellent explanation
Thanks buddy 😊