Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between JSFUnit and Selenium?

difference jsfunit selenium
0
10 Posted

What is the difference between JSFUnit and Selenium?

0
10

Selenium is purely for black box testing. That is, Selenium only gives you the client side view of things. Also, Selenium uses native browser code. That can be good or bad depending on your perspective. JSFUnit uses a pure java headless browser (HtmlUnit) that can emulate different versions of Firefox and IE. It has an API on top of HtmlUnit that understands JSF views. So the client API is a little easier to use than Selenium. JSFUnit is usually a better choice for developers because it allows you to do comprehensive white box testing as well as the black box testing that Selenium provides. You can use both JSFUnit and Selenium if you want. You can run them side-by-side as part of your test suite. But there is no formal integration.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.