After watching take this QUIZ - https://automationstepbystep.com/2021/08/17/testng-quiz/
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/stories/
My Udemy Courses - https://automationstepbystep.com/udemy-discounts/
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.
________ ONLINE COURSES TO LEARN ________
https://automationstepbystep.com/free-online-tutorials/
Never Stop Learning
Raghav
Free tutorials - https://automationstepbystep.com/
References:
http://testng.org/doc/
https://github.com/cbeust/testng-eclipse/
http://beust.com/eclipse