UrbanPro

Learn Software Testing from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What are the benefits of combining TestNG and selenium?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Azure IoT, Agile Coach , JIRA, QA, PowerBI , Business Analyst, Software Testing, Dremio trainer

TestNG is framework and you can execute selenium tests on a scheduled basis, required test cases, parallel execution etc..
Comments

Adobe Certified , Microsoft Certified Trainer with 9 years of experience

The TestNG is one of the most important component when you are actually starting and developing the framework from scratch level. Because you can have the control on all of your test cases and their execution with the help of TestNG. So when I say you can have the control on your test cases there's...
read more

The TestNG is one of the most important component when you are actually starting and developing the framework from scratch level. Because you can have the control on all of your test cases and their execution with the help of TestNG.

So when I say you can have the control on your test cases there's a lot, so what all the important features we have in dealing and controlling test cases. I can give you some high level examples.

Suppose, if you want to run a test case "A", before that a prerequisite, you need to run some multiple test cases before you begin the test case "A". Now you can set and map the test cases in accordance to the requirement with the help of TestNG. In such a manner those prerequisite Test Cases will run first and only then it will trigger the test case "A", in that way you can control your test cases.

Now for example you have some 500 test cases and your client ask you to run only 40 test cases which are identified as smoke, now with one single click only the required 40 Test cases can be picked, out of those 500 and will be triggered and you will get needed results.

So like that you can control your whole test cases and how they have to run and what are their prerequisite / post-requisite and their execution categories so you can basically group them.

There are a lot you can do with the help of the TestNG in your framework.

You can also do parameterisation like you can run one test with multiple set of data with simple line by adding TestNG annotation. And you can also drive the data from external source(s). So there’s a alot one can accomplish with TestNG like-wise:

It gives the ability to produce HTML Reports of execution
Annotations made testers life easy
Test cases can be Grouped & Prioritized more easily
Parallel testing is possible
Generates Logs
Data Parameterisation is possible
It's also one of the main building component when you are dealing with frameworks.

read less
Comments

Related Questions

I want to join an IT academy which can provide me 100% guaranteed job. Can you suggest some?
Hi Anuja, There is nothing or no one in the world who can guarantee you a job except your own hard work and will to succeed in life. A good tutor can guide you in the right direction and provide assistance...
Anuja
I want to know mobile application testing training institutes in Bangalore.
I can train on mobile apps testing both android and ios .
Nithwesh
Is it necessary to know automation Testing always?
Automation Testing is basically done to save time and money and thereby increasing the credibility of the project. Manual Testing is equally important as Automation, however it has limited scope and when...
Test
Hello, Dear Sir/Madam, I am an MCA 2014 passed out candidate, I am eagerly searching for a job, but is facing certain problems, can you please tell me if you provide training as well as placement coordination or experience letter along??
Hi Kavaya, First find your skill area I know it is difficult to find let me give u a hint. If ur good in Designing then go for Web Designer (PHP, HTML). If ur good in programming then (C,C++, Java, C#...
Kavya
I want to post my availability to work as a freelancer for doing Software development or testing related work, or even technical content writing. How can I place myself on UrbanPro?
Hi Nilambari, Please contact us for more details. We will suggest you to find more opportunities on this. Regards, paradhu, Infowink Technologies.
Nilambari
1 0
7

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

Ask a Question

Related Lessons

Software Testing Life Cycle
Software testing life cycle identifies what test activities to carry out and when (what is the best time) to accomplish those test activities. Even though testing differs between organizations, there is...

Effective Test Automation by Example - Video lesson
Test automation needs lot of Porcess planning, designing and implementation. Once these are defined then one can identify the right tool for the application and also to the level of organzational...

Priority vs Severity
Priority and severity level of defects needed to be defined as the development team cannot resolve all defects simultaneously. The test team needs to indicate how soon they want to get the defect fixed,...

Puzzle: A black man dressed all in black, wearing a black mask, stands at a crossroads in a totally black-painted to..........
Puzzle: A black man dressed all in black, wearing a black mask, stands at a crossroads in a totally black-painted town. All of the streetlights in town are broken. There is no moon. A black-painted car...

TestNG Annotations and its sequence
public class TestNGAnnotations { @BeforeMethod public void beforeM() { System.out.println("Before Method"); } @AfterMethod public void afterMethod() { System.out.println("After Method"); } @BeforeClass...
S

Sarthak C.

0 0
0

Recommended Articles

A lot of students who look forward to build a career in IT are keen to know if Software Testing could be stepping stone for them. Software testing is processes by means quality of the software is tested and improved. It is primarily done to figure out the differences between expected output and the actual output in software...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for Software Testing classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Software Testing Classes?

The best tutors for Software Testing Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Software Testing with the Best Tutors

The best Tutors for Software Testing Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more