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

Hi All, Which combination is good? 1) Selenium with Java 2) Selenium with Python Thank you.
If you're new to coding, I do prefer Python as more like to a descriptive language. But you'll notice less selenium support in web while compared to Java. Java has a broad support base. But Selenium with...
Profile Photo
B
To start learning Selenium, how well do I have to know or be familiar with Java?
Hi Uday, You need to have good knowledge on how to basic code in Corr Java and then you can easily learn as the time passes.
Profile Photo
Uday
0 0
View Comments6
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.
Profile Photo
Deepak
What is the cost of ISTQB Test? What is the procedure to apply for it? I am a graduate in B.Sc. Can this ISTQB test help me in finding a IT job?
Hi Jagadeesh, Getting a job in Testing needs good conceptual knowledge in Software Engineering, Testing, Test Methodologies and types, Test Reporting and Metrics. ISTQB will have questions more related...
Profile Photo
Jagadeesh
Is Selenium in automation a good career?
Yes, it is an awesome career option and it will add value too. I saw people from Manual Testing upgraded themselves to Selenium. If you want to make career in Automation Testing field, then Selenium is...
Profile Photo
Vijayaadithya
0 0
View Comments8

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

Ask a Question

Related Lessons

Why JAVA is Platform Independent?
Java is platform independent language because Java has a JVM {Java Virtual Machine} which converts a java code into a byte code which can run on any OS. That means, JVM is working as a sub-platform to...
Profile Photo

Defect Management
Defect Management Terms: Application Life Cycle (ALM) Development Phase Testing Phase Production Phase ------------------------------------------------------------------ Error ...
Profile Photo

Mobile APP Automation
Agenda of this artical is to come up with a solution to use only one test case and execute it on both android and iOS. Lets first focus on why we would need something like this. First Lets try to answer...
Profile Photo

Automated testing with the help of Behavior driven testing (BDT)
Behavior-driven development (BDD) is a popular and acknowledged Software testing methodology. Behavior driven testing (BDT) is not that popular, but is a companion of BDD. BDT can be used without BDD. BDD...
Profile Photo

Free selenium video tutorial
Hi All, Hope you are doing good. We uploaded few videos on Selenium components like IDE, RC and Webdriver on youtube channel you can watch them for free of cost. Kindly search with below link: ...
Profile Photo

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