What is TestNG? Why do we need TestNG in Selenium?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

Software professional with 17+ vast experience in different technologies and trainings

TestNG makes automated tests more structured, readable, maintainable, and user-friendly. It provides powerful features and reporting. Its high-end annotations like dataprovider, make it easier to scale up, as you perform cross browser testing across multiple devices, browsers, and their versions.
read more
TestNGmakes automated tests more structured, readable, maintainable, and user-friendly. It provides powerful features and reporting. Its high-end annotations like dataprovider, make it easier to scale up, as you perform cross browser testing across multiple devices, browsers, and their versions. read less
Comments

Wroking in IT industry from last 15 years and and trained more than 5000+ Students. Conact ME

TestNG is an open-source testing framework for Java that is widely used in the software industry for testing Java-based applications. TestNG stands for Test Next Generation, which means it provides an advanced and better version of JUnit, another popular testing framework. TestNG offers a wide range...
read more
TestNG is an open-source testing framework for Java that is widely used in the software industry for testing Java-based applications. TestNG stands for Test Next Generation, which means it provides an advanced and better version of JUnit, another popular testing framework. TestNG offers a wide range of features such as annotations, grouping, sequencing, parallel execution, reporting, and more, which makes it more powerful and flexible compared to other testing frameworks. With TestNG, testers can easily manage and execute tests, generate reports, and perform data-driven testing, among other functionalities. When it comes to Selenium, TestNG is particularly useful because it provides integration with Selenium WebDriver, which allows testers to automate web application testing more effectively. TestNG can help testers to organize their Selenium test scripts, execute them in a specific order, run tests in parallel, and generate reports to analyze test results. TestNG provides various annotations such as @BeforeTest, @AfterTest, @BeforeSuite, @AfterSuite, and more, which can be used to perform pre-test and post-test activities, set up the environment, and tear down the environment. It also provides various assertions to validate test results and allows testers to configure test runs with different parameters. Overall, TestNG is a powerful and flexible testing framework that makes testing Java-based applications, including Selenium test scripts, more efficient and manageable. Regards, Vivek Joglekar read less
Comments

Related Questions

What is the best way to learn selenium testing? N start career in automation testing?
For learning Selenium testing , Prepare for Core Java later learn Selenium WebDriver.
Deepak

Can I learn selenium without manual testing knowledge?

The mentor will guide you the basics of Manual Testing ...You can able to learn.
Krishna

Can I learn selenium without knowladge programing language

The mentor will guide you the java basics wrt selenium automation. You can able to learn. Gayatri
Ch
Hi, We provide online instructor-led training. I am looking for Java Teacher/Instructor who can teach java via online. If anyone interested then contact me. I have to start the class from tomorrow onwards.
Hi, If you haven't finalised yet, I am interested in being an instructor. I will be teaching the newest version of Java, Java 10. Experience - 3 yrs as Software Engineer, BTech CSE, teaching Java to school and college students since 3 yrs.
Ujjwal Rana
what is pop handling ?
using windowhandles() you can do popup handling with selenium webdriver
Vishal

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Selenium Webdriver training institute in pune
eKnowledge Infotech is a leading software training company from Pune managed by working IT professionals. The aim is to help people acquire advance skills and get job into niche skills. Find below complete...

What is Selenium?
In simple words, Selenium automates browsers. It is a robust set of tools that supports rapid development of test automation for web-based applications. Cool Features: Works on every system,...

doWhile example in Java
public class doWhilePracticleEx { public void test() { } public static void main(String args) { String q1 = "Who is PM of India?"; String a1 = "Sonia Gandhi"; String a2 = "Rahul Gandhi"; String a3...
S

Sarthak C.

0 0
0

How to write CSS in Selenium web driver
https://www.youtube.com/watch?v=bnErD3x4XlYhttps://www.youtube.com/watch?v=bnErD3x4XlY
B

Bhanu P.

0 0
0

How Motivation Affects Learning and Behavior
Motivation directs behavior toward particular goals. Motivation leads to increased effort and energy. Motivation increases the amount of effort and energy that learners expend in activities directly...

Recommended Articles

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Looking for Selenium Training?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you