Тёмный

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

AJ AUTOMATION
Подписаться 6 тыс.
Просмотров 8 тыс.
50% 1

In this video, we will learn "How to run multiple tests in Parallel using Maven pom.xml" "Parallel tests execution in Selenium"
This will reduce the Execution time.
==========================
******AJ AUTOMATION*****
==========================
Hi guys, Please share and Like the content whichever you find informative to reach more beginner candidates learning Test Automation. Thanks for your Support !!
==:Useful Playlists for learning Test Automation:==
✅ Let's Learn the Concept in 5 To 10 Mins :=
• Test Automation Interv...
✅ Selenium series videos Playlist :=
• Selenium tutorial for ...
✅ Maven Tool videos playlist :=
• Maven Tool - Learn Bas...
✅ Selenium WebDriver Exceptions Playlist :=
• Selenium WebDriver Exc...
✅ Selenium Grid With Docker:==
• Selenium Grid With Doc...
✅ Upload and Download Files in Selenium :=
• Selenium WebDriver - U...
✅ Excel and CSV files operations :=
• Excel and CSV -- Read ...
✅ Java Language Concepts :=
• Java Language Concepts...
✅TestNG Framework Videos:=
• TestNG Introduction an...
✅ Become Master in Xpath:=
• Xpath Introduction
✅ Protractor series videos playlist :=
• Let's Learn Protractor...
✅ Recent Uploads :=
• Recent Uploaded Videos
✅ GitHub Repo:= github.com/aja...
⚡️ Thanks for your support !! ⚡️
======================================
*************** Thanks for watching !!*************
======================================
⚡️ Keep Learning...Keep Sharing...Keep Growing. ⚡️

Опубликовано:

 

17 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@AJAUTOMATION
@AJAUTOMATION 3 года назад
Hi guys, if you like the content of the channel then plz share with your friends learning automation. ✅ Recent Uploads := ru-vid.com/group/PLlc_LrU50tljOnB-LUofJpBkeSMskcQVd ✅ Selenium series videos Playlist := ru-vid.com/group/PLlc_LrU50tliMZrnSa0a9geljzCijPDfq ✅ Maven Tool videos playlist := ru-vid.com/group/PLlc_LrU50tlgWOrybr-Ppffg6T_1cXeUb ✅ Java Language Concepts := ru-vid.com/group/PLlc_LrU50tliq2RV-1Yhr2IjJ5RqXCQjU ✅TestNG Framework Videos:= ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--KEg20O6Mxs.html ✅ Become Master in Xpath:= ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Wv1hHLhtnzw.html ✅ Protractor series videos playlist := ru-vid.com/group/PLlc_LrU50tlim53VdVwAmCnBr8M2x38y8 ⚡️ Thanks for your support !! ⚡️
@brian_m1892
@brian_m1892 2 года назад
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 2 года назад
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 Год назад
Thank you very much. Made parallel executions from TestNG, but was stuck with parallel execution from Maven.
@AJAUTOMATION
@AJAUTOMATION Год назад
Thanks for watching @urosgavric 🙂.. Plz share the content whichever you find informative to reach more people...
@ruchimishra3826
@ruchimishra3826 3 года назад
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.
@nawazpasha2505
@nawazpasha2505 Год назад
How to control number of instances like how many number of browsers it should launch?
@AJAUTOMATION
@AJAUTOMATION Год назад
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
@basavakeerthi4107
@basavakeerthi4107 Год назад
Hi, how to pass dynamic values from properties file to pom.Xml
@AJAUTOMATION
@AJAUTOMATION Год назад
Try passing parameters at run time - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MTuvBk3qq94.html Also if you are using jenkins parameters, their values can be changed in pom or any other files using shellscript...
@basavakeerthi4107
@basavakeerthi4107 Год назад
Can i plz contact you in anyway as my need is bit different?
@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..
Далее
For my passenger princess ❤️ #tiktok #elsarca
00:24
Run tests in parallel (Gradle best practice tip #7)
5:35