Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

What blends better Selenium-TestNG or Selenium-JUnit

Solved 1 Answers 39 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 by (872 points)
selected by

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.