P2 - Installation of TestNG | TestNG | Testing Framework |
In this video, I have explained about "Installation of TestNG".
Installation of TestNG
1) Install the plugin for IDE(Eclipse/IntelliJ/Netbeans) (Can be installed in 4 ways for eclipse IDE)
-- From within the eclipse IDE (2 ways)
-- Help - Marketplace
-- Help - Install New Software
-- From outside eclipse
-- Drag install button available in eclipse plugin github repo
-- Drag install button available in eclipse marketplace
2) Install the TestNG libraries inside the project
-- Maven Project
-- Normal Java Project
=======================================
▶️ Next Video Link: • P3 - Create and run yo...
◀️ Previous Video Link: • P1 - Introduction to T...
↔️ TestNG Playlist Link: bit.ly/3wXyuXB
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
👑 Join my youtube channel to get access to perks:👇
/ @hyrtutorials
========================================
========================================
Connect me @
🔗 Website - www.hyrtutorials.com
🔗 Telegram - t.me/hyrtutorials
🔗 Facebook - / hyrtutorials
🔗 LinkedIn - / hyrtutorials
🔗 Twitter - / hyrtutorials
🔗 Instagram - / hyrtutorials
========================================
========================================
🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
#hyrtutorials #selenium #testng
TestNG by Yadagiri Reddy
Пікірлер: 243
↔️ TestNG Playlist Link: bit.ly/3wXyuXB ✴ Checkout my other playlists: bit.ly/3gLIAVL ☕ Buy me a coffee: bit.ly/33ljBWc
@lakshmiprasanna2827
2 жыл бұрын
Please share your connect number
@kkAaddds64
10 ай бұрын
bro, explanation is good, but i feel you are running very fast
It's very clean and most importantly fast.....explaining without dragging helps a lot of people like me...very gud job bro...All the best 👍
@HYRTutorials
2 жыл бұрын
Thankyou 😊 Hope you feel the same for rest of the videos as well.
Very nicely and precisely explained. Most importantly it's consuming less time to learn
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
Superb Explained.. ❤️ Non It Students can easily get understood
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
Crystal clear explanation Mr. Reddy
@HYRTutorials
3 жыл бұрын
Thankyou Mounika 😊
Very simple explanation. Thank You for your effort
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
Thank you very much, you do an excellent job!!!
@HYRTutorials
2 жыл бұрын
Glad to help!
nice explanasion bro... clean and clear way ur explanasion .. keep going. waiting for another concepts... t
@HYRTutorials
3 жыл бұрын
Thankyou 😊
Clear cut explanation without any unnecessary things , liked it , do u provide classes also
@HYRTutorials
Жыл бұрын
Thanks buddy 😊 No buddy I'm not providing any trainings currently
Your teaching skills are superb....
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
amazing content and precise information thank you
@HYRtutorials i had installed test NG dependences and it is showing in maven dependencies but error is coming as main method is not there and TestNG is not installed
Good explanation....very useful❤
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
explanation was clear and good easily understand
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
Excellent video very helpful
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
Good Explanation... Thank you.
@HYRTutorials
3 жыл бұрын
Thankyou 😊
Very.... Clear Explanation..
@HYRTutorials
3 жыл бұрын
Thank you so much 🙂
thanks for the video series on this
@HYRTutorials
Жыл бұрын
Keep learning and keep supporting buddy
thank very good excellent explanation achive your goal
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
Very good explanation sir
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
Thank you so much!
@HYRTutorials
Жыл бұрын
Happy learning buddy 😊
Nice explanation bro. Requesting you that start videos on Hybrid Framework bro beside TestNG series. Please consider our request bro. We are waiting for Hybrid Framework series from so many days. Thank you bro...
@HYRTutorials
3 жыл бұрын
Thankyou 😊 Will do after this series.
@watchandthink4693
Жыл бұрын
@@HYRTutorials IS Hybrid framework covered after these,i cant playlist about it. by the way ur explanations is amazing.
Nice explanation,👍
@HYRTutorials
10 ай бұрын
Thanks buddy 😊
Superrrrrr sir👌👌
@HYRTutorials
2 жыл бұрын
Thankyou buddy
Hi Sir, As per the video i installed eclipse but i am getting so many errors while running the code, so could u plz help me
After adding testng dependency, the the testng jar file was added , but when i tried to run test class , run as testng option not showing, why?
@HYRTutorials
2 жыл бұрын
You have installed the testng in the project but u need to install the testng in the eclipse as well. If you watch the full video you can find the part where I explained about installation of testng in eclipse as well.
Excellent
EXCELLENT SIR
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
You are great thank you
@HYRTutorials
Жыл бұрын
Thanks buddy 🙂
excellent 👌
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
👍🏻👍🏻👌👌
@HYRTutorials
2 жыл бұрын
Thankyou
Hey bro when i done installation and added maven repository but after creating class when i add @test and use ctrl+space it shows no annotations please help me
@HYRTutorials
2 жыл бұрын
Expand the maven dependencies in your project and verify whether it has the testng libraries in it.
Nice explained
@HYRTutorials
2 жыл бұрын
Thank you 😃
Thank you so much
@HYRTutorials
2 жыл бұрын
Glad you liked it ☺️
Hi brother, Am facing Error: A JNI error has occurred, please check your installation and try again pop up message And in console it showing unsupported class version (class file version 55.0)it runtime only recognises upto have 52.0 Please help
As I installed it via eclipse marketplace, I did not get Run All Run | Debug Options After restarting the IDE
@HYRTutorials
Жыл бұрын
Its not because of that buddy. You might have written the code in src/main/java. Instead, you should write it in src/test/java
why Run | debug not showing in when create Script in "class in src/main/java" but showing in "src/test folder. "
@HYRTutorials
2 жыл бұрын
Yeah , src/main is dedicated for framework related files. src/test is dedicated for test related files. So by default testng identifies that and shows like that.
Thank you sir
@HYRTutorials
3 жыл бұрын
Happy Learning 😊
Hi Reddy garu, I have installed TESTNG from help from eclips, but it does not show in run button
@HYRTutorials
Жыл бұрын
You might be creating the java files in src main folder buddy. Create it under src test folder buddy
For TestNG, we need to install another Eclipse IDE, while install the TestNG from this vedio create project is there.but I am not getting that, could you guide me bro?
@HYRTutorials
Жыл бұрын
Install the TestNG as shown in the video buddy
suuuuper bayya
@HYRTutorials
3 жыл бұрын
Thankyou sis 😊
Hi sir, am getting " A jni error has occurred, please check your installation and try again". And in console java.lang.NoClassDeffoundError showing... can you please help me
Launching class has encountered a problem Invalid project Show error type kindly give the solution
Thank you bro
@HYRTutorials
Жыл бұрын
Happy learning buddy 😊
i am installed eclipseide java developer but not created new package,class and i want to write any program not displayed
@HYRTutorials
Жыл бұрын
Send me problem and screenshots on hyadagirireddytutorials@gmail.com
thank you
@HYRTutorials
2 жыл бұрын
Thankyou 😊
Thanku
@HYRTutorials
3 жыл бұрын
Happy Learning 😊
Hii i got error to place jar files in resource folder. clipboard content con't paste into the selected elements this one is the error
@HYRTutorials
Жыл бұрын
Open the project in file explorer and paste the content there buddy
Sir , Thank u
Hi Bro, MY IDE has selenium software also. still TestNG cal install into IDE or needs to open new IDE for TESTNG?
@HYRTutorials
Жыл бұрын
How selenium is already installed in ide buddy? U mean in project?
hi , I have some error like "a java exception has occurred". what we have to do for this error ,Its error occurred in execution of testng programs.
@HYRTutorials
Жыл бұрын
Send me the screenshots on hyadagirireddytutorials@gmail.com
I'm working on a java project and I have done the same as you mentioned in the video. But still its not showing TestNG option in 'RunAs'. Can you please help me out on this.
@HYRTutorials
2 жыл бұрын
After the installation of eclipse plugin,you should restart the eclipse
@muralikrishnakotha5869
2 жыл бұрын
@@HYRTutorials yeah.., I have done each and every step shown in the video and cross checked it multiple times to see if I missed anything. I didn't miss anything but still its not showing the TestNG option to run
@HYRTutorials
2 жыл бұрын
Probably it could be some eclipse version issue then. Try to use the latest version of eclipse.
Sir it was showing cannot perform operation.computing alternate solutions,may take a while:2/15,will it work or not I am using 4.5.2 version
@HYRTutorials
Жыл бұрын
Why u r using very old version of TestNG buddy?
Still after completing all steps.....testng option on right click(run as testng) not coming
Sir ,I have a doubt. Right now am using maven project in eclipse. Can I create a separate Maven project for TestNG or install TestNG in which I have used maven project.
@HYRTutorials
2 жыл бұрын
You can install TestNG in the same maven project buddy
@karthikpasunoori1695
2 жыл бұрын
@@HYRTutorials thank u sir
Your teaching concept good bro, but too fast bro, within browser opening time you are going to next topic.
Hi sir,good morning hope u r doing good, while istalling and run the testNG it showing some error like"internal error launching test case"
@HYRTutorials
Жыл бұрын
Are you on VPN network buddy?
Did everything like in the video Run All option not coming after software installation Did install only for Run All option run as Testng was coming previously, 3 warnings are still there unlike yours in the video please help bro
@HYRTutorials
Жыл бұрын
Probably you are writing the tests under src main java instead of src test java buddy
Awesome but Please explain little bit slow..some time's cont follow your speed..so please consider its my spl request
@HYRTutorials
2 жыл бұрын
Thankyou 😊 Yeah in initial videos I was a bit faster but in later videos reduced the speed.
@knowyourmedicines22
Жыл бұрын
You have control over the video please reduce the videos speed..
While installing Testng in my maven project after sometime it is showing Cannot perform Operation.computing alternate solutions may take while 1/15 after completion of 15/15 it is showing that not installed. What is problem in this ??
@HYRTutorials
Жыл бұрын
Never saw such kind of errors. Are you using office laptop?
@ravijitte968
Жыл бұрын
@@HYRTutorials Personal laptop Bro It's Solved bro
@HYRTutorials
Жыл бұрын
@@ravijitte968 cool 😎
Hii sir iam getting in my system , while writing @test it's showing import'test'(org.jnunit) not loading test ng package wat to do sir
@HYRTutorials
2 жыл бұрын
Did u add the testng library to your project?
@kirannaik8
2 жыл бұрын
No sir I will try to rectify
Sir ipudu Testng install chesaka Eclipse IDE ni restart now ane adugutundi kadaaa Restart chesaka by any chance previous programs delete avavuga restart cheste?
@HYRTutorials
Жыл бұрын
If any unsaved changed are there, then they might go but programs will not be deleted buddy
Cannot perform operation computing alternate solutions may take a while nu varudhu correcta
@HYRTutorials
2 жыл бұрын
Aama correct da
Sir,@Test ani isthe, org.testng.annotations ani references kanivatledu. pls help I have added dependency as u said in pom file as welll
@HYRTutorials
2 жыл бұрын
Open the maven dependencies and verify whether u r able to see the testng jar file or not
@LittleSoldiers143
2 жыл бұрын
Sir, Above mentioned issue got resloved sir. .But...when i right click and see , run with TESTNG is only shown. Run on server option is not displayed. kindly help me And moreover, RUNALL, RUN|Debug options are not shown on my page
@HYRTutorials
2 жыл бұрын
@@LittleSoldiers143 after writing @Test, Press Ctrl+space
@LittleSoldiers143
2 жыл бұрын
@@HYRTutorials Sir, Above mentioned issue got resloved sir. .But...when i right click and see , run with TESTNG is only shown. Run on server option is not displayed. kindly help me And moreover, RUNALL, RUN|Debug options are not shown on my page
@HYRTutorials
2 жыл бұрын
@@LittleSoldiers143 But why do you need run on server buddy? Thats is not displayed because u might have downloaded the different eclipse package than mine. try to download the latest eclipse
Hello sir, thanks for the clear explanation. i have installed TestNG Plugin for Eclipse and my Project but its not showing the " Run | Debug " after @Test. please suggest me how can i get it. Thank you
@HYRTutorials
2 жыл бұрын
Thankyou 😊 1. Did you restart the Eclipse after installing the testng plugin? 2. Is your eclipse a latest version? 3. Did you install the latest version of testng eclipse plugin?
@creativeme4518
2 жыл бұрын
@@HYRTutorials Thanks for the quick response sir. I watched the video couple of times, so i got the solution, mistake was I have created the testng class in src/main/java. Actually it should be in src/test folder.
@venkateshchowdary4331
2 жыл бұрын
why Run | debug not showing in when create Script in "class in src/main/java" but showing in "src/test folder. "
Thank you Reddy ,in preferences i am able to see testNG software but under runas "testng test' option not showing.
@HYRTutorials
2 жыл бұрын
Did you add any @test annotation in that class file buddy?
I can see this brother is saying very well whenever you watch the video please try to give a like
When I add @Test it shows error what can I do? It didn't show maven dependency also
@HYRTutorials
2 жыл бұрын
Press Ctrl+space
thanks sir
@HYRTutorials
Жыл бұрын
Happy learning buddy 😊
Sir i have Installed the TestNg Successfully But Maven Folder is not created sir even i am refresh my project
I'm getting this issue.. Cannot perform the operation computing alternate solutions.. Sir can u tell how to resolve this problem
@HYRTutorials
10 ай бұрын
After sometime it will go away buddy
what is the diff. b/w java and Test NG.....And why we not go for program with java and why include TestNG?
@HYRTutorials
2 жыл бұрын
Comparing Java and TestNG is inappropriate but to answer your question here im giving the answer TestNG is a library developed as a framework in Java. For eg if you want to execute any piece of code before executing any method every method, there is no option java ryt? and to execute the methods in multi threaded mode then we have implement the multithreading concept from scratch. instead of doing it from scratch or to achieve the hooks functionality testng is providing beautiful options called annotations. Using these annotations you can control or adjust your execution process.
Sir it's very good explanation But 1 doubt sir When am going to create Mavel project only it's displaying ( SRc, Main, test, target ,pom.xml) Not coming remains(jre system library, maven dependineses, Test project.....) Am done same u r procedure Plz tell me sir !!!
@HYRTutorials
2 жыл бұрын
Maven dependencies will come only when you add any dependencies in the pom.xml file buddy.
Hi bro, i got an error while run testing codes,that error is A jni error has occurred,place check ur installation and try again. So what to do now...
@HYRTutorials
2 жыл бұрын
Checkout this video buddy kzread.info/dash/bejne/Zo1tz8yyqLKedbw.html
.xml -> dependecies not show default . What should i do
@HYRTutorials
Жыл бұрын
Select File-New-File provide the filename with extension as .xml buddy
Tqu
@HYRTutorials
3 жыл бұрын
Happy Learning
How did u align the dependency code at 3:59
@HYRTutorials
2 жыл бұрын
Select the entire text in the pom file by pressing Ctrl+A Then align the code using Ctrl+i
Can you please upload videos for page object model with and without page factory, data driven , keyword driven etc..pattherns with testng selenium testing.....
@HYRTutorials
10 ай бұрын
Sure buddy
Hi bro, I am getting error while installing plugin in eclipse IDE can u pls help here
@HYRTutorials
11 ай бұрын
What's the error buddy
Hi ...... How to solve PKIX path building failed error resolved ? Please help
@HYRTutorials
2 жыл бұрын
Send me the screenshot on hyadagirireddytutorials@gmail.com
I m not able to install testng by new install n marketplace.
@HYRTutorials
2 жыл бұрын
What is the error u r getting?
after installing plug in, Still I am not able to see testNg run option
@HYRTutorials
2 жыл бұрын
Restart the Eclipse buddy. And also write your tests under src/test folder
nice explanation brother. but while i am running the code with Testng iam getting error as "cannot find class in classpath" how to resolve that one i saw lot of videos but i didn't get any solution
@HYRTutorials
2 жыл бұрын
Is the issue resolved buddy? If not send me the screenshot on hyadagirireddytutorials@gmail.com
What is the version of eclipse tat ur using
@HYRTutorials
2 жыл бұрын
Version: 2021-06 (4.20.0)
Test కింద Run | debug అని రావడం లేదు, reason ఏంటో చెప్పండి... Pls give solution....
@HYRTutorials
2 жыл бұрын
Install the testng eclipse plugin as shown in the video
while downloading testNG in marketplace getting unable to read repository how to solve this pls tell me
@HYRTutorials
Жыл бұрын
if you are on proxy then you should handle the proxy first. or you can copy the jar files mentioned in the below location and paste it into plugins folder in eclipse directory. drive.google.com/drive/folders/1hzkxTReVN4Xt_7Fr7MSn8ISWGuDpi1Lq?usp=sharing
@pranayasamala3750
Жыл бұрын
@@HYRTutorials thank you
@RamaKrishna-ng4of
Жыл бұрын
We need to copy paste those 6 jar files in plugins Sir??
Unable to install TestNg Eclipse marketplace and it shows unable to read repository
@HYRTutorials
2 жыл бұрын
Can u send me the screenshot on hyadagirireddytutorials@gmail.com
@vasuvasu5626
2 жыл бұрын
I send ur mail sir
@HYRTutorials
2 жыл бұрын
@@vasuvasu5626 I have sent you some libraries. Did it work?
i'm unable to get run | debug after installing TestNG
@HYRTutorials
2 жыл бұрын
Did you install the eclipse testng plugin?
For installation of testng libraries Maven project Or Normal java project Any one method is enough?
@HYRTutorials
Жыл бұрын
Anything is fine buddy. Maven is preferred over the Norma project.
TESTNG videos anni Telugu lo kuda pettandi maku chala use avuthundhi please 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@HYRTutorials
11 ай бұрын
Time pattuddi buddy
Sir maven project create chesi andulo testNG dependency add cheste saripothundhi kada sir
@HYRTutorials
2 жыл бұрын
Also u need to install the eclipse plugin
@harikrishna6088
2 жыл бұрын
@@HYRTutorialsalready eclipse IDE install chesukunna Anna
@HYRTutorials
2 жыл бұрын
You need to install the TestNG plugin inside the eclipse. I have shown that in the video buddy
Yadagiri bro i am getting error annotation error why i am getting error
@HYRTutorials
Жыл бұрын
Can u send me the screenshots on hyadagirireddytutorials@gmail.com
Not working tried all ways, any other suggestion ?
@HYRTutorials
2 жыл бұрын
What is the error u r getting? Are you trying inside the VPN?
jar file of testng not opening sir ..can u plz help me out
@HYRTutorials
Жыл бұрын
Send me the screenshot on hyadagirireddytutorials@gmail.com
@sindhujonna1535
Жыл бұрын
@@HYRTutorials sir isent mail to u..
hai sir plz provide testng installation site link
why my Run and Run All annotation is not comming on my eclips?
@HYRTutorials
Жыл бұрын
Probably you are writing tests under src/main/java Write it in src/test/java
@naaz7847
Жыл бұрын
@@HYRTutorials how we can change? i am unable to find. plz help
@HYRTutorials
Жыл бұрын
@@naaz7847 which project you are using buddy? Normal java project or maven project?
@user-xs1ql1tz5h
Жыл бұрын
@@HYRTutorialsthanks brother ee comment valla run all button Ni successful Ga kanipettanu program kooda execute ayyindhi😅😊
What purpose to create tha java project
@HYRTutorials
Жыл бұрын
Without project where do u write the code buddy?
Sir how did u created maven project please tell me
@HYRTutorials
Жыл бұрын
I have shown that in the video buddy
hai sir ...why we are using @test ????
@HYRTutorials
2 жыл бұрын
TestNG works based on the annotations only buddy. @Test is one of the main annotation
After adding testng dependency I am not able to get annotations after entering @test ctrl+space ( it showing no default proposals)
@HYRTutorials
Жыл бұрын
Is the TestNG libraries showing under maven dependencies?