TestNG Interview Questions and Answers || TestNG Framework Interview Questions
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
Boss, I got Job followed by your Guidance... Thank You so much again :)
S,
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
Naveen, thanks for creating a wonderful session for us to clear the interviews related to Automation. Much help & appreciated. 👍
Focused and quick way to learn testng framework. Great efforts here Naveen...! Thanks!
Very helpful interview question and answers . I salute you keep up the good work!
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.
Thanks Erika
@@naveenautomationlabs please share this word document
Well done!!Nice explanation appreciate your hard work in creating these videos...
Nicely Explained .Thank you for sharing this video.
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
Hi naveen , you really done excellent work for us....Thank you very much.....
Very Good Explanation Naveen !!.. Yours Video really help us understand basic of automation !!.. Please keep Posting such amazing video.
You Mukesh Otwani and Raghav are the superstar of Automation testing
Keep it Up!
Thank you Naveen for all bull points of TestNG, it helps to refresh the knowledge before taking an interview. Really helpful video.
Hi Naveen, thanks for explaining TestNG in details. Please the list of Questions and answers with us.
Thank you so much for this TestNG Video. Can you please share this interview question Doc with us?
nice keep uploading and also upload a short video on how to explain framework in interview (15 -20 minutes video)
Very nice videos. Thanks Naveen
Thannks , it was very helpful
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!
Very Good Explanation Sir.
I got job followeed by yours videos ... thankyou so much navven
Thank you so much....really helpful.
You are a gem
God bless you!
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
You are the best on youtube.
Hi sir
Thanks a ton nicely explanatio
Very helpful!
Very useful video..
Hi Naveen,
Its really awesome automation videos.
Can you please let me know how to execute the even test cases using testng?
Hi Naveen...awesome video Bro....
Thanks sir nice explain 😊🙏
My interview is tomorrow, this video is amazingly helpful :)
Sunrise5 how was your interview?
Hi Naveen,
Thanks for the awesome video. It was really helpful.
Can u please share the document shown in the video.
Thanks.
Thats perfect Naveen sir
awesome explanation............
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...
Hi Naveen....Thanks a lot for making this video. This is really helpful.
Can you please share this word document??
Nice one 👍
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();
}
}
Good one. Thanks
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
You make it very clear
Thanks for watching Sabrin!
Buddy ur supper helpful. can share the document of the testNG plz. will really be appreciative.v Thanks
do you have a video on parallel execution in TestNG? Didn't find any while I went through the testng playlist
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
Great video! Thanks for explaining the different levels in interview & for explaining all 30 questions and answers so well. Loved the video entirely.
Thank you , your videos are amazing
Hi Naveen, Kindly share the challenges faced and TestNG interview questions document.
Hi Naveen, Very good explanation .. Thank you so much. Btw is there a way to download the TestNg interview questions ?
Awesome video on testNG ..thanks a lot, Naveen
Glad you liked it!
Thank you Naveen
super
super thank you sir.
Very useful
Its an Awesome video
Thanks for watching! Keep Learning and Keep Sharing!
Hi Naveen, Could you please add Document link in description.
It is very useful
Thanks.
hello naveen,
Need tutorial on rest api testing and automating it with rest assured or httpclient
Please share the pdf format for this. This video is very helpful. Thanks
Hi Naveen,
How to use SoftAssertion with data provider test method?
Hi its too good but only font very small.... please zoom all videos and clearity want
Hi Naveen, can you please share the TestNG interview document.
Sir can we do functional testing in automation testing??
Hey Naveen,
Can you please share the PDF file for this set of questions, it will be a great help.
Good Video
Hey Naveen, thank you for this video. Can you please provide PDF/Word file of this?
Instead of by using include/exclude..can we make enable = true/false.. By ignoring the include one....?
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.
You need to go for hashmap if no of columns increase
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
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.
Hi naveen , very helpful video. can u plz share document .
Hi Naveen, can you please share the document.
I am using ff56 version when I clicked firepath option HTML code is not showing window could pls help me
Hi Naveen.. Can you please share the document of TestNG interview question .....
Hi Naveen. What if we have 3 test cases of same priority, then how do we approach
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?
Verify is not provided by TestNG
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 ...
sure!
what is GitHub info for this video, like I can see sometimes "morning session". Would someone please reply?
Do you sell any courses? I would love to buy a course.
Hello Naveen Sir, Please do the document
Hi Naveen , Can you please share the interview questions document from the video.
Hi Naveen. In testNG after @test if both priority and dependsOnMethods contradicts. Which will take into consideration first?
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.
Naveen sir, can yu share this TestNG interview questions to me
Hi Naveen, You are just awesome. Can you please share this doc..??
Thanks Nikita.. Here is the document: www.naveenautomationlabs.com/2017/11/testng-interview-questions.html
Nikita Kothari.
@@naveenautomationlabs Thanks for making this video.
This document is not available, getting an 404 error.
Plz share it again
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
Hi Naveen, Have you shared this word doc file at your Git Hub account ?
Hi Naveen, can you please share the doc?
👍
@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
Hey Naveen,
Can you please share the PDF file for this, it will be a great help.
If the page is zoom it will be great..
hey naveen, do you have a pdf for this
please add this document in the google drive
Please share the document enclosing interview questions and answers
Can't we download this as a hard copy?
hi naveen testng vedio is amazing. could you please share the doc file for it
thank you naveen for 6 months
is there a place to get this word document?
Thank you
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?
Naveen, please provide a pdf for this video. It would help a lot.
Please add that doc..