I'm using Java and TestNG Framework here for Selenium RC. I'm visioning my framework to be like breaking the whole test in to small functionally meaningful reusable pieces. All these individual reusable functionality reside in one of the java methods and all these methods would be placed in a single main class. so that I can extend the main class in my test class and call the methods in the order I need it. Kindly provide me your feedback. If you follow a different approach kindly share with me.
Re: My framework
I recently integrated java mail and added the capability to send emails when script fails. The email send will contain the exception and the screenshots.