TestNG Interview Questions and Answers || TestNG Framework Interview Questions

Sdílet
Vložit
  • čas přidán 17. 06. 2024
  • TestNG Framework Interview Questions and Answers:
    Learn:
    How to crack TestNG questions
    Best way to give TestNG explanation at the time of Interview
    ======================================================
    What is TestNG?
    TestNG is a Testing framework that overcomes the limitations of another popular testing framework called JUnit. The "NG" means "Next Generation." Most Selenium users use this more than Junit because of its advantages. There are so many features of TestNG, but we will only focus on the most important ones that we can use in Selenium.
    ======================================================
    There are three major advantages of TestNG over JUnit:
    Annotations are easier to understand
    Test cases can be grouped more easily
    Parallel testing is possible
    ======================================================
    Selenium Interview Questions Series:
    • Selenium Interview Que...
    ======================================================
    Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
    czcams.com/users/Naveen%20Au...
    Follow me on my Facebook Page:
    / naveenqtpexpert
    Let's join our Automation community for some amazing knowledge sharing and group discussion:
    t.me/joinchat/COJqZQ4enmEt4JA...
    ~-~~-~~~-~~-~
    Follow my Site/Blog: www.naveenautomationlabs.com
    ========================================================
    Please watch: "Selenium & Automation Interview Preparation - By Naveen AutomationLabs"
    • Selenium & Automation ...
    ~-~~-~~~-~~-~ Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
    czcams.com/users/Naveen%20Au...
    Follow me on my Facebook Page:
    / naveenqtpexpert
    Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
    t.me/joinchat/COJqZUPB02r5sB7...
    Paid courses (Recorded) videos:
    Java & Selenium Course: www.naveenautomationlabs.com/p...
    API Course: www.naveenautomationlabs.com/p... ➡️Get Our Courses✔️
    📗 Get My Paid Courses at
    Paid courses (Recorded) videos:
    Java & Selenium Course: www.naveenautomationlabs.com/p...
    API Course: www.naveenautomationlabs.com/p...
    -------------------------------
    ✔️SOCIAL NETWORKS
    Facebook: / naveenqtpexpert
    Twitter: / naveenkhunteta
    Blog: www.naveenautomationlabs.com
    --------------------------------
    Support My Channel✔️Or Buy Me A Coffee
    Paypal: paypal.me/naveenkhunteta
    Google Pay: naveenanimation20@gmail.com
    --------------------------------
    ✔️Thanks for watching!
    देखने के लिए धन्यवाद
    Благодаря за гледането
    感谢您观看
    Merci d'avoir regardé
    Grazie per la visione
    Gracias por ver
    شكرا للمشاهدة
  • Věda a technologie

Komentáře • 218

  • @RandomVideo721
    @RandomVideo721 Před 5 lety +96

    Boss, I got Job followed by your Guidance... Thank You so much again :)

  • @pareshkatariya5749
    @pareshkatariya5749 Před 2 lety +21

    Hi Naveen, You have been taken so much efforts in terms of creating all these beautiful videos for us. It means a lot for us. So many testers are and also freshers are watching these videos now a days that you have created 3 years ago. You are helping lots of people enthusiastically. Simply "Sirji tusi great ho ToFA kabul karo" ........lots of love from PUNE MH

  • @RajKumar-yc1qx
    @RajKumar-yc1qx Před 2 lety +5

    Naveen, thanks for creating a wonderful session for us to clear the interviews related to Automation. Much help & appreciated. 👍

  • @aadithyaks
    @aadithyaks Před 6 lety +2

    Focused and quick way to learn testng framework. Great efforts here Naveen...! Thanks!

  • @johnyk2020
    @johnyk2020 Před 6 lety +5

    Very helpful interview question and answers . I salute you keep up the good work!

  • @erikachakraborty8313
    @erikachakraborty8313 Před 3 lety +27

    Whenever I have to brush up my testing knowledge or refer some interview questions, I land to your playlists. Thanks Naveen for your hardwork. This really helps.

  • @bhagyas2783
    @bhagyas2783 Před 6 lety +5

    Well done!!Nice explanation appreciate your hard work in creating these videos...

  • @vasaviselenium8748
    @vasaviselenium8748 Před 6 lety +1

    Nicely Explained .Thank you for sharing this video.

  • @bjohnrajesh
    @bjohnrajesh Před 4 lety

    Thank u Naveen.You are doing good to the society. I appreciate your efforts n telling about u in my village..soon we can meet you in one event from Andhra pradesh

  • @sachintatkare.9362
    @sachintatkare.9362 Před 6 lety +1

    Hi naveen , you really done excellent work for us....Thank you very much.....

  • @pallavikolekar31
    @pallavikolekar31 Před 5 lety +1

    Very Good Explanation Naveen !!.. Yours Video really help us understand basic of automation !!.. Please keep Posting such amazing video.

  • @sandeepnewalkar4150
    @sandeepnewalkar4150 Před 2 lety +1

    You Mukesh Otwani and Raghav are the superstar of Automation testing
    Keep it Up!

  • @feruzajonzokova1058
    @feruzajonzokova1058 Před rokem

    Thank you Naveen for all bull points of TestNG, it helps to refresh the knowledge before taking an interview. Really helpful video.

  • @sreelathatharigonda8306
    @sreelathatharigonda8306 Před 5 lety +1

    Hi Naveen, thanks for explaining TestNG in details. Please the list of Questions and answers with us.

  • @mohammedsorowarjahan490
    @mohammedsorowarjahan490 Před 6 lety +3

    Thank you so much for this TestNG Video. Can you please share this interview question Doc with us?

  • @mudaseer21
    @mudaseer21 Před 5 lety +2

    nice keep uploading and also upload a short video on how to explain framework in interview (15 -20 minutes video)

  • @sharatchandra2045
    @sharatchandra2045 Před 5 lety

    Very nice videos. Thanks Naveen

  • @harmanmaan870
    @harmanmaan870 Před 5 lety

    Thannks , it was very helpful

  • @trishalagarwal
    @trishalagarwal Před 4 lety +4

    Hi Naveen,
    Content was crisp and clear, but in the video you mentioned twice that TestNg is used for parallel execution and you will create a video for the same. Can you please make a video of parallel execution and help the testing community!

  • @rlvpraveen4104
    @rlvpraveen4104 Před 2 lety +1

    Very Good Explanation Sir.

  • @martharaju7645
    @martharaju7645 Před 2 lety

    I got job followeed by yours videos ... thankyou so much navven

  • @anilkumartalari2191
    @anilkumartalari2191 Před rokem

    Thank you so much....really helpful.

  • @sandeepnewalkar4150
    @sandeepnewalkar4150 Před 2 lety

    You are a gem
    God bless you!

  • @sureshgarine
    @sureshgarine Před 3 lety +3

    Thank you so much Naveen. I don't think anywhere in the world get this detailed interview questions. Many of them i ask usually candidates in interview. We use groups concept for all our releases, it's one of the most used feature for our prod releases. Listeners also one more important concept we heavily use.
    heavily used in TestNG with Java
    Groups
    Parallelization
    Listeners
    Data Providers
    Parameters
    Annotations

  • @Vinodmhetre007
    @Vinodmhetre007 Před 3 lety

    You are the best on youtube.

  • @bhupendrakushwaha8466
    @bhupendrakushwaha8466 Před 4 lety

    Hi sir
    Thanks a ton nicely explanatio

  • @NeetasDishes
    @NeetasDishes Před 3 lety +1

    Very helpful!

  • @renuroy2253
    @renuroy2253 Před 3 lety +1

    Very useful video..

  • @dailyvlogsasmitalifestyle490

    Hi Naveen,
    Its really awesome automation videos.
    Can you please let me know how to execute the even test cases using testng?

  • @manvirsinghparmar
    @manvirsinghparmar Před 4 lety +1

    Hi Naveen...awesome video Bro....

  • @vinoddhale2428
    @vinoddhale2428 Před rokem +2

    Thanks sir nice explain 😊🙏

  • @SunriseTango
    @SunriseTango Před 5 lety +4

    My interview is tomorrow, this video is amazingly helpful :)

  • @puneethchidura3713
    @puneethchidura3713 Před 3 lety +1

    Hi Naveen,
    Thanks for the awesome video. It was really helpful.
    Can u please share the document shown in the video.
    Thanks.

  • @WhiteKnight_OG
    @WhiteKnight_OG Před 4 měsíci

    Thats perfect Naveen sir

  • @jajatikesharisahoo8628

    awesome explanation............

  • @kunalukande9535
    @kunalukande9535 Před 5 lety +5

    Hello naveen, your videos are really very helpful, thank you so much for sharing bundles of knowledge.
    #Request
    Please make video on cucumber interview questions and answers.
    Pls pls pls...

  • @life_isawesome
    @life_isawesome Před 3 lety +1

    Hi Naveen....Thanks a lot for making this video. This is really helpful.
    Can you please share this word document??

  • @suprabathj7843
    @suprabathj7843 Před 3 lety +1

    Nice one 👍

  • @manjulabandaru4817
    @manjulabandaru4817 Před 6 lety +3

    Hi Naveen, Could you please clarify.
    Highlevel:
    I have one @Test method A with assert statements and assertAll() at the end.
    Inside this method A, I'm calling another method B having assert statements and assertAll() at the end.
    Current Issue:
    If any assert statement fails in the called method B, I can see assertion errors in the console, which is good.
    But the remaining statements in the calling method A are not getting executed.
    Example...
    public class class1
    {
    @Test
    public void test1() throws Exception
    {
    class2 obj = new class2();
    SoftAssert sassert = new SoftAssert();
    sassert.assertNotNull("123", "Failed, It is null");
    obj.test2();
    sassert.assertNotNull("3456", "Failed, It is null");
    sassert.assertAll();
    }
    }
    public class class2
    {
    public void test2() throws Exception
    {
    SoftAssert sassert = new SoftAssert();
    sassert.assertNotNull("111", "Failed, It is null");
    sassert.assertNotNull("222", "Failed, It is null");
    sassert.assertAll();
    }
    }

  • @testautomationforumtaf2100

    Good one. Thanks

  • @theentertainmentetc64
    @theentertainmentetc64 Před 2 lety +4

    Hi Naveen , we need to push TestNG XML reports to XRAY (test management tool in jira)... Any inputs on pushing the report using shell script in jenkins pipeline

  • @sabrinsabrin566
    @sabrinsabrin566 Před 6 lety +1

    You make it very clear

  • @Emfar
    @Emfar Před 5 lety

    Buddy ur supper helpful. can share the document of the testNG plz. will really be appreciative.v Thanks

  • @letmehink166
    @letmehink166 Před 2 lety +1

    do you have a video on parallel execution in TestNG? Didn't find any while I went through the testng playlist

  • @Tvs615
    @Tvs615 Před 3 lety +1

    thanks naveen awesome videos can you please create Interview Questions on java ,TesNG and Cucumber2020 please it will be helpful for us who started recently like me.Thank you so much

  • @Sharmams4
    @Sharmams4 Před 7 měsíci +1

    Great video! Thanks for explaining the different levels in interview & for explaining all 30 questions and answers so well. Loved the video entirely.

  • @napasdimportance5138
    @napasdimportance5138 Před 5 lety +2

    Thank you , your videos are amazing

  • @gsujiiable
    @gsujiiable Před 6 lety +1

    Hi Naveen, Kindly share the challenges faced and TestNG interview questions document.

  • @fathimasifa5844
    @fathimasifa5844 Před 4 lety +1

    Hi Naveen, Very good explanation .. Thank you so much. Btw is there a way to download the TestNg interview questions ?

  • @artimandale8286
    @artimandale8286 Před rokem

    Awesome video on testNG ..thanks a lot, Naveen

  • @sindhusudhakaran1731
    @sindhusudhakaran1731 Před 3 lety

    Thank you Naveen

  • @karthikkm2872
    @karthikkm2872 Před 2 lety

    super
    super thank you sir.

  • @capegoogle5986
    @capegoogle5986 Před 6 lety

    Very useful

  • @user-em6nb4ic1k
    @user-em6nb4ic1k Před 6 lety +1

    Its an Awesome video

  • @travelwithvaanu
    @travelwithvaanu Před 6 lety +1

    Hi Naveen, Could you please add Document link in description.

  • @joywithjesh4759
    @joywithjesh4759 Před 2 lety

    It is very useful

  • @vn9389
    @vn9389 Před 2 lety

    Thanks.

  • @chandanghosh7043
    @chandanghosh7043 Před 6 lety +9

    hello naveen,
    Need tutorial on rest api testing and automating it with rest assured or httpclient

  • @bebiyadav3234
    @bebiyadav3234 Před 4 lety +1

    Please share the pdf format for this. This video is very helpful. Thanks

  • @GajananChoundhe86
    @GajananChoundhe86 Před 4 lety

    Hi Naveen,
    How to use SoftAssertion with data provider test method?

  • @chitrabedis8520
    @chitrabedis8520 Před 2 lety

    Hi its too good but only font very small.... please zoom all videos and clearity want

  • @ashrafbaig6167
    @ashrafbaig6167 Před 4 lety +2

    Hi Naveen, can you please share the TestNG interview document.

  • @alokranjan6831
    @alokranjan6831 Před 3 lety +1

    Sir can we do functional testing in automation testing??

  • @jaswinderkaur-rx6go
    @jaswinderkaur-rx6go Před rokem +3

    Hey Naveen,
    Can you please share the PDF file for this set of questions, it will be a great help.

  • @ravinadhb9219
    @ravinadhb9219 Před 3 lety

    Good Video

  • @rahulvithlani9710
    @rahulvithlani9710 Před 3 lety +1

    Hey Naveen, thank you for this video. Can you please provide PDF/Word file of this?

  • @sushmanthkumar470
    @sushmanthkumar470 Před 3 lety +1

    Instead of by using include/exclude..can we make enable = true/false.. By ignoring the include one....?

  • @rohanchristopher2265
    @rohanchristopher2265 Před 4 lety +1

    Hi Naveen, it would be a great pleasure if you explain how we change the code if number of columns (text box field in the UI to feed data multiple times) increases, example 25 columns in excel sheet.

    • @spidyniks
      @spidyniks Před 2 lety

      You need to go for hashmap if no of columns increase

  • @rajeshverma6145
    @rajeshverma6145 Před 5 lety +1

    Hi Naveen, thanks for this valuable knowledge.
    Can u tell me how can I run only failed test cases.
    Hope you will find a moment to help me.
    Thanks.
    Rajesh

    • @offgrid5094
      @offgrid5094 Před 4 lety

      in the test annotation, you can enable=false to ignore all other tests or virtually use dependsonmethod = method name, in test method. Are you asking to exclude the tests-methods in xml file? Check out minute 32 at TestNG Interview Questions and Answers || TestNG Framework Interview Questions video.

  • @maheshgadekar4890
    @maheshgadekar4890 Před 3 lety

    Hi naveen , very helpful video. can u plz share document .

  • @RekhaMCA
    @RekhaMCA Před 4 lety +2

    Hi Naveen, can you please share the document.

  • @pandudamera158
    @pandudamera158 Před 6 lety +1

    I am using ff56 version when I clicked firepath option HTML code is not showing window could pls help me

  • @navnith94
    @navnith94 Před 6 lety

    Hi Naveen.. Can you please share the document of TestNG interview question .....

  • @santhoshimajji2879
    @santhoshimajji2879 Před 2 lety

    Hi Naveen. What if we have 3 test cases of same priority, then how do we approach

  • @incrediblevc4575
    @incrediblevc4575 Před 6 lety +1

    Hay, Hi Naveen, What is the difference b/w soft assertion and verify?, both job are same only?, but why they given different names? and, what and when use the assert soft and verify?

  • @ramupanjala5237
    @ramupanjala5237 Před 6 lety +1

    hi naveen , helps a lot in interview, but facing difficult in answering open questions , like any achievements , any sujjestion given to lead , implemented any of u r ideas? Can you pls help in this , how to answer as automation tester rather than manual ...

  • @tofael483
    @tofael483 Před 5 lety

    what is GitHub info for this video, like I can see sometimes "morning session". Would someone please reply?

  • @diegojuarez8019
    @diegojuarez8019 Před 4 lety

    Do you sell any courses? I would love to buy a course.

  • @jayassssssssssss
    @jayassssssssssss Před 6 lety

    Hello Naveen Sir, Please do the document

  • @amazon3al842
    @amazon3al842 Před 3 lety

    Hi Naveen , Can you please share the interview questions document from the video.

  • @rathnavenkatesh
    @rathnavenkatesh Před 4 lety +1

    Hi Naveen. In testNG after @test if both priority and dependsOnMethods contradicts. Which will take into consideration first?

    • @muralimanohar2130
      @muralimanohar2130 Před 11 měsíci

      When both attributes are provided, TestNG first checks the dependsOnMethods attribute to determine the execution order based on the dependencies between the test methods. It ensures that the methods listed in dependsOnMethods are executed before the current test method. After resolving the dependencies, TestNG then considers the priority attribute to determine the execution order among the methods with the same dependency.

  • @prakashpandey2292
    @prakashpandey2292 Před 6 lety

    Naveen sir, can yu share this TestNG interview questions to me

  • @nikitakothari6688
    @nikitakothari6688 Před 6 lety +1

    Hi Naveen, You are just awesome. Can you please share this doc..??

    • @naveenautomationlabs
      @naveenautomationlabs  Před 6 lety

      Thanks Nikita.. Here is the document: www.naveenautomationlabs.com/2017/11/testng-interview-questions.html

    • @100kahaaniya7
      @100kahaaniya7 Před 5 lety

      Nikita Kothari.

    • @vishalhedaoo1010
      @vishalhedaoo1010 Před 3 lety +1

      @@naveenautomationlabs Thanks for making this video.
      This document is not available, getting an 404 error.
      Plz share it again

  • @piyushrote6823
    @piyushrote6823 Před 2 lety

    Hello sir
    Mai abhi automation testing kr raha hu. Sir kya aap bata sakte ho ki fresher ke liye automation testing me question kaunse important hai aur automation me java kitana aana chahiye

  • @nishaahlawat9677
    @nishaahlawat9677 Před rokem

    Hi Naveen, Have you shared this word doc file at your Git Hub account ?

  • @MR-uw5zk
    @MR-uw5zk Před 4 lety

    Hi Naveen, can you please share the doc?

  • @real_hello_kitty
    @real_hello_kitty Před 4 lety

    👍

  • @TechnicalGuru-dg3fw
    @TechnicalGuru-dg3fw Před 6 lety +1

    @Naveen Sir, Wht are the Termology used in Organisations/Company for Software Testing... Like Sprint, Scrum, Which Server used for Testing. Who I'll decide Saverity/Priority .
    Please make a video for such type of things.
    Thanks

  • @dksgamer4639
    @dksgamer4639 Před 4 lety +1

    Hey Naveen,
    Can you please share the PDF file for this, it will be a great help.

  • @shubhamwasule9139
    @shubhamwasule9139 Před rokem +1

    If the page is zoom it will be great..

  • @yonatan0910
    @yonatan0910 Před 4 lety

    hey naveen, do you have a pdf for this

  • @pritamkumarroutray8925
    @pritamkumarroutray8925 Před 6 lety +1

    please add this document in the google drive

  • @shivangichandra5362
    @shivangichandra5362 Před 3 lety

    Please share the document enclosing interview questions and answers

  • @poojithatirupathi4134
    @poojithatirupathi4134 Před 5 lety +1

    Can't we download this as a hard copy?

  • @urvashijain9662
    @urvashijain9662 Před 3 lety

    hi naveen testng vedio is amazing. could you please share the doc file for it

  • @sahjibrashid448
    @sahjibrashid448 Před 2 lety

    thank you naveen for 6 months

  • @parsapersian80
    @parsapersian80 Před 3 lety

    is there a place to get this word document?
    Thank you

  • @user-nh4ww9vt8o
    @user-nh4ww9vt8o Před 9 měsíci

    Hi Naveen, Interviewer asked me that which type of framework you are using, and my answer was that I am using TestNG Framework with maven project, but he said that TestNG is not a framework. then what will be answer to this question?

  • @VamsiKrishna-vi6mn
    @VamsiKrishna-vi6mn Před 3 lety

    Naveen, please provide a pdf for this video. It would help a lot.

  • @dhamodharanthirunavukkarasu

    Please add that doc..