look at the testcases in the source. Many 'examples' there on how to create them programatically View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166625#4166625 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166625