How to run multiple tests in Parallel using Maven pom.xml|Run testcases/testng method simultaneously

  Рет қаралды 8,688

AJ AUTOMATION

AJ AUTOMATION

Күн бұрын

Пікірлер: 20
@AJAUTOMATION
@AJAUTOMATION 3 жыл бұрын
Hi guys, if you like the content of the channel then plz share with your friends learning automation. ✅ Recent Uploads := kzbin.info/aero/PLlc_LrU50tljOnB-LUofJpBkeSMskcQVd ✅ Selenium series videos Playlist := kzbin.info/aero/PLlc_LrU50tliMZrnSa0a9geljzCijPDfq ✅ Maven Tool videos playlist := kzbin.info/aero/PLlc_LrU50tlgWOrybr-Ppffg6T_1cXeUb ✅ Java Language Concepts := kzbin.info/aero/PLlc_LrU50tliq2RV-1Yhr2IjJ5RqXCQjU ✅TestNG Framework Videos:= kzbin.info/www/bejne/Y3yomGVmhJuArtU ✅ Become Master in Xpath:= kzbin.info/www/bejne/jaeUmXuCndmhsNk ✅ Protractor series videos playlist := kzbin.info/aero/PLlc_LrU50tlim53VdVwAmCnBr8M2x38y8 ⚡️ Thanks for your support !! ⚡️
@brian_m1892
@brian_m1892 3 жыл бұрын
Thank you very much AJ for making this excellent tutorial ! It was 100% very helpful for a beginner like me. I'm now a subscriber to your channel. Thank you again. Namaste
@AJAUTOMATION
@AJAUTOMATION 3 жыл бұрын
Namaste Brian 🙏, thanks for your valuable feedback 👍. I am glad to see that video was helpful. Plz don't forget to like and share the content whichever you find informative to reach more candidates.
@giridharanrangasami2951
@giridharanrangasami2951 3 жыл бұрын
All your explanation videos is Excellent
@AJAUTOMATION
@AJAUTOMATION 3 жыл бұрын
Thanks for the feedback..
@UrosGavric
@UrosGavric 2 жыл бұрын
Thank you very much. Made parallel executions from TestNG, but was stuck with parallel execution from Maven.
@AJAUTOMATION
@AJAUTOMATION 2 жыл бұрын
Thanks for watching @urosgavric 🙂.. Plz share the content whichever you find informative to reach more people...
@basavakeerthi4107
@basavakeerthi4107 2 жыл бұрын
Hi, how to pass dynamic values from properties file to pom.Xml
@AJAUTOMATION
@AJAUTOMATION 2 жыл бұрын
Try passing parameters at run time - kzbin.info/www/bejne/g4XYp3WhaNakb5Y Also if you are using jenkins parameters, their values can be changed in pom or any other files using shellscript...
@basavakeerthi4107
@basavakeerthi4107 2 жыл бұрын
Can i plz contact you in anyway as my need is bit different?
@nawazpasha2505
@nawazpasha2505 2 жыл бұрын
How to control number of instances like how many number of browsers it should launch?
@AJAUTOMATION
@AJAUTOMATION 2 жыл бұрын
On local machine we can use thread count and parallel attribute. While running from Jenkins with docker selenium grid , we can make a use of Jenkins parameter lets say "Thread-count" along with thread count and parallel attribute. With shell script we will replace the thread count number equal to the Jenkins parameter value and accordingly we will create browser nodes containers and tests will run in parallel. So if we set Thread-count=3 then 3 chrome / FF browsers will open. Thanks for asking @nawaz
@ruchimishra3826
@ruchimishra3826 4 жыл бұрын
Thanks for informative video, Please suggest how we can run testng.xml parallelly having multiple suite-files inside it. Example - Here testng.xml has suite-files where each suite-file has again multiple tests. What settings should be done to run testng1.xml and testng2.xml parallelly.
@AJAUTOMATION
@AJAUTOMATION 3 жыл бұрын
Hi @Ruchi, Thank you for taking the time to comment, and I'm glad you found my content helpful. Sorry for late reply, I missed ur comment. for ur Scenario , There are two ways 1. do following configuration in sureFire plugin. Add under suiteXmlFiles TestNG2.xml TestNG.xml and add under properties:= suitethreadpoolsize 2 Now run with mvn test, u will see tests both testng XMLs are running in parallel. 2. Another way is to create a TestngRunner.xml and add := now again go to pom.xml and give TestngRunner.xml in surefire plugin and keep suitethreadpoolsize 2 or more. I will create video on this soon.
@roopadolli1910
@roopadolli1910 3 жыл бұрын
Sir please cover CI-CD pipeline concept..
@AJAUTOMATION
@AJAUTOMATION 3 жыл бұрын
Yes, will try to start Jenkins series soon. We should not start CICD directly. First I will cover Jenkins basics so that understanding CICD would be easy. Thanks for asking.
@roopadolli1910
@roopadolli1910 3 жыл бұрын
@@AJAUTOMATION Thanks for your response sir... Please cover jenkins tutorial with respect to automation..
@AJAUTOMATION
@AJAUTOMATION 3 жыл бұрын
Yes sure..
@vothaian
@vothaian 3 жыл бұрын
Please put source on git !!!
@AJAUTOMATION
@AJAUTOMATION 3 жыл бұрын
Thanks for reminding , will push the project..
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
Run tests in parallel (Gradle best practice tip #7)
5:35
Tom Gregory Tech
Рет қаралды 7 М.
run tests in parallel using maven surefire plugin
4:58
Aaron Evans
Рет қаралды 12 М.
10 | Cucumber Tutorial | Parallel Execution Using JUnit and Maven Plugins
15:32
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.