Another application of FacesTester

  2 posts   Feedicon  
Replies: 1 - Last Post: May 28, 2009 13:56
by: Jason Lee
showing 1 - 2 of 2
 
Posted: May 24, 2009 10:37 by eddyd
Just an observation. It may not be very exciting, but anyway. FacesTester allows to create and easily maintain a website of static pages.

For every kind of static page there should be a facelet page and a backing bean - which provides from some DB the varying content.

tester.requestPage("/xxx.xhtml").getRenderedPage()

produces the final result.

And the templating can be used as well.

 
Posted: May 28, 2009 13:56 by Jason Lee
Wow. That's a very interesting use of the system. Kinda cool, really. I've "abused" other testing tools (HttpUnit, for example) to automate interactions for certain web sites. Smile
Replies: 1 - Last Post: May 28, 2009 13:56
by: Jason Lee
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close