How to install TestNG in Eclipse ? | TestNG Tutorial Part #2

  Рет қаралды 2,099

Chandan Gupta

Chandan Gupta

3 жыл бұрын

This is the second video in TestNG tutorial series where I have explained about adding TestNG to Eclipse in three different ways to a project. I have covered the following-
1. How to install TestNG in eclipse ?
2. How to add TestNG libraries to a project in eclipse?
3. How to add TestNG dependencies using maven in eclipse?
TestNG is a testing framework inspired from JUnit and NUnit but with some new functionalities that make it more powerful and easier to use. It is widely used as test framework for Selenium projects.
Link for TestNG Tutorial on KZfaq - • What is TestNG ? | Tes...
Telegram Group to discuss on Query, solutions, problems, counselling etc- t.me/joinchat/G_h0QcMsykFimpEm
Please subscribe my channel to support - / @chandanguptasdet
=================
Links to refer :
1. What is TestNG - • What is TestNG ? | Tes...
2. Different ways to setup TestNG in Eclipse - • How to install TestNG ...
3. What are TestNG Annotations - • TestNG Annotations - P...
4. How to set Priority in TestNG? - • TestNG -How to set Pri...
#testng #Selenium #TestngTutorial #Eclipse #maven

Пікірлер: 17
@icaspersingh7824
@icaspersingh7824 2 жыл бұрын
An internal error occurred during: "Launching TestCase01". Could not initialize class org.testng.eclipse.util.ClassMethodsSuite ..plz help i am getting this error
@jaiabi92
@jaiabi92 3 жыл бұрын
Sir could you please explain me why that [ Run | Debug ] commands are showing is it possible to disable ?
@imshaiknasir
@imshaiknasir 3 жыл бұрын
Hi @chandan, I guess even if we add "testng" in maven dependencies, we still need the add the testng-plugin through "install software" in eclipse; to get "run as testng test" OR "convert the whole project to testng". Please correct me if I'm wrong..
@icaspersingh7824
@icaspersingh7824 2 жыл бұрын
i tried all 3 method still getting same error Could not initialize class org.testng.eclipse.util.ClassMethodsSuite .
@dipanmajumder8606
@dipanmajumder8606 3 жыл бұрын
Hi chandan,i am getting an error after hiting the finish after installing 9% getting an error like session context .....no repository found
@vasuvasu5626
@vasuvasu5626 2 жыл бұрын
Bro same error what did you do bro suggestme pozzzz
@srinivaskadiyala
@srinivaskadiyala 3 жыл бұрын
What is meant by Maven Build Success? What actual it refers to for next step?
@chandanguptaSDET
@chandanguptaSDET 3 жыл бұрын
Maven build refers to executing maven goals clean ,install, test etc. I will cover them in detail in Maven Tutorial. As of now please understand that when we say build successful, it mean it has performed a set of instructions like compilation of code, packaging, test etc. successfully without any error else it will say Build failed. Hope it helps.
@srinivaskadiyala
@srinivaskadiyala 3 жыл бұрын
@@chandanguptaSDET Thanks
@srinivaskadiyala
@srinivaskadiyala 3 жыл бұрын
Can you please explain, how maven compiler plugin is used after update of properties?
@chandanguptaSDET
@chandanguptaSDET 3 жыл бұрын
I didn't get your question Srinivas. Can you help me in the context of the video, may be tell me the time . Or if it is a separate questions please elaborate.
@srinivaskadiyala
@srinivaskadiyala 3 жыл бұрын
We added maven compiler in properties section of pom.xml What is the usage of this property, can you demo on the usage
@chandanguptaSDET
@chandanguptaSDET 3 жыл бұрын
Aaha, If I remember it correctly that is where we specify the jdk to use to compile our code(source and target). I will cover them in detail when I make a tutorial on maven or when I create a tutorial on test automation framework.
@srinivaskadiyala
@srinivaskadiyala 3 жыл бұрын
@@chandanguptaSDET Thanks
@srinivaskadiyala
@srinivaskadiyala 3 жыл бұрын
5:20 to 5:30 - Audio is not proper.
@chandanguptaSDET
@chandanguptaSDET 3 жыл бұрын
Thanks for bringing that up Srinivas, looks like the tool didn't capture it correctly. I shall look into the issue.
@srinivaskadiyala
@srinivaskadiyala 3 жыл бұрын
@@chandanguptaSDET Thanks
TestNG Annotations - Part 01 | TestNG Tutorial Part #3
1:03:26
Chandan Gupta
Рет қаралды 2 М.
What is TestNG ? | TestNG Tutorial Part #1
36:03
Chandan Gupta
Рет қаралды 6 М.
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 9 МЛН
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 36 МЛН
Installing TestNG and using in Projects (TestNG - Part 2)
45:32
What if my Intel CPU explodes??
14:20
Paul's Hardware
Рет қаралды 59 М.
How to perform parallel testing in TestNG? | TestNG Tutorial Part #16
19:19
🚀  TDD, Where Did It All Go Wrong (Ian Cooper)
1:03:55
DevTernity Conference
Рет қаралды 555 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 262 М.
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 833 М.
Why didn't the Angular team just use RxJS instead of Signals?
8:15
Joshua Morony
Рет қаралды 90 М.
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 9 МЛН