Java Multithreading Concept in Selenium WebDriver (No TestNG) || Run it from Maven – Jenkins
#selenium #naveenautomationlabs
In this video, I have explained how to use Java Multithreading concept in Selenium WebDriver to run your test cases on different browsers in parallel.
Learn:
how to use multithreading with thread class in java
how to implement the same in selenium
how to use multithreading in selenium Page Object Model
run your test cases in parallel mode
run it from maven by passing total number of browsers
integrate it with Jenkins and pass the build parameters for total chrome and firefox count
git repo for this project:
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
Follow me on my Facebook Page:
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
Paid courses (Recorded) videos:
For Java & Selenium –
For API (Manual + Automation) –
Hi Naveen , this video is very useful in enhancing knowledge on test automation .
Can multithreading concept be used to perform different keyboard-mouse action in a same method./ Class. For example in case of web form , I want to fill user details using multithreading , is that possible ? have you ever used this thing in your past project(s) ?
Thanks
Shivam
Hi Naveen ,Not able to attend the live session.Just attended . Continuous Inspiring Session and really awesome discussions. This is like keeping everything ready for lakhs of people who can differentiate them from others easily. U r attitude of answering from simple thing to unknown things is too good.Thank you so much.
this is just amazing. thanks a ton, Naveen!!! I have always accessed your channel for the core insights and it is helpful as always!! Though I have missed the live sessions still the way you have put across is nothing less than a live session. Kudos to your effort. 🙂
thanks for another great video Naveen! Few questions: 1. In what scenarios would you use multi threading over testng? 2. how do you do reporting if you are using multi threading? 3. is it possible to use multi threading in a cucumber project?
Best automation testing channel for learning from scratch to advanced
Thanks naveen for always sharing your knowledge with us 🙂
Being an autoamtion engineer we must know this concept and it will be very helpful in many ways as you mentioned in this video. It helps alot to me . I am always refering your videos if I get any doubts in automation perspective. Thanks for your Contribution
Thanks naveen for detailed explanation about multi threading. All this days , I was thinking how can we do multithreading with selenium. But you made it clear . Thanks once again.
Thanks, Naveen. Your YouTube channel helps me a lot in gaining Automation knowledge from Scratch. Please continue doing more knowledge sharable videos.
Great video to understand the concept of Multi threading without use of Junit or TestNG framework, but is it feasible when there are more than one actions or methods in a Page Class and only one override Run method in FeatureThread Class?
Really useful concept and as usual neatly explained . Thanks Naveen 🙂
Hi @naveen
Really a nice video of use of multi threading in selenium.
How can we implement this concept in cucumber framework to run multiple feature files in parallel.
Wonderful tutorial. Thanks for the efforts ?
Suppose we consider to go with Java multi-threading concept instead of TestNG, then how would we validate our test cases as Assertions we use are from TestNG ?
You need to write ur own assertion library.
Just 2 days back I was thinking how you missed MultiThreading concept .. and today you come up Multithreading with Selenium . Thanks again! 🙂
Awesome and very knowledge able video. Thank you Naveen sir.
Hello Naveen,
Thanks for creating this video. I need one solution to a problem.
Actually, I have around 200 test cases to execute. All those(200 TC) I want to execute on Chrome and Firefox parallelly.
Also, we have different user types, like admin, super admin, manager.
Now I want to run my test cases parallelly on chrome and firefox but with different user types. This means, chrome should use Admin user credentials and firefox should use super admin user credentials.
I don’t want you to create a full video on this. If possible just suggest the approach o follow.
Very well explained..Thanks a lot!!
Very well articulated. Thanks Naveen!
Very Well Explained.. It’s one of the imp java topics !!
It was really helpful i needed that kinda approach for my project