This content has been marked as final. Show 2 replies
You don't use RichFacesClient any more.
Start out using the new jsfsession package like this:
import org.jboss.jsfunit.jsfsession.*; JSFSession jsfSession = new JSFSession("/index.jsf"); JSFClientSession client = jsfSession.getJSFClientSession(); JSFServerSession server = jsfSession.getJSFServerSession();
Wow. That almost seems TOO easy.
I'm coverting a bunch of tests to the new version - I'll let you know how it goes.