Back to Browse

TestNG Framework Tutorial | How To Do Parallel Testing In TestNG ๐Ÿ“ƒ| Part-IX | TestMu AI

1.7K views
Premiered Nov 11, 2022
42:03

Watch this video to learn how to achieve parallel test execution in the TestNG framework and how to perform data-driven testing using the data-driven attribute. Start FREE Testing: https://accounts.lambdatest.com/register?utm_source=YouTube&utm_medium=Organic&utm_campaign=Nov22&utm_term=ZGO-p-epcaU&utm_content=LT_Sign_Up ๐Ÿ“ข In this ninth video of the TestNG tutorial for beginners series, ๐‘น๐’†๐’™ ๐‘ฑ๐’๐’๐’†๐’” (@RexJonesII), a seasoned QA Engineer, Trainer, YouTuber, and Blogger, deep dives into the integral aspects of parallel testing in the TestNG framework. He also explains how the testng.xml file has a parallel attribute for parallel testing that we can set to classes, methods, and tests. He then shows how to use threadpoolsize and invocationcount test attributes. In the end, he talks about what is required to do data-driven testing in TestNG. ๐ŸŽฏ๏ผถษชแด…แด‡แด ๏ผฃสœแด€แด˜แด›แด‡ส€๊œฑ ๐Ÿ‘€ 0:00 Introduction To Parallel Testing & Data Providers 1:47 Set Up & Create Test 6:24 Methods - Parallel Testing 9:31 Classes Parallel Testing 13:57 Tests Parallel Testing 15:57 Using threadPoolSize & invocationCount 18:38 Data-driven testing with DataProviders Annotation 23:44 DataProviders Attribute 30:18 DataProvidersClass Attribute 41:12 Conclusion ๐Ÿšฉ ๐‘พ๐’‰๐’‚๐’• ๐’Š๐’” ๐‘ท๐’‚๐’“๐’‚๐’๐’๐’†๐’ ๐‘ป๐’†๐’”๐’•๐’Š๐’๐’ˆ? โžก Parallel testing is a method of reducing total test execution time by running independent tests in parallel. A tester runs two or more versions of software at the same time using the same input or test methodologies. We can do each test on various devices, browsers, and operating systems. ๐Ÿšฉ ๐‘พ๐’‰๐’‚๐’• ๐’‚๐’“๐’† ๐’•๐’‰๐’† ๐’‚๐’…๐’—๐’‚๐’๐’•๐’‚๐’ˆ๐’†๐’” ๐’๐’‡ ๐‘ท๐’‚๐’“๐’‚๐’๐’๐’†๐’ ๐‘ป๐’†๐’”๐’• ๐‘ฌ๐’™๐’†๐’„๐’–๐’•๐’Š๐’๐’ ๐’Š๐’ ๐‘ป๐’†๐’”๐’•๐‘ต๐‘ฎ? โžก ๐…๐š๐ฌ๐ญ๐ž๐ซ ๐“๐ž๐ฌ๐ญ ๐„๐ฑ๐ž๐œ๐ฎ๐ญ๐ข๐จ๐ง Five sequential tests on the same device will take 5 minutes if each test takes 1 minute. When done on five devices simultaneously, the test will take 1 minute or less (or input combinations). โžก ๐Œ๐จ๐ซ๐ž ๐“๐ž๐ฌ๐ญ๐ฌ ๐š๐ง๐ ๐‚๐จ๐ฆ๐ฉ๐š๐ญ๐ข๐›๐ข๐ฅ๐ข๐ญ๐ฒ Parallel testing lets you test many desktops, mobile, browser, and OS combinations. This wider range of tests will reduce risk, reduce problems, and improve compatibility, all of which will help make a high-quality product. โžก ๐Ž๐ฏ๐ž๐ซ๐œ๐จ๐ฆ๐ž ๐“๐ž๐ฌ๐ญ๐ข๐ง๐  ๐๐จ๐ญ๐ญ๐ฅ๐ž๐ง๐ž๐œ๐ค Testing often stalls DevOps. Usually, long testing cycles can delay the release, and parallel testing eliminates this impediment. โžก ๐‘ญ๐’Š๐’™ ๐‘ฉ๐’–๐’ˆ๐’” Early testing uncovers and fixes issues. Parallel testing makes it possible to get more data that can be used to make improvements and test more scenarios in less time. โžก ๐‘ญ๐’๐’†๐’™๐’Š๐’ƒ๐’Š๐’๐’Š๐’•๐’š You can revert to sequential testing when necessary. ๐Ÿ“Œ๐‘จ๐’๐’”๐’, ๐’š๐’๐’– ๐’˜๐’Š๐’๐’ ๐’๐’†๐’‚๐’“๐’ ๐Ÿ“ƒ ๐Ÿ”ธ What is parallel testing in TestNG? ๐Ÿ”ธ What is parallel testing? ๐Ÿ”ธ Can we do parallel testing in TestNG? ๐Ÿ“Œ ๐‘ฎ๐’Š๐’•๐‘ฏ๐’–๐’ƒ ๐‘ณ๐’Š๐’๐’Œ: https://github.com/RexJonesII/TutorialsTestNG **๐‘น๐’†๐’๐’‚๐’•๐’†๐’… ๐‘ฉ๐’๐’๐’ˆ๐’”** โ˜› How To Perform Parallel Test Execution In TestNG With Selenium: https://bit.ly/3ACjQZ4 โ˜› Create TestNG XML File & Execute Parallel Testing: https://bit.ly/3UIBdjH โ˜› Faster Parallel Testing In Selenium With TestNG: https://bit.ly/3X2sZVR โ˜› What Is Parallel Testing & Why Is It Important: https://bit.ly/3tnnHGs **๐‘ณ๐’†๐’‚๐’“๐’๐’Š๐’๐’ˆ ๐‘ฏ๐’–๐’ƒ** ๐ŸŸ† Selenium TestNG Tutorial: https://bit.ly/3Fv8w1T **๐‘ช๐’†๐’“๐’•๐’Š๐’‡๐’Š๐’„๐’‚๐’•๐’Š๐’๐’๐’”** ๐ŸŸ† TestNG Certification: https://bit.ly/329lkxh Sign Up for TestMu AI! Itโ€™s FREE ๐Ÿ™Œ Perform scalable and reliable cross-browser compatibility testing of your website and web app on the latest mobile and desktop browsers: https://accounts.lambdatest.com/register?utm_source=YouTube&utm_medium=Organic&utm_campaign=Nov22&utm_term=ZGO-p-epcaU&utm_content=LT_Sign_Up_1 Register Now to Avail Bonanza Offerings ๐Ÿ’Ž + Test websites and web apps on 3000+ real browsers over TestMu AI cloud + Trusted By 1M+ users, 500+ enterprises and 130+ countries + Online scalable Selenium Grid to perform Manual as well as Automation Testing + 100 minutes of free Web + Mobile Automation Testing + 60 minutes of free Live Interactive Testing per month + 10 Screenshot Tests per month + 10 Responsive Tests per month (Test a page across 50+ Device configurations with a single click) + Unlimited free testing on LT Browser For questions: [email protected] ๐Ÿ˜ƒ **๐‘ฌ๐’™๐’‘๐’๐’๐’“๐’†** ๐ŸŽฌ Most Recent Videos: https://bit.ly/3kUUeAQ ๐ŸŽ“ Learning Hub: https://bit.ly/3fr6l4Z ๐ŸŽฅ TestMu AI Customers: https://bit.ly/2TB7pvD ๐Ÿš€ Webinars: https://bit.ly/37i41co ๐Ÿ› ๏ธ Product Updates: https://bit.ly/3717NGO ๐Ÿ’ฌ TestMu AI Certifications: https://bit.ly/3x4EtcY **๐‘บ๐’๐’„๐’Š๐’‚๐’** ๐Ÿ“ BLOG: https://bit.ly/3yGVsUc ๐Ÿ‘ฅ COMMUNITY: https://bit.ly/3Aiz5oO ๐Ÿ”ด NEWSLETTER: https://bit.ly/3juhxzc ๐Ÿ–ผ๏ธ GITHUB: https://bit.ly/3jowfYs ๐Ÿ› ๏ธ YOUTUBE: https://bit.ly/3rH2Yfh ๐ŸŒŽ LINKEDIN: https://bit.ly/3xA6F84 ๐Ÿ‘ฅ FACEBOOK: https://bit.ly/37mbQOa ๐ŸฆTWITTER: https://bit.ly/3Cn0g3A ๐Ÿ“ธ PINTEREST: https://bit.ly/2VCXI05 #testngtutorial #lambdatest #paralleltesting #testngselenium #testngfeatures #testngbasics #testngcourse #learntestng Disclaimer: This video features materials protected by the Fair Use guidelines of Section 107 of the Copyright Act. All rights reserved to ยฉ 2022 TestMu AI. Any illegal reproduction of this content will result in immediate legal action.

Download

0 formats

No download links available.

TestNG Framework Tutorial | How To Do Parallel Testing In TestNG ๐Ÿ“ƒ| Part-IX | TestMu AI | NatokHD