Welcome to the Question and Answer site for Software Testing Professionals

You can get your queries resolved from Software Testing Professionals.

Ask a Question

Get answers and give answers to questions from other members.

View All Questions

Get votes and earn points to build your reputation in community.

View Hot Questions

What blends better Selenium-TestNG or Selenium-JUnit

Solved 1 Answers 22 Views
0 1
What blends better Selenium-TestNG or Selenium-JUnit?

1 Answer

Best answer

Selenium with TestNG blends much better.

As TestNG provides flexibility to do

  • Parallel execution
  • Parameterized execution
  • Choosing your tests to be executed through the XML file. i.e. define your test suite via XML file.

Above cannot be done via JUnit. Those features were missing on JUnit at first place. That's why TestNG came into the picture at first place.

So, TestNG with Selenium is the much better choice.

You can check out detailed answers here


answered Dec 8, 2017 by mayur (733 points)
selected Dec 14, 2017 by mayur

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

We have resolved 1.2k+ Software Testing queries!

Software Testing Board Weekly update

We will send you handpicked questions that you would love to answer.

View previous campaigns.

Top Contributors