TestNG Framework- Selenium Tutorial Part-1

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

ความคิดเห็น • 340

  • @naveenautomationlabs
    @naveenautomationlabs  5 ปีที่แล้ว +132

    ~~~~~~~~~~~~In this video, just a correction: test cases will be executed as per alphabetic order not random order. ~~~~~~~~~~~~~~~~~~~~~~

    • @umangsharma7447
      @umangsharma7447 5 ปีที่แล้ว +3

      Hi Naveen, i am using mac for my learning. Problem is i am unable to add a TestNG library in latest Eclipse IDE (4.12) . Is it true that latest eclipse is not able to support TestNG plug-in ?
      Description Resource Path Location Type
      Invalid classpath container: 'TestNG' in project 'LearningSelenium' LearningSelenium Build path Build Path Problem

    • @akashmohanty9627
      @akashmohanty9627 5 ปีที่แล้ว

      no to overcome alphabetic order we can use "priorit

    • @nitingupta82
      @nitingupta82 5 ปีที่แล้ว +4

      Exactly!!! This is what I wanted to Point out!! Cheer's!

    • @sanchitgandhi7551
      @sanchitgandhi7551 5 ปีที่แล้ว

      @@nelakantilavanya remove TestNG libraries from project, re install software from help and try, hopefully it should work.

    • @savitaameti9155
      @savitaameti9155 5 ปีที่แล้ว

      Hi Naveen,
      Thanks for sharing this informative video. Could you please share me the URL u used to download the TestNG for eclipse here?
      Thanks

  • @priyankas6082
    @priyankas6082 6 ปีที่แล้ว +5

    This is my third training class - the quality of training I receive continues to be excellent.

  • @prasadmutha7624
    @prasadmutha7624 2 ปีที่แล้ว +9

    Hi Naveen , It was very informative video and I am thankful for the same. Just one correction I wish to add here that I have observed in TestNG execution when there are multiple test cases written (without mentioning priority) then execution happens according to alpha-numerical manner of class name ( and not random as mentioned in video). Hope this helps whoever is reading the comment.

    • @premsinghrathore9691
      @premsinghrathore9691 ปีที่แล้ว

      What do you mean by that, I though it was random?

    • @chinnab3544
      @chinnab3544 ปีที่แล้ว

      yes .testNG will take alphabetic order only if we are not provide priority

  • @meghasandesam
    @meghasandesam 7 ปีที่แล้ว +19

    Naveen, after visiting this i had crystal clear clarity on subject. Nice voice and nice explanation. Thank you very much

  • @kitchen-e-kausar9105
    @kitchen-e-kausar9105 3 ปีที่แล้ว +2

    This video is very thorough, I was looking all over the Internet for tutorials with clear voice, clear explanations, the speed that will match my typing speed etc., and this is the one. I can just type the code along with you as you narrate. Thank you.

  • @varaprasad6911
    @varaprasad6911 5 ปีที่แล้ว +12

    perfect explanation to know how things work. I really love the way you explain things. Great job bro. Thanks a lot

  • @akashmishra6661
    @akashmishra6661 2 ปีที่แล้ว

    man u r such a lifesaver. these Videos are necessary

  • @lucasfoodvlogger6862
    @lucasfoodvlogger6862 6 ปีที่แล้ว +2

    From my heart, i am very much thankful to you. Really a person who can explain simply and effectively, god bless you with all knowledge .I believe that if strong skill knowledge then we can sustain in these competitive world.I strongly believe that if you share knowledge ,it will help to eradicate poverty and we can see towards enlightened.

    • @TheSelfbelief1
      @TheSelfbelief1 6 ปีที่แล้ว +1

      Having said that you have equally a big heart for they way you perceive life

  • @karthickmohankumar3944
    @karthickmohankumar3944 5 ปีที่แล้ว +5

    Hi Naveen your way of teaching is excellent, i have gone through your videos for the first time today. i am impressed.. it was good KT(Knowledge transfer) taken from you for the day.... Appreciate all your efforts , patience and hard work.. keep it up.....

  • @chandanwagh3873
    @chandanwagh3873 3 ปีที่แล้ว

    tutorial quality is awesome very very optimistic great

  • @GopinathRajendran-h5r
    @GopinathRajendran-h5r ปีที่แล้ว +1

    That was a good session , i am new to testng , now i can understand much better .
    thanks Naveen

  • @omkarpotdar2763
    @omkarpotdar2763 2 ปีที่แล้ว

    This is the best video of learning TestNG which I ever see. Thanks a lot Naveen for your hard work.😊

  • @sounakroy5368
    @sounakroy5368 3 ปีที่แล้ว +3

    Very helpful series thanks for the the clear explanation and covering all questions u r amazing 👍🏼👍🏼

  • @ManinderSingh-28
    @ManinderSingh-28 3 ปีที่แล้ว +4

    @Naveen : At time 39:01 you said that if the annotation is @Test for 3 test cases it will pick them up randomly. Correction it will execute in the alphabetical order of the method name as the default priority set for them is 0.

  • @gayathrivr
    @gayathrivr 4 ปีที่แล้ว +1

    Thank you so much Naveen. I could easily understand the concepts with crystal clear explanation.

  • @AK-ko1zo
    @AK-ko1zo 5 ปีที่แล้ว +1

    Excellent explanation and clarity .Thank you so much Naveen...

  • @debopampradhan9247
    @debopampradhan9247 2 ปีที่แล้ว

    Thanks Naveen! I just fixed it from your lecture. Thanks for giving information.

  • @vandanamishra6748
    @vandanamishra6748 3 ปีที่แล้ว +2

    U made life so easy by explaining in such a simple way .. loved way of explaining 👍thank u for making these videos ., it’s so helpful

  • @ramyaraghunathan6347
    @ramyaraghunathan6347 2 ปีที่แล้ว

    Thank you so much for this clear explanation. Your explanation really eases the complexity that minds perceptually have about TestNG. Your step by Step briefing Framework is simply the best.

  • @maheshbiruda1549
    @maheshbiruda1549 2 ปีที่แล้ว

    Hi Naveen.., The way your explaining TestNG Frame Work its too good and Thanks

  • @fitnessmodeldiet5350
    @fitnessmodeldiet5350 3 ปีที่แล้ว

    Great explanation this is printed in my subconscious mind.

  • @anjalichawla6036
    @anjalichawla6036 5 ปีที่แล้ว +14

    Thanks Naveen for the awesome tutorial, You are definitely doing a great job...!!
    One thing from the above video I have a point to share i.e. If we don't write priorities in the Test Annotations they execute it alphabetically, not randomly. Correct me If I have a wrong understanding.

  • @bhavnaarora2293
    @bhavnaarora2293 6 ปีที่แล้ว +6

    Excellent Tutorial, Thank you so much Naveen!!

  • @maheshkhateghare359
    @maheshkhateghare359 2 ปีที่แล้ว

    This series help me alot for learning automation testing

  • @jayassssssssssss
    @jayassssssssssss 7 ปีที่แล้ว +2

    Great Explanation Sir.. Thank you Very very much for helping us in learning Automation.

  • @rahulkantjha
    @rahulkantjha 4 ปีที่แล้ว +1

    @Naveen
    At 1:00:30 you said when someone will run the testng test without providing the priority, it will run randomly which is incorrect.
    It will not run randomly, instead, it will sort the test methods alphabetically and then it will execute the test methods.

    • @naveenautomationlabs
      @naveenautomationlabs  4 ปีที่แล้ว +1

      Yes it's already mentioned in my first comment of the video. It was mentioned incorrectly by me. In later videos of my testng I have corrected it. Thnx for mentioning :)

    • @rahulkantjha
      @rahulkantjha 4 ปีที่แล้ว

      @@naveenautomationlabs Oh ! sorry Naveen it's my bad. I just saw.
      But thanks a lot for all your playlists and especially for Collections.

  • @redwandergeb
    @redwandergeb 4 ปีที่แล้ว +1

    Thank you, Naveen !! It is a very clear and good teaching skill, I learn a lot from this video.

  • @Slade69
    @Slade69 4 ปีที่แล้ว +9

    One small thing . The order of execution of tests will be dependent on the alphabetical order of the methods , if no priority / dependency is specified

  • @sridevireddy1371
    @sridevireddy1371 7 ปีที่แล้ว +1

    Thank you Naveen...very clear and superb teaching.

  • @ManojGupta-kx9qv
    @ManojGupta-kx9qv 6 ปีที่แล้ว

    Naveen your way of explanation is awesome.you are genius sir

  • @prikshitverma3885
    @prikshitverma3885 3 ปีที่แล้ว

    Dhanyawad !!! Mr. Naveen!!!

  • @wisherz
    @wisherz 3 ปีที่แล้ว

    Thank you so much... all your videos are well explained. i am so happy i have found your channel

  • @anushas6526
    @anushas6526 4 ปีที่แล้ว +2

    Hi Naveen, My sincere thanks for this detailed and clear concepts. Thank you so much once again.

  • @priyankasomasundaram2033
    @priyankasomasundaram2033 2 ปีที่แล้ว +1

    Learning in 2022 ☺️ thanks for the wonderful tutorial video sir

  • @helpinghands9688
    @helpinghands9688 5 ปีที่แล้ว +1

    Brother .. spoke nicely and explained well. Thanks a lot ..please do more videos.

  • @jinalshah7023
    @jinalshah7023 3 ปีที่แล้ว

    Thank You SIR FOR SUCH A WONDERFUL EXPLANATION

  • @nagarjuna4234
    @nagarjuna4234 3 ปีที่แล้ว +1

    It was great lecture

  • @suryakumaris4125
    @suryakumaris4125 6 ปีที่แล้ว +5

    Naveen, you are doing great job.... Thanks for your effort.:)

  • @milanyadav6514
    @milanyadav6514 5 ปีที่แล้ว

    No words are enough to express gratitude

  • @joshuapaul3542
    @joshuapaul3542 4 ปีที่แล้ว +1

    Thank you, sir Excellent tutorial !!!

  • @santhosh4567
    @santhosh4567 5 ปีที่แล้ว

    Excellent teaching. It's really helpful 👍👍

  • @Harshaljain7
    @Harshaljain7 3 ปีที่แล้ว

    Great content and easy explanation great👍🏻

  • @menkakumaripratibha2687
    @menkakumaripratibha2687 3 ปีที่แล้ว

    Thank you @naveen , you explained very deep and i was looking all the video but this video gave clear explanation that i needed thankuuu so much

  • @mdrajeshwar1
    @mdrajeshwar1 3 ปีที่แล้ว +1

    Sir NIce explanation ,

  • @ankitshukla5800
    @ankitshukla5800 4 ปีที่แล้ว

    Best explanation sir🙂

  • @rajeevv135
    @rajeevv135 7 ปีที่แล้ว +2

    Thank you for sharing your insight on selenium. Selenium looks easy after watching your videos. Your explanation is very layman's perspective especially java topics. Looking for more such videos in coming days. Really appreciate if you can cover framework explanation with sample projects. Thank you once again!

    • @naveenautomationlabs
      @naveenautomationlabs  7 ปีที่แล้ว +1

      +Rajeev V thanks Rajeev! I'm currently working upon vidoes upon framework designing. Will be uploaded soon.

    • @naveenautomationlabs
      @naveenautomationlabs  7 ปีที่แล้ว

      Hi Rajeev, Hybrid + Page Object Model Framework have been uploaded now. Please refer this playlist: th-cam.com/play/PLFGoYjJG_fqq6cHeqfsDes3pdVh3kpl74.html

  • @mohanrammanikandan7939
    @mohanrammanikandan7939 3 ปีที่แล้ว

    Good Explanation. Thank you!

  • @poojapawar3665
    @poojapawar3665 7 ปีที่แล้ว +6

    Your voice is so good love to watch ur videos :)

  • @amitaggarwal576
    @amitaggarwal576 3 ปีที่แล้ว

    Hello sir! Thank you so much. You have come up with great explanation in all the videos.

  • @nitheeshakarnati1237
    @nitheeshakarnati1237 7 ปีที่แล้ว +2

    Awesome tutorials, very helpful for beginners. Thank you so much for the efforts!

  • @amiereviews5522
    @amiereviews5522 5 ปีที่แล้ว +3

    I cannot thank enough how helpful your videos are for me as a automation beginner. I don’t knw what i would have done without your channel. Such a detailed explanation of everything from a to z. Are u located in US naveen?

    • @naveenautomationlabs
      @naveenautomationlabs  5 ปีที่แล้ว

      Thanks for watching. I'm here in Bangalore. Mail me at naveenanimation20@gmail.com in case of any queries.

    • @amiereviews5522
      @amiereviews5522 4 ปีที่แล้ว

      Naveen AutomationLabs : okay sure thanks naveen

  • @manikantabheema9137
    @manikantabheema9137 4 ปีที่แล้ว

    Thanka for ur hard work and uploading the videos for the people,. Rey excellent Subject and extradinory explanation

  • @salimsiddiqui9333
    @salimsiddiqui9333 6 ปีที่แล้ว +1

    i clearly understand concept of testNG thank you so much sir

  • @debojyotibose1143
    @debojyotibose1143 6 ปีที่แล้ว +3

    Excellent videos, thanks a lot

  • @vikaspaliwal185
    @vikaspaliwal185 6 ปีที่แล้ว +1

    Naveen Sir you are awsome thanks for the info..

  • @jameerkhan814
    @jameerkhan814 7 ปีที่แล้ว +8

    Hi Naveen...It's very nice and i would like to tell u one thing that in TestNG, the test cases will be executed based on the ALPHABETICAL ORDER of the test method names but not randomly... In the above example which u have explained the test cases got executed based on the alphabetical order....Thank you and nice work

    • @naveenautomationlabs
      @naveenautomationlabs  7 ปีที่แล้ว

      thanks for highlighting this.

    • @abhinavanand9652
      @abhinavanand9652 5 ปีที่แล้ว

      Yes u r absolutely correct . It is executed based on Ablhabecical order . Thanks naveen

  • @prasanthikavati1056
    @prasanthikavati1056 6 ปีที่แล้ว

    Great Job....Thanks for your video

  • @salamali6814
    @salamali6814 4 ปีที่แล้ว +1

    You are amazing. Thank you so much the upload.

  • @srinivasp1190
    @srinivasp1190 4 ปีที่แล้ว

    Thank you so much, Naveen for your help. These videos are very helpful..:)

  • @rekhasahukar5082
    @rekhasahukar5082 3 ปีที่แล้ว

    Great teach 👏

  • @WhiteKnight_OG
    @WhiteKnight_OG ปีที่แล้ว

    perfect 👌 👌 Sir

  • @anujamishra10
    @anujamishra10 3 ปีที่แล้ว +1

    God bless you 🙏

  • @swagatikadas398
    @swagatikadas398 6 ปีที่แล้ว +1

    The video is awesome and very informative. I can have a clear idea about the sequence of the annotation in TestNG framework. Thank you so much Naveen 😊

  • @VijethKulal
    @VijethKulal 6 ปีที่แล้ว +4

    Just a small note :We need to Change : WebDriver driver = new ChromeDriver();
    To : driver = new ChromeDriver(); , so @AfterMethod ,NullPointerException wont arise. Thanks.

  • @ashishmishra7214
    @ashishmishra7214 5 ปีที่แล้ว

    Superbly explained wow:)

  • @AshShrawane
    @AshShrawane 5 ปีที่แล้ว

    Great Work! Really Helpful, Thanks a ton Naveen!!

  • @ayushiprasad5506
    @ayushiprasad5506 5 ปีที่แล้ว

    thank you Naveen for all the tutorials , really helpful !!

  • @prashantsharma8128
    @prashantsharma8128 6 ปีที่แล้ว

    Amazing explanation Naveen sir. Thank you so much for this tutorial i really like it

  • @amrithavarshinits9577
    @amrithavarshinits9577 3 ปีที่แล้ว

    Hi Naveen, Your sessions are very simple and informative. I would like to share one of my understanding here- @Test methods are picked based on alphabetical order of the test method name if priority keywords are not provided and not randomly.

  • @truthsacrament369
    @truthsacrament369 5 ปีที่แล้ว

    Nice explanation... Thank you Naveen 😊

  • @poojachaudhary7195
    @poojachaudhary7195 4 ปีที่แล้ว

    Happy teachers day naveen

  • @prashantsoni3279
    @prashantsoni3279 6 ปีที่แล้ว +3

    Naveen, great video on selenium tutorial but sorry to say that one thing is explained wrong here, @test is not picked randomly, it gets executed alphabetically if priority is not set.

    • @RajChahalNsit
      @RajChahalNsit 5 ปีที่แล้ว

      yes, i was going to mention the same... this is a minor mistake in otherwise a nice video ..

    • @vijaysim1648
      @vijaysim1648 4 ปีที่แล้ว

      Yes

    • @vijaysim1648
      @vijaysim1648 4 ปีที่แล้ว

      Please correct this. If not some one blindly follows

  • @kenjalgundecha5870
    @kenjalgundecha5870 6 ปีที่แล้ว +2

    very nice explanation!!!!!!!!!

  • @minkugrang9524
    @minkugrang9524 6 ปีที่แล้ว

    Well explained. Thanks a lot .

  • @kousalyamariappan2492
    @kousalyamariappan2492 5 ปีที่แล้ว +2

    Thank you so much sir. it was very useful :)

  • @ANURAGGUPTA1690
    @ANURAGGUPTA1690 6 ปีที่แล้ว +1

    very nice video and explanation, thank you for providing these kind of information its very helpful.
    i want to add a point here @Test are executed according to alphabetical order.

    • @naveenautomationlabs
      @naveenautomationlabs  6 ปีที่แล้ว

      Yes it was already corrected and mentioned in pinned comment. Thanks

  • @luckydev2293
    @luckydev2293 5 ปีที่แล้ว

    Thank you sir, for sharing your knowledge and stuff.

  • @letuslearnscience-piyushku284
    @letuslearnscience-piyushku284 6 ปีที่แล้ว

    Nice learning.

  • @kaurprabhleen89
    @kaurprabhleen89 6 ปีที่แล้ว

    Naveen , great explanation !! I would like to add one thing here , if we don't add priority , test cases run in alphabetical order.

  • @manaligupta1098
    @manaligupta1098 7 ปีที่แล้ว +1

    Very informative sir!

  • @sharmapinky6820
    @sharmapinky6820 7 ปีที่แล้ว +1

    Really helpful....i wanted to know about test management tools as well....if u can tel us about it.

  • @aryanaboyaryayeenezhad7295
    @aryanaboyaryayeenezhad7295 4 ปีที่แล้ว

    Mr. Naveen method number 3 and 4 should be switched cause url should be executed before login.
    but other than that, outstanding job sir.

  • @rutujaadhav2916
    @rutujaadhav2916 18 วันที่ผ่านมา

    Test methods will be executed Randomly or in alphabetical order?

  • @nandiniaaruja6135
    @nandiniaaruja6135 7 ปีที่แล้ว +4

    Well explained! Can you please make a video for cucumber framework too?

    • @naveenautomationlabs
      @naveenautomationlabs  7 ปีที่แล้ว

      Thanks Nandini. yes working upon it. meanwhile u can check one of the videos on Cucumber, here u go: th-cam.com/video/3QDYrUx78Cw/w-d-xo.html

  • @tomaspyth7017
    @tomaspyth7017 5 ปีที่แล้ว +4

    Hallo naveem,
    Please consider in upcoming Tutorials may be to increase the font in order to make it readable especially for small devices like smartphones...
    As orientation how that would look s like i would suggest the mosh hamedani Canal
    Nevertheless, thanks a lot for sharing your knowledge with us

  • @sulagnachakraborty9570
    @sulagnachakraborty9570 5 ปีที่แล้ว +1

    Hi Naveen,i love your tutorials.They have helped me a ton to learn,But now i want to implement my knowledge.Let me know some demo sites.Please.Waiting for your reply.

    • @sarojjha9243
      @sarojjha9243 5 ปีที่แล้ว

      classic.crmpro.com/index.html

  • @Star-vg7ix
    @Star-vg7ix 2 ปีที่แล้ว

    Please try zooming in on your screen for next time. Good topic coverage.

  • @prikshitverma3885
    @prikshitverma3885 3 ปีที่แล้ว

    Hey Naveen! Did you take online classes to teach selenium and these tools?

  • @tanmoypaul2513
    @tanmoypaul2513 2 ปีที่แล้ว +1

    @Naveen you just beauty

  • @poornachanderb3836
    @poornachanderb3836 7 ปีที่แล้ว +3

    Naveen Can You please make a video on Data Base required for selenium.

  • @soumyamb6359
    @soumyamb6359 4 ปีที่แล้ว +1

    hi naveen, lemme know when ua going to start new batch

    • @naveenautomationlabs
      @naveenautomationlabs  4 ปีที่แล้ว

      Hi Soumya, starting from Dec 17th. naveenautomationlabs.com/selenium-training/?fbclid=IwAR3lQE1UCcWQUJDlcwGGqnoAzYWdUFA71xFcjhgT8EEUf_RG8f2z5aV6Mgg

  • @PradeepChauhan17
    @PradeepChauhan17 6 ปีที่แล้ว +1

    good clear explanation. thanks naveen. but one thing: how is enterURL method after login method?

  • @ananyaaniketkulkarni6461
    @ananyaaniketkulkarni6461 7 หลายเดือนก่อน

    @naveenautomationlabs can you upload video that inform about hibernate with TestNG

  • @arnabsaha6684
    @arnabsaha6684 5 ปีที่แล้ว +1

    Hi, Naveen why don`t you use "import org.testng.annotations.*;" insted of adding annotation one by one

  • @nabilelassaad6086
    @nabilelassaad6086 5 ปีที่แล้ว +1

    Sir , Do u have any hard copy for ur tutorials ?

  • @sulagnachakraborty9570
    @sulagnachakraborty9570 5 ปีที่แล้ว +1

    hi naveen,we need a video on Listeners

  • @TheSelfbelief1
    @TheSelfbelief1 6 ปีที่แล้ว

    Greetings Naveen. Do you take any online classes on selenium

  • @amitaggarwal576
    @amitaggarwal576 3 ปีที่แล้ว

    But there is a doubt in my program one test is depend on previous. so i used depend tag in front of @test.. but i dont want to launch the browser for this method. means i want to run previous method then my dependent method in the same window. plz help what to do in this situation.

  • @purnachandrapatra2552
    @purnachandrapatra2552 7 ปีที่แล้ว +2

    Sir..nice explanation.i have a doubt.Wheather test case methods are run randomly or alphabetically order?

    • @naveenautomationlabs
      @naveenautomationlabs  7 ปีที่แล้ว +1

      If we don’t mention any priority, testng will execute the @Test methods based on alphabetical order of their method names irrespective of their place of implementation in the code.

    • @purnachandrapatra2552
      @purnachandrapatra2552 7 ปีที่แล้ว +1

      yeah...if i am not wrong in the video its told that it will execute randomly..so i got confused

    • @naveenautomationlabs
      @naveenautomationlabs  7 ปีที่แล้ว +4

      yes, please correct the concept. its not randomly, but it will based on Alphabetical order only. Thanks for highlighting this :)

  • @livelive6257
    @livelive6257 7 ปีที่แล้ว +1

    Thanks for the d video sir :)