Перейти к содержимому

Selenium Framework for Beginners 9 | What is TestNG | How to install TestNG for Selenium

Automation Step by Step

0:00 / 0:00

Selenium Framework for Beginners 9 | What is TestNG | How to install TestNG for Selenium

172 518 просмотров · 8 лет назад
Automation Step by Step
591 тыс. подписчиков
172 518 просмотров · 8 лет назад
New link for TestNG: https://dl.bintray.com/testng-team/te... After watching take this QUIZ - https://automationstepbystep.com/2021... All FREE courses - https://automationstepbystep.com/ Today we will learn: Add TestNG plugin Add testng library (Java and Maven project) Create and run TestNG tests Create run configuration for TestNG How to create TestNg reports Create testng.xml file STEPS: TestNG on Intellij IDEA Step 1 - Open IntelliJ IDEA Step 2 - Goto Settings > Plugins (check if testng is available) Step 3 - Add TestNG jar OR Maven dependency Step 4 - Create class and test methods - Add testng annotations > Run To Create configuration - Run > Edit Configurations To create testng.xml - add plugin Create TestNg XML Stories by Raghav - https://automationstepbystep.com/stor... My Udemy Courses - https://automationstepbystep.com/udem... Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you You can support my mission for education by sharing this knowledge and helping as many people as you can If my work has helped you, consider helping any animal near you, in any way you can. Never Stop Learning Raghav Today we will learn - What is TestNG | How to install TestNG 1. What is TestNG 2. How to install TestNG in eclipse 3. How to add TestNG libraries in Selenium Project What is TestNG TestNG is a testing framework for the Java programming language created by Cédric Beust and inspired by JUnit and NUnit. Makes test creation, execution and reporting efficient Uses annotations like @BeforeTest, @AfterTest, @BeforeSuite, @AfterSuite @BeforeMethod, @AfterMethos @BeforeClass, @AfterClass NG = Next Generation Step 1 : Add TestNG plugin in Eclipse Step 2 : Add TestNG libraries Step 3 : Validate Advantages of TestNG Makes test creation, execution and reporting efficient Helps in Grouping of tests Helps in Prioritizing of tests Parallel execution Reporting REFERENCES https://testng.org/doc/index.html https://github.com/cbeust/testng-ecli... https://en.wikipedia.org/wiki/TestNG https://mvnrepository.com/ #SeleniumJavaFramework #SeleniumTutorials #SeleniumTraining #SeleniumFramework #SeleniumJavaTutorial #SeleniumBeginnerTraining FREE Courses - https://automationstepbystep.com/ Like, Subscribe & Share You can support my mission for education by sharing this knowledge and helping as many people as you can If my work has helped you, consider helping https://animalaidunlimited.org/ or any animal welfare group near you Never Stop Learning Raghav https://automationstepbystep.com/